Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

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"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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