Mutsje
Admin
| Posts: 468 |  |
|
Change DNS server with Regfind on client computers - 2006/04/28 11:16
Regfind is a tool that can be found in the resourcekit of Windows 200X.
If you want to change DNS Server(s) on client computers use.
| Code: |
regfind -p HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters <old DNS IP address > -r <New DNS IP address>
for multiple dns servers
regfind -p HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters 10.11.12.13 -r 10.11.12.14 10.11.12.15 (etc)
|
On a remote computer
| Code: |
regfind -m \\computername -p regfind -p HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters <old DNS IP address > -r <New DNS IP address>
|
Post edited by: leon1e, at: 2006/04/28 21:01
Post edited by: leon1e, at: 2006/04/28 21:04 [/code:1]
GPO adicted |