Answered by the Webhosting Experts

How Do I Change the Default Logon Domain Name in the Logon Screen?

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:

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.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.