Hey dilettante,
Thanks for the info. I actually copied that portion of the script from the Microsoft Scripting Center. No original code there, I just changed the file name (I even left the path the same!)
mrmovie,
Thanks for the advice, I knew it had to be something simple I was...
...Set objWMIService = GetObject _
("winmgmts:\\" & strComputer & "\root\cimv2")
Set colFiles = objWMIService.ExecQuery _
("SELECT * FROM CIM_DataFile WHERE Name = 'C:\\winnt\\system32\\wscript.exe'")
For Each objFile in colFiles
' =======================================================...
Has anyone been able to figure out a way to either update PC DOS to use NTLM v2 authentication or to tell GHOST to use a PE type environment for image deployment?
I heard from someone that there was a version of Ghost that used a PE like environment, but that he thought it was only available...
Sorry, the guy who usually writes this stuff quit. I am trying to piece together from the Internet, old scripts, etc.
Until I get a class or a book or something, I will have to ask for a lot of help. This was the best I could do given my limited experience.
Can you make it work better? I...
Thanks! I tried your code and I got the same thing that I got in my version. The first prompt (that I'll supress later) echoes 32 but then I get the "Not enabled" message box.
I added it right after the line "End Function"
Am I doing something wrong?
Hello All,
I have googled this, and it is driving me crazy!
I need to write a script that sets up the environmental variables on a machine. For instance:
Change the Temp directory to "C:\Temp", Append a few entries to the end of the "PATH" and delete 2 things from the "PATH."
Any help with...
...I now need to embed some logic in to it. I need for it to look at the results and make a decision based on what it finds. here is my script:
**************************************************************
Const HKEY_LOCAL_MACHINE = &H80000002
strComputer = "."
const REG_SZ = 1
const...
Whoo - Hooo! This worked perfectly! I thank you very much for your efforts. It worked on my machine, let me try it on a few test machines.
What's up with that posting at 0:56? And I thought I pulled late hours!
~Ed
JBorecky,
Thanks! Yes, I had to kill the script to see my machine again! There were many, many, popup boxes.
I made the change you suggested, however I still got the same error: Vaiableis undefined: 'strEntryName"
Then it came to me, I needed to add "Dim strEntryName" to the begining!
Now...
...strValue
If strValue = "00000038" Then
WScript.Echo ("Wake On LAN is Enabled") & " " & strKeyPath
WScript.Quit
Else
WScript.Echo ("Wake On LAN is ** NOT ** Enabled")
End If
-------------------------------------------------------------
I can't get it to work quite right yet, but the only...
Ok,
There are a few things in here that I would need to change.
What do I change this to?
Set enumPrinters = WScript.CreateObject("Scripting.Dictionary")
I belivie that I should change this:
Const HKEY_CURRENT_USER = &H80000001
strRootKey = "Printers\Connections"
to
const...
JBorecky,
Thanks for the script and the link. I actully used that page to create a script myself, but it didn't look quite the same as yours. However, the scripts (both mine and yours) do not return a value. The popup box says PnPCapabilites but there is nothing on the screen with it.
I...
Hello, I am trying to write a script that will find the value "PnPCapabilities" under
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class"
I have been able to find a script that finds what I am looking for, but I can't limit it to this specific path, it wants to search the entire...
no can do, I need a solution I can implement on the desktop. The GPO is set this way for a specific reason and we are unable to get around it.
Any other ideas?
I have a bit of a problem. We have a 2003 server with a few security applications running on them. We connect to the server using Remote Desktop When we connect to the server and initiate the program, sometimes we are timed out before it finishes. There is a GPO that limits connects to 30...
I use the techw0rm boot disks for direct serial connection. I am looking for this device because you can read the contents of a hard drive that won't boot up anymore. This also kept you from having to remove the drive. Anybody seen one of these?
About a 2 years ago I worked with this guy who had nify device that I would like to add to my toolkit. It was a PCMCIA card that you would slide in to the side of a laptop, then you could plug the other end in to your desktop machine. You were then able to see the HDD and recover data. Has...
The BIOS is already configured for Wake on LAN, but will not work if the settings in the above link are not configured at the desktop. When an a workstation is imaged, the network card is almost always redetected and WOL is then disabled. I use the netset utility in a syspreped image to...
DDK?
?Driver development kit?
Is so, maybe someone at Intel could help me. They are all Intel Proo 100 or Pro 1000 cards. The low level utility you referanced before, do you know if there is one from Intel?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.