Rename a computer to based on Asset Tag or Serial Number

To rename a computer based on its Asset Tag/Serial number using a script, you can put the following text in a vbs file. I use NL-AMS-WS- preceding the Asset tag to indicate the country (Netherlands), city (Amsterdam) and type (Workstation): To use this during deployment you can use the following command:

Install AD-DS Tools

To install AD-DS Tools in Windows 7, execute the following command:

Disable IPv6 using the command line

To disable IPv6 in Windows 7 execute the following command:

Configure Subsystem for UNIX-based Application

To configure Subsystem for UNIX-based Application in Windows 7 enter the following command:

Delete a folder with too many characters in its path.

If you want to delete a folder and it gives you the error message: ‘Path is too long’, you can simply keep digging into the folder untill you find a point where it doesn’t give you the error anymore, or you can create a batch file containing the following text: This script uses RoboCopy, which [...]

Enable Remote Registry

To enable the Remote Registry using the command line execute the following command:

Rename the Administrator account using the command line

To rename the Administrator account (or any existing account) in Windows 7 using the command line, execute the following command: