JSI Tip 0808. How do I remotely change a WinNT client from a static IP Address to a DHCP client?

Use REGEDT32 to edit the remote registry.

1. On the Registry menu, click Select Computer.

2. Enter the ComputerName of the remote client or double-click it in the browse list.

3. Edit HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP.

4. In the right-hand pane, double-click Start and change the data value to 2, which is Automatic.

5. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\1
     and write down the data value of ServiceName.

6. Edit SYSTEM\CurrentControlSet\Services\<ServiceName>\Parameters\TCPIP where <ServiceName> is from step 5.

7. In the right hand pane, double click on:

     EnableDHCP - change to 1
     IPAddress - change to 0.0.0.0
     SubnetMask - change to 0.0.0.0

8. Shutdown the remote computer using SHUTDOWN.EXE (Tip 107 for a list of tools your $34 procures).

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish