Net Tip: Remotely Change Static IP to DHCP

The occasion may arise that you may want to change a remote machine on your network from a static IP to a dynamic one (DHCP), or vice versa. Assuming you have Administrator rights, you can do so without leaving your desk. Here's how...

Print ArticleEmail Article
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn

The occasion may arise that you may want to change a remote machine on your network from a static IP to a dynamic one (DHCP), or vice versa. Assuming you have Administrator rights, you can do so without leaving your desk through the following means:

  • Run regedt32. (You could also use regedit, but for these purposes the regedt32 interface is easier.)
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\1 and record the ServiceName value. (Depending on circumstances, you may need to record from a different card.)
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSe\tServices\[ServiceName]\Parameters\TCPIP
    ([ServiceName]
    is the name you recorded in the previous step.)
  • Change the values of EnableDHCP to 1 and IPAddress And SubnetMask to 0.0.0.0.
  • Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP and change the Start value to 2.

You can reverse this procedure as well, but then the remote machine will require a reboot.

--
CrossNodes Net Tips are a new feature of crossnodes.com. If you have a networking tip or trick that you'd like to share, please submit it to the Managing Editor. There can be no financial remuneration, though we will place your byline upon request.

Comment and Contribute
(Maximum characters: 1200). You have
characters left.
Get the Latest Scoop with Enterprise Networking Planet Newsletter
Helpful Links
  • Yankee Group Mobile WAN Optimization Report

    Mobile work continues to evolve. Your organization must keep up with the demands of its mobile workforce. This report introduces the concept of mobile WAN optimization and provides three case studies including RCM, PRTM and Einstein that highlight how this emerging technology can help IT departments achieve what previously appeared to be conflicting goals. Read >

  • Network Security Resources

    More threats than ever before pose a danger to today's enterprise network. Get the latest tips and intel on the newest risks in our guide to network security resources. Read >

  • Extreme Savings: Cutting Costs with WAN Optimization

    Did you know it's possible to cut IT costs without impacting day-to-day IT operations? In fact, when you download this whitepaper from Riverbed on cost-savings through WAN optimization, you'll discover how businesses of all different sizes have realized a return on investment in just a few months through significant hard cost savings in areas such as bandwidth reduction and IT consolidation. It's called Extreme Savings and its only from Riverbed. Read >