Friday, January 23, 2009

Enable Register DNS Records Connection Specific Dns Suffix group policy through command prompt

To enable Register Dns Records Connection Specific Dns Suffix group policy through command , just set the registry key RegisterAdapterName to 1

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" /v RegisterAdapterName /t REG_DWORD /d 1 /f





To disable the policy, run the following

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" /v RegisterAdapterName /t REG_DWORD /d 0 /f

3. To set the policy to "NotConfigured", then remove the registry key

reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient" /v RegisterAdapterName /f

0 comments:

Design by infinityskins.blogspot