Here are a few vb scripts I wrote to help with some server administration tasks I do. Please feel free to
contact me with any questions.
- Setup the Win32Time Service to point to a NTP server (Rename to .vbs) - Download
- Change the password on a local account (Rename to .vbs) - Download
- Rename a local account (Rename to .vbs) - Download
- Create a local group and add domain members to it (Rename to .vbs) - Download
- Add members to a local group (Rename to .vbs) - Download
- Encode all of your vb scripts so they can't be read (Rename to .wsf) - Download
- Send an email through vbscript (Rename to .vbs) - Download
- Take inventory of your machines, and put the info into an Excel sheet - Download
- Copy files with a date timestamp (Rename to .vbs) - Download
- Create computer accounts in a domain from a list (Rename to .vbs) - Download
- Remove computer accounts in a domain from a list (Rename to .vbs) - Download
- List all the files and attribures in a dir in an Excel sheet (Rename to .vbs) - Download
- Create a new folder with a date timestamp (Rename to .vbs) - Download
- Move files with a date timestamp (Rename to .vbs) - Download
- Combine txt files into one txt file (Rename to .vbs) - Download
- Delete files in a directory older than so many days (Rename to .vbs) - Download
- Check to see if files exist in a directory (Rename to .vbs) - Download
- Compare two files and output the differences into a new file (Rename to .vbs) - Download
- Create Computer Accounts in Active Directory based off inputs, logs results, can put accounts in different OU base off name (WKS - Desktop, LTS - Laptop), changes permission on Account so Authenticated users can add the computer (Rename to .vbs) - Download
- Retrieve a list of installed programs from local or remote machine (Rename to .vbs) - Download
- Inventories computer configuration and writes report to disk (Rename to .vbs) - Download
- An example login script (Rename to .vbs) - Download
Refrences on Active Directory scripts
- ADSI Basic Script - Here
- ADSI Samples - Here
Helper Scripts - use these in your scripts
- Get Information about a file (Rename to .vbs) - Download
- Modify Registry Entries (Rename to .vbs) - Download
Updated 5/29/2004