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
23 results in Bash/shell [Clear]
Luca Fabbri
This DOS script resets Windows Update Agent.
(5)
Updated 5/3/2013
Released 1/26/2013
2,113 Downloads
CCraddock
This Script will disable Startup Repair from running as a result of a power failure or any other error. I my Experience this can cause many issues such as loss of trust between the domain and the computer. This uses the Bcdedit command to set the boot up
proccess to ignore any
(4)
Updated 8/20/2013
Released 4/24/2013
342 Downloads
CCraddock
THis batch file will force the client to report to its configured WSUS server and Also look for new updates. This works Great on Xp clients where there is no other way to force an update, it also works well on 7. when you are troubleshooting Group policy
issues this comes in ha
(0)
Updated 7/10/2013
Released 6/26/2013
204 Downloads
Maxzor1908
This script will send you an notification when an user account is locked out.Let this script run with task scheduler on EventID 4740, you can do that like thisBatch file: Script: How the report looks in your mail:Please fill your own SMTP and email info etc.Enjoy
(1)
Updated 5/13/2013
Released 4/16/2013
230 Downloads
Sorna Kumar Muthuraj
DescriptionDescriptionThis DOS command line utility  will loop through the SQL script files in given folder or current folder and deploy them in the given SQL Server database. This script uses SQLCMD utility.This batch file generates a deployment log file in the folder from which
(0)
Updated 1/20/2012
Released 1/19/2012
306 Downloads
Santhosh Sivarajan-
Here is another batch file script which you can used to identify the domain membership
(3)
Updated 12/5/2011
Released 5/19/2011
289 Downloads
CCraddock
I have come across the issue several times in which a group policy that redirected a user’s folders was not removed properly, the only way to reset these folders back to their default location is through the registry, this registry edit contains the default setting for a user’s f
(0)
Updated 4/18/2013
Released 4/18/2013
127 Downloads
CCraddock
Bootable Windows PE Windows AIK with Imagex tool. Unzip this file onto a flash drive or a CD. Boot to it and follow the instructions i will be posting on how to clone and apply images.Instruction on Capturing an image are located here
http://social.technet.microsoft.com/wiki/co
(1)
Updated 11/19/2013
Released 11/18/2013
39 Downloads
CCraddock
I have come across several issues with GP Locking down removable storage access where the policy is no longer applied or it has changed but the restirctions are in place this regedit fishes the issue by setting all of the removable storage access setting in the registry to defaul
(1)
Updated 4/17/2013
Released 4/17/2013
277 Downloads
Santhosh Sivarajan-
This batch file script can be used to list group membership details. You can add all user names (samaccoutname) to the input file -Users.txt. The output will be in the Output.txt file.
(1)
Updated 12/5/2011
Released 5/12/2011
392 Downloads
Srini SS
This batch script can be used to change file extensions in bulk. File extensions are renamed for all matching files in the current folder and in
all subdirectories.It supports the following.1. Change extension for all the files in the current folder and all sub folders.  Ex: Cha
(0)
Updated 12/17/2013
Released 7/4/2012
340 Downloads
CCraddock
Take the information from this batch file and add it to the end of your logon scripts. Create a folder called logon_Logs under your sysvol folder. Replace both instances of "Your.domain" with your domains Full name example "Contoso.com. When a user logs on a txt file will be crea
(0)
Updated 6/25/2013
Released 6/25/2013
57 Downloads
Fabian Müller [MSFT]
The script exports the Active Directory Certificate Services (AD CS) relevant data for backup purposes.
(0)
Updated 12/29/2012
Released 10/18/2012
167 Downloads
James Kulikowski
This small little Batch file can be used to quickly identify accounts on your network that are expired. please note that you will need to change the value of (accountExpires<=128947832000000000) to match a more recent date. The date when the account expires. This value represents
(3)
Updated 12/16/2011
Released 12/16/2011
133 Downloads
Ml-L
Clear attachments remaining in outlook Secure temp folder, then clear %temp% folder.

http://support.microsoft.com/kb/817878

(2)
Updated 5/22/2011
Released 5/20/2011
1 - 15 of 23 Items