Tuesday, January 20, 2009

DNS Client Disable DNS Registration on command line

DNS Client DNS Registration is also referred to DNS Dynamic Update. To disable "RegistrationEnabled" (DynamicUpdate) run the following on command prompt.

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

you can verify that the registry key "RegistrationEnabled" (regedit) to verify the group policy is disabled.

To set DynamicUpdate as "NotConfigured" just the remove the reg key from registry using the command "reg delete".

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

verify the reg key "RegistrationEnabled" is removed from the registry.


Design by infinityskins.blogspot