Skip to content

RaveMaker/Renamer-VBScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AD-Computer-Rename-and-Join

VB Script - Disable IPv6, Change Computer Name, Join Domain and Place in Specified OU

Installation

  1. Clone this script from github or copy the files manually to your C:\Renamer

  2. 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"
  1. Fill in VLAN for example (192.168.228.0,10.0.226.0):
  • VLAN1="228"
  • VLAN2="226"

Use "instsrv.exe","srvany.exe" to create a service for it:

  1. The installation files assume folder location of C:\Renamer\ to change edit: Install.cmd,Renamer.cmd,Renamer.reg

  2. Install.cmd will create service Called "Renamer" and will execute it at startup.

It will need 2 restarts to rename and join the computer to active directory.

Author: RaveMaker.

About

VB Script - Disable IPv6, Change Computer Name, Join Domain and Place in Specified OU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors