Unjoin a Computer from a Domain using VBS script

Unjoin a Computer from a Domain using VBS scriptscript:' Unjoin a Computer from a DomainConst NETSETUP_ACCT_DELETE = 2 'Disables computer account in domain.strPassword = "password"strUser = "kenmyer"Set objNetwork = CreateObject("WScript.Network")strComputer = objNetwork.Computer

 
 
 
 
 
(1)
736 times
Add to favorites
Active Directory
7/29/2013
E-mail Twitter del.icio.us Digg Facebook