How to Remotely Reconfigure IP from Static Addressing to DHCP
ID: Q194407
|
The information in this article applies to:
-
Microsoft Windows NT Server versions 3.51, 4.0
-
Microsoft Windows NT Workstation version 4.0
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information on how to do this, view the "Restoring
the Registry" online Help topic in Regedit.exe or the "Restoring a Registry
Key" online Help topic in Regedt32.exe.
SUMMARY
This article discusses how to change a computer's IP address from static to
DHCP from a remote location.
MORE INFORMATION
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency Repair
Disk (ERD).
- Connect to the remote registry. From the Registry menu in Regedt32,
click Select Computer and type in the computer name of the computer that
is to be reconfigured.
- Edit HKLM\SYSTEM\CurrentControlSet\Services\DHCP\Start = 1 and change
the Start = 1 value to Start = 2. This starts the DHCP service
AUTOMATICALLY on bootup.
- View HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\1
and note the value of ServiceName.
- Edit HKLM\SYSTEM\CurrentControlSet\Services\XXXXXX\Parameters\TCPIP,
where XXXXXX is the value of ServiceName found in the step 3.
- Edit value EnableDHCP = 1
- Edit value IPAddress = 0.0.0.0
- Edit value SubnetMask = 0.0.0.0
NOTE: It is necessary to fill in the IPAddress and SubnetMask with
0.0.0.0. Blanking out or deleting the values will not work.
- Restartt the workstation to complete.
Keywords :
Version : WinNT:3.51,4.0
Platform : winnt
Issue type : kbinfo
Last Reviewed: February 19, 1999