Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Ednetman

  1. Ednetman

    Loop Issue

    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...
  2. Ednetman

    Loop Issue

    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...
  3. Ednetman

    LAN MAN authentication

    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...
  4. Ednetman

    Make a choice and display a prompt

    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...
  5. Ednetman

    Make a choice and display a prompt

    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?
  6. Ednetman

    Set Enviroemntal Variables

    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...
  7. Ednetman

    Make a choice and display a prompt

    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...
  8. Ednetman

    Help searching the registry

    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
  9. Ednetman

    Help searching the registry

    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...
  10. Ednetman

    Help searching the registry

    The value I am searching for is a DWORD, but I can't seem to make this script look for that type of value. Any ideas?
  11. Ednetman

    Help searching the registry

    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 =...
  12. Ednetman

    Help searching the registry

    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...
  13. Ednetman

    Help searching the registry

    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...
  14. Ednetman

    Help searching the registry

    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...
  15. Ednetman

    How to prevent Remote Desktop Timeout?

    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?

Part and Inventory Search

Back
Top