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.
No comments:
Post a Comment