• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 846
  • Last Modified:

Enabling DHCP through registry

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?
  • 2
3 Solutions
Is the server leasing IP addresses in the same scope as the IP address of the NIC it's listening on?

u may have a look at this sites :
19. Registry Parameters for DHCP Servers  (premium content)


20. Registry Parameters for DHCP Clients  (premium content)

Network Settings in the Registry  (premium content)


Network Component Types in the Registry  (premium content)

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now