Discussion Locked

Remotely change the WINS server?

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a command line utility to remotely change the WINS server on an NT or 2K client?

5 replies

by rob baugh

Are you using DHCP? If you are then all you have to do is change the WINS setting in your DHCP server.

by mckaytech

I don't know of a utility specifically for that purpose, but you can use a registry editor (regedit, regedt32) to change the registry key that holds the IP address of the WINS server.

On W2K, the key is approximately:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\Tcpip_{53C1CD84-A6A1-4A45-A6D2-025869A64056}

On NT4, the key is approximately:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Adapters\SMC12111

In both cases, it will be a reg_sz value of the IP address in dotted decimal format (e.g. 192.168.0.2)

paul

This discussion is closed to new replies.