Introduction and Instructions
1. Copy the script bellow to text file and name the text file: DefaultDomainScript.vbs
Dim sDomName
Set oWshShell = CreateObject("WScript.Shell")
sDomName = "TEST-DOMAIN"
oWshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName", sDomName
2. In the script above, rename "TEST-DOMAIN" to the NETBIOS domain name that will use as default logon domain.
3. Add the script DefaultDomainScript.vbs to Default Domain Policy (GPO) as computer startup script.
4. Run "GPUPDATE" command on one of the DC's in the domain, and reboot the clients computers.
Note: Windows 2000/2003 GPO supported only by Windows 2000 or newer operating systems.