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...
I have a script to check file versions, but I am havig problems with the loop. make a few edits to it and it will loop, but only to the first line of the text file. Then it runs untill I kill it, or I can make a few other changes and get an error that I used a loop without a DO command. I...
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 have a script that works fine as a standalone. 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...
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...
WOW! That produced more popup boxes than I knew what to do with. I was thinking something more along the lines of:
-------------------------------------------------------------
Option Explicit
Dim WSH
Dim strComputer
Dim objReg
Dim strKeyPath
Dim strValue
Const HKEY_LOCAL_MACHINE =...
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?
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.