Friday, January 23, 2009

Set DNS Server group policy through command line

To enable DNS Server group policy through command prompt, run the following command

Assume server ip address to be added are 192.168.1.1,192.168.1.2

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient " /v NameServer /t reg_sz /d 192.168.1.1,192.168.1.2 /f

0 comments:

Design by infinityskins.blogspot