Friday, January 23, 2009

Enable Connection Specific dns suffix group policy

To enable connection specific dns suffix group policy, do the following,

1. Run the reg add command and set the "AdapterDomainName" registry key to 1

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" / v AdapterDomainName /t reg_dword /d 1 /f






2. To disable connection specific dns suffix group policy, run

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" / v AdapterDomainName /t reg_dword /d 0 /f


3. To set connection specific dns suffix group policy to "Notconfigured" then delete the registey key "AdapterDomainName".

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" / v AdapterDomainName

No comments:

Post a Comment