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:
Dim sDomName
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.
Popular Links
Looking for more information on DNS? Search our Knowledge Base!
Interested in more articles about Web Hosting? Navigate to our Categories page using the bar on the left or check out these popular articles:
- 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
Popular tags within this category include: DNS, FTP, IIS, MX Records, and more.
Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.
The Hivelocity Difference
Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.
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.
Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.