VB Script - Disable IPv6, Change Computer Name, Join Domain and Place in Specified OU
-
Clone this script from github or copy the files manually to your C:\Renamer
-
Edit the following AD variables:
- strDomainUser="user@domain.com"
- strDomainPasswd="password"
- strDomainName="DOMAIN"
- VLAN1OU="Faculty"
- VLAN2OU="Students"
- VLAN1strOU = "OU=Faculty,OU=Workstations,DC=DOMAIN,DC=COM"
- VLAN2strOU = "OU=Faculty,OU=Workstations,DC=DOMAIN,DC=COM"
- Fill in VLAN for example (192.168.228.0,10.0.226.0):
- VLAN1="228"
- VLAN2="226"
-
The installation files assume folder location of C:\Renamer\ to change edit: Install.cmd,Renamer.cmd,Renamer.reg
-
Install.cmd will create service Called "Renamer" and will execute it at startup.
Author: RaveMaker.