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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Jaws25

    How to: List members of the "Local Administrator Group

    Here is the script that I have been working on below. It pings systems based off of the container.txt file OU list(I chose one with only a few systems to save time). Successful pings are logged to pingsuccessful.txt and then loaded into an array. When loading the systems names into the array...
  2. Jaws25

    How to: List members of the "Local Administrator Group

    I have a script that ping the wks in a particular OU and put them into a .txt file if successful. I have called up the successful.txt file and put it into an array. I then want to use that array of wks names to list all members of the local admin group. If someone has a suggestion it would...
  3. Jaws25

    Need Help - Change CDRom Drive Letter

    Here is a great script I found on MS's site but it only works for server 2003. http://www.microsoft.com/technet/community/scriptcenter/dfs/scrdfs72.mspx Set objWMIService = GetObject("winmgmts:\\" & strSystemName & "\root\cimv2") Set colVolumes = objWMIService.ExecQuery("Select * from...
  4. Jaws25

    Need Help - Change CDRom Drive Letter

    I would like to have a script find the first available cdrom and set it to drive e: here is some code that will show cdrom devices drive letters but I can't figure out to actually change it. Const DriveTypeCDROM = 4 Set oFS = Wscript.CreateObject("Scripting.FileSystemObject") Set oDrives =...
  5. Jaws25

    Create New Page File Size

    Ok, apparently the script I wrote works on every machine but mine! I have now tested it on other XP machines as well as 2k and 2k3 and they all work. Guess I need to rebuild! =)
  6. Jaws25

    Create New Page File Size

    Mr. Movie, I have all the winxp patches/updates. Could you check your version of the following for me? Thanks! WSH Version: 5.6 VBScript Version: 5.6 WMI Version: 2600.0000 ADSI Version: 5,0,00,0
  7. Jaws25

    Create New Page File Size

    Hehe, thanks! =) I did some more testing and reading and found that my script did work on NT. However, I still can't get it to work on XP. I found an ms link that states that the there seems to be a difference regarding this object and how its call/referenced with XP. After reading that I...
  8. Jaws25

    Create New Page File Size

    Thanks Rob for the help. However I did already know the registry location and use. Unfortunately this won't work for what I am trying to accomplish. I need to have this run on a variety of machines each with a different amount of ram. The process needs to be automated with no user input. I...
  9. Jaws25

    Create New Page File Size

    The code below will display the pagefile min and max size as well as the total physical memory size. I need to set the min and max to equal 1.5 * physical memory size so that when the computer reboots, it retains the new settings. Any help would be greatly appreciated! = )...
  10. Jaws25

    How to run programs sequentially?

    Thanks Spazman! Its doing what I need. I'm working on the array right now. Thanks again!
  11. Jaws25

    How to run programs sequentially?

    I have a need to run programs sequentially. I can get them to launch all at the same time but that is confusing an cumbersome. I would like to have the second .exe file launched when the first .exe file is done running/installing. PS. I am newer to vbscripting. Just finished a 3 day class...

Part and Inventory Search

Back
Top