In a multi-domain environment, it’s a common mistake for users to log into a different domain other than their native domain. To avoid this problem, there is an option to configure the default logon domain by using a computer startup script.
Changing the Default Logon Domain
To change the default logon domain name, copy the script below to a text file:
Set oWshShell = CreateObject(“WScript.Shell”)
sDomName = “TEST-DOMAIN”
oWshShell.RegWrite “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName”, sDomName
In the script above, rename “TEST-DOMAIN” to the NETBIOS domain name that will be used as the default logon domain.
Once you’ve finished making the edits, Save the text file and name it: DefaultDomainScript.vbs
Now, add the script DefaultDomainScript.vbs to the Default Domain Policy (GPO) as a computer startup script.
*Note: When you’re finished, run the “GPUPDATE” command on one of the DC’s in the domain, and then reboot the clients computers.
- DNS Configuration: Everything You Need to Know
- What is Cron Job?
- How to Resolve Error 421 Service Not Available and Other Issues with FTP Service
Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.
The Hivelocity Difference
With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.