3

When users want to log into one of our servers, the default domain is set to the machine name instead of the organization's domain, which is to say that the domain dropdown shows the machine name in the text part, while the organizational domain does appear in the dropdown (populated by the network, I assume).

I have heard that one may set a default domain to appear instead of the machine name, and I need this to be that way. I expect it's a registry entry, but I have given up finding one which applies.

Can someone please tell me how to do this?

5

The registry location in question is HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName.

A vbscript to set this might look something like this.

Set oShell = WScript.CreateObject("WScript.Shell")
oShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultDomainName", "EXAMPLE"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.