Solved

Convert from Fixed IP to DHCP

Posted on 2003-11-17
3
352 Views
Last Modified: 2013-12-28
Is there an easy way to covert a Windows NT Workstation from a Fixed IP address to use a
DHCP server without having to visit each machine?

I am looking at setting \HKLM\System\ControlSet001\Enum\Root\LEGACY_DHCP\0000\StatusFlag = 8
from
\HKLM\System\ControlSet001\Enum\Root\LEGACY_DHCP\0000\StatusFlag = 0

I am writing this using reg.exe from a .bat file.

I will execute the .bat file using sysinternal psexec.exe
and then call shutdown (for a reboot).

Will this work?

I know that quite a few registry setting get made once you move from a fixed to DHCP setting.

TIA
0
Comment
Question by:GotSand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Accepted Solution

by:
JammyPak earned 250 total points
ID: 9772511
from http://www.windowsitlibrary.com/Content/69/01/9.html:

To enable the DHCP client service on a remote system, you can use the Select Computer option in Regedt32.exe to remotely change this registry entry. It tells Windows NT to configure the first IP interface on the machine using DHCP.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\<adapter name>\ Parameters\Tcpip
Value Name: EnableDhcp
Data Type: REG_DWORD
Value: 1  

Me now:
Rather that use Regedt32 and connect to each PC as they suggest, I would probably use regini and do it from a login script.
Here is info on how to distribute registry changes automatically:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2kmag01/html/DistributingRegistryChanges.asp

HTH,
JP
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Configuring Remote Assistance for use with SCCM
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question