Remotely Setting DNS address on client machine

By anoop_2u_4ever ·

Any body know how to set DNS address remotely using command prompt. The scenario is like this
i have a windows 2000 server with some 30 windows xp clients i want to set dns on this 30 computer remotely. Please help

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

one option

by lowlands In reply to Remotely Setting DNS addr ...

These settings are stored in the registry under HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DHCPNameServer.

Any tool or script to remotely modify the registry should work.

For do seem to remember that the DNS settings are read from ControlSet001 instead of from CurrentControlSet, so you might want to test first.

Collapse -

Reponse To Answer

by navyjax2 In reply to one option

If you change the parameter in CurrentControlSet, it will auto-update ControlSet001, so you had it right with the first path.

Related Discussions

Related Forums