TechNet Gallery - resources for IT professionals

Download resources and applications for Windows 7, Windows Server 2008 R2, Windows Server 2008, SharePoint, System Center, Office, and other products. Find resources written in VB Script, PowerShell, SQL, JavaScript, or other script languages. New resources are added frequently so check often and see what's new.

Each contribution is licensed to you under a License Agreement by its owner, not Microsoft. Microsoft does not guarantee the contribution or purport to grant rights to it.
Sort by: rss
33 results in User Accounts > VB Script [Clear]
Monimoy Sanyal
The attached script will scan the AD Domain and list all user accounts in the domain whose password has been set to "Never Expire". This is a handy script for security, auditing and maintenance reasons. The Admin can use this script to implement best-practices
for the organisat
(2)
Updated 9/21/2013
Released 9/20/2013
186 Downloads
Monimoy Sanyal
This Script will list All Groups, Including Nested Groups, Where a specified User-Account is a Member. You need to enter the User's SAM Account Name (Login ID) to use this script. If a User -- Bob Smith, for example --  is a Member of Group-A and Group-B,
and if Group-B is also
(1)
Updated 8/23/2013
Released 8/23/2013
192 Downloads
The Scripting Guys - Microsoft
Returns information about the local user accounts found on a computer.
(2)
Updated 8/10/2009
Released 8/10/2009
AndrewDHill
Summary
This script will allow you to bulk delete stale computer accounts in Active Directory from a CSV file containing the computerssAMAccountName. The accountname is then compared against AD for a matching DN, when a match is found the account is deleted from AD.
The script
(3)
Updated 4/4/2012
Released 4/4/2012
821 Downloads
Monimoy Sanyal
This Script will List All OUs and Sub-OUs From Active Directory in the Parent-Child Order as they are arraged in Active Directory and as we see when we open Active Directory Users and Computers -- dsa.msc.ReferenceThere is a fantastic script available here:Hey Scripting Guy -- Ho
(3)
Updated 9/4/2013
Released 9/4/2013
66 Downloads
Monimoy Sanyal
Recently, I had to work on a situation where I had to get a list of all User-Accounts in the domain which have Alternate Recipient address configured. And it was obvious that having a script to accomplish the same task is the best way to go about achieving the desired result. Hen
(1)
Updated 9/28/2013
Released 9/28/2013
58 Downloads
Monimoy Sanyal
The attached script will assist the Admin to list all User-Accounts in the Domain which are Locked. Retrieving this information will further assist the Admin to take appropriate action on these User-Accounts. If required, the Admin can unloack all these user-accounts at one go by
(0)
Updated 10/27/2013
Released 10/27/2013
72 Downloads
Draguaine
This script will move all printers that are mapped to an old print server and re-map them to the new print server. The script will also transfer the default printer (if one exists and is pointed to the old print server). This script is also silent and will delete itself when it i
(0)
Updated 12/5/2013
Released 12/5/2013
14 Downloads
Monimoy Sanyal
This Script will check when a User's -- whose name has been supplied -- password Expires !! You need to enter the User's SAM Account Name (Login ID) to use this script.This is a vital information; and this script will make the job of an Admin lot easier in performing his role. th
(2)
Updated 9/10/2013
Released 9/10/2013
117 Downloads
The Scripting Guys - Microsoft
Creates a local user account (Admin2) on a computer named atl-ws-01, and sets the password for the account to 09iu%4et.
(1)
Updated 8/10/2009
Released 8/10/2009
Monimoy Sanyal
Every Admin has to to do this. The script attached simplifies the Admin's tasks. This script will read multiple Computer-Names and Group-Names From a txt file and then add the Computer-Accounts to the Group as mentioned in the File; thereby making the Computer-Accounts a member o
(1)
Updated 10/1/2013
Released 10/1/2013
70 Downloads
The Scripting Guys - Microsoft
Binds to a local user account on a computer named atl-win2k-01, and configures the account password so it never expires.
(1)
Updated 8/10/2009
Released 8/10/2009
JDBaits
This VB script prompts for a local account user name and a date. It then sets the entered account to expire on the entered date. It currently will detect a user canceling the script and exit properly as well as reprompt the user if they click Ok without having entered anything in
(1)
Updated 12/2/2011
Released 12/2/2011
246 Downloads
The Scripting Guys - Microsoft
Returns information about the local groups found on a computer.
(0)
Updated 8/10/2009
Released 8/10/2009
petey212
looks for a security group (domain local or global) and if not there creates it then adds members. Reads in the details of the group name, group type and people to add from a csv file.
(2)
Updated 10/21/2010
Released 10/21/2010
1 - 15 of 33 Items