How to Join a Domain in Windows Vista RC1

Posted Friday, September 22, 2006 8:41 AM by C-Dog's .NET Tip of the Day

This isn't really development related but if you are crazy enough to have Vista installed like I am and you want to join a domain, here is how to do it. First, as usual with joining any domain, make sure that your primary DNS server is set to the IP address of your domain controller. Secondly, if you have a WINS server, be sure and set that IP address as well. If more than likely you don't, edit your LMHOSTS file and add a line line the one below.

172.23.10.12 domaincontrollername #PRE #DOM:domainname

Replace out the ip above for the IP address of your domain controller. Replace out the domain controller's machine name and then lastly specify the short name for your domain name.

Lastly, the key step for Windows Vista. Run the Local policies tool. Click on Start and type in secpol.msc in the Search box. Expand Local Policies -> Security Options and click on Network Security: Lan Manager Authentication Level Change the option of this value to Send LM and NTLM - use NTLMv2 session security if negotiated.

After that, you should be ready to join the domain. I have had better luck just specfiying the short name for the domain as opposed to the full domain name (i.e. MYDOMAIN instead of MYDOMAIN.com).

Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=298