Enabling DHCP through registry
Posted on 2004-10-13
I want to change the IP address and DNS on the network card (Windows XP) from static to DHCP through registry. I changed ...Tcpip\Parameters\Interfaces\(ID for Adapter) EnableDhcp to 1 and I deleted the entry in NameServer string. When I restart the computer, everything seems to be OK - the computer collects dynamic IP address and other data from DHCP server. However, when the computer is restarted again, it can not obtain the same IP address from DHCP server, but it gets new one. At the DHCP server beside the old address there is a note "bad_address" and "This address is already in use". That is happening after each restart and old address can not be used (unless I delete them manualy). What should I do to cure this?