disabling DHCP client service

A

Ann Adamson

We are wanting to disable the DHCP Client service from starting
automatically in our XP image, but it always seems to be there and enabled.
Is there an easy way to do this? I just tried creating a component with a
build order dependency on the DHCP client service (so it's built beforehand)
and then adding a registry entry setting the services Start parameter to
"manual", but this did not seem to "take" in my final image. I want to find
a way to do this besides manually fudging with the registry.

Any help appreciated,
Ann
 
A

Ann Adamson

We want it to be there, but we only want it to run when we want it to run --
so we want it to go out with the service attributes set such that it can be
manually enabled, but not enabled by default.

Ann
 
S

Slobodan Brcin \(eMVP\)

Ann,

I'm doing it trough code, but you can use netsh interface .... to set IP
adress instead of DHCP.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
K

KM

Ann,

As I mentioned you can then do that programmatically (service APIs), trough
registry (change Start parameter during a late FBA phase) or using netsh.exe
or sc.exe utilities.

KM
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top