Skip to content

ITtelligence

Intelligence everywhere

Category: Scripts

Active Directory, ScriptsLeave a comment

Clear all Active Directory users’ manager attribute

March 29, 2016April 9, 2026 Shaun Vermaak

A VBScript that queries all Active Directory user objects and clears the manager attribute from each one using ADSI and ADO. Continue reading Clear all Active Directory users’ manager attribute

Active Directory, ScriptsLeave a comment

MoveSysvol – Automate the relocation of the Sysvol folder (DFSR Version)

July 1, 2015April 9, 2026 Shaun Vermaak

A batch script that automates the relocation of the Active Directory Sysvol folder on DFSR-replicated domain controllers following the official Microsoft procedure. Continue reading MoveSysvol – Automate the relocation of the Sysvol folder (DFSR Version)

Scripts, WindowsLeave a comment

CMD line break after the prompt

May 22, 2014April 9, 2026 Shaun Vermaak

A registry tweak that adds a line break after the Windows command prompt, giving you extra space for typing commands. Continue reading CMD line break after the prompt

Scripts, WindowsLeave a comment

Fixed drive letter in WinPE

March 20, 2013April 9, 2026 Shaun Vermaak

A VBScript startup script for WinPE that assigns a fixed drive letter to removable boot media by detecting a marker file on the volume. Continue reading Fixed drive letter in WinPE

Scripts, WindowsLeave a comment

Command prompt with random background and foreground color on each start

March 17, 2013April 9, 2026 Shaun Vermaak

A batch file and registry entry that randomizes command prompt background and foreground colors each time a new prompt is opened. Continue reading Command prompt with random background and foreground color on each start

Operations, ScriptsLeave a comment

Non-standard success exit codes

March 17, 2013April 9, 2026 Shaun Vermaak

A VBScript wrapper that translates non-standard success exit codes from software installers to exit code 0 for use with software distribution tools. Continue reading Non-standard success exit codes

Active Directory, ScriptsLeave a comment

Remotely Rename A Computer

June 2, 2012April 9, 2026 Shaun Vermaak

A batch file using PSExec and VBScript to remotely rename a computer and its Active Directory account, followed by an automatic reboot. Continue reading Remotely Rename A Computer

ScriptsLeave a comment

Generic RegEx Script

May 6, 2012April 9, 2026 Shaun Vermaak

A VBScript that applies a regular expression pattern to an input file and outputs matching results to console or an output file. Continue reading Generic RegEx Script

Scripts, WindowsLeave a comment

Command Prompt with Random Color on Startup

April 12, 2012April 9, 2026 Shaun Vermaak

A batch file and registry AutoRun entry that sets a random color scheme each time a Windows command prompt is opened. Continue reading Command Prompt with Random Color on Startup

Active Directory, Group Policy, ScriptsLeave a comment

Script for GPO to change SCCM client site ID

November 8, 2011April 9, 2026 Shaun Vermaak

A short VBScript for use in Group Policy that changes the SCCM client’s assigned site ID via the Microsoft.SMS.Client COM object. Continue reading Script for GPO to change SCCM client site ID

Posts navigation

Older posts
Powered by WordPress.com.
ITtelligence
CommandThreader – Execute any list of commands threaded into as many threads as needed (Updated) / Proudly powered by WordPress Theme: Gazette.
Loading Comments...