Disable services

J

Jason

I've got some services in my XPe image, such as FAX, and the SNMP stuff.
I've tried removing them in TD but they keep getting pulled back in because
of some dependency so I just leave them and manually disable those services
after FBA has run.

Is there a way in TD to set those service to be disabled in the first place?

Thanks
Jason
 
S

Sean Liming \(eMVP\)

You could modify the resource settings to have them disabled on start. The
other thought is to track down and remove the dependencies with multiple
check dependencies or tools like Component Hunter.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
J

JS

You can also disable services with

sc.exe config <yourservicename> start= disable

note: it is important to have the spacing right.
 
G

G.R

Hi,

I want to disable a set of services during the build time. But when I
tried changing the resource setting, I didn't see any change in the
status of the services. How do I use the command line disabling of the
services. I read somewhere that during the FBA we can have a script
which will disable the services. Need more information on disabling the
services during build time. As of now i am planning to write my own
service which will disable all the other services, but don't know if
this is a good and efficient way of doing it. Kindly throw more light
on this topic.

thanks in advance,
AGR
 
K

KM

AGR,

What services you are referring to? If you properly modified those services' FBA resources and there are no other services dependent
on the services in question, they wouldn't come up stated but either disabled or stopped depending on what you set in TD.
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconServiceData.asp (take a look at the StartType property)

How exactly you disabled those services?

As to the command line. You can always add a component or config extra resource to set up an FBA Generic command to launch sc.exe
utility.
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconFBAGenericCommand.asp
 

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