Friday, September 19, 2008

Cannot join a Machine to Single Labeled Domain

We get an error while trying to join a machine to Single labeled domain.
error: "The domain controller for the domain cannot be contacted.Ensure that the domain name is typed corerctly"
Microsoft doesnt recommend Single labeled domain (single-labeled DNS zones.Client computers and domain controllers may require additional configuration (registry changes) to resolve DNS queries in single-label DNS zones.
rference KB : 300684
resoultion:-Copy the below script to a text file and save with extension .vbs and run the script on client machine or make the registry changes (mentioned in script) manually on the client machine.
*************************************************
dim oShell
set oShell = Wscript.CreateObject("Wscript.Shell")
oShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\AllowSingleLabelDnsDomain", 1, "REG_DWORD"
oShell.RegWrite "HKLM\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters\UpdateTopLeveldomainZones", 1, "REG_DWORD"
Set oShell = Nothing
**************************************************
Try joining the machine now.
Thanks & Regards
Jerry

No comments: