Windows Services Removal

S

Savant

Hi all,
Can we remove the Windows services from XP Embedded image? When I say
removing services, I mean they do not appear in the built image. Can we
do this?
For example, is there any particular component which, if not included
in the target image, would not register/create DHCP client service in
the Windows Services (services.msc)?
I tried it, the service was created but since the component wasn't
present, the service was unable to start and said "required files are
missing".

I have googled on this topic and found chiefly the posts which suggest
disabling the services or setting their startup to manuel in order to
remove them (nevertheless they would be present).
Doing that is easy: one can write a script employing the SC.EXE utility
to set a customized startup for each service.

Reflections on this subject would be appreciated,

Savant
 
B

Brad Combs

Savant,

Take a look in the registry. HKLM\System\CurrentControlSet\Services.

It sounds like you just want to hide the unwanted services from your device
user correct? Maybe just removing the service information in the registry
will get you the desired result. Pay close attention to dependencies when
you start removing services, and when doing a registry hack like this make
sure to test!

Once you have nailed down the service data you want to remove from the
registry make a batch file and create an FBA generic command that runs late
in the FBA process.

Alternatively you could use KM's XPeTools to find the owning component for
the registry data you want to remove. Once you have established which
components you want to modify you could create your own in place of them,
remove them, etc... You can find XPeTools at www.xpefiles.com

http://www.xpefiles.com/viewtopic.php?t=115

HTH,
Brad
 
S

Savant

Thanx for the information.
Yes, the dependency part would be trickey and tedious!

I would try this thing and would let know how does this go.
 

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