Way to Disable Services in the Configuration?

M

Mark

Hey all -

Is there a way to ensure services are set as stopped and disabled prior
to deploying an image?

Thanks-

Mark
 
M

Mark K Vallevand

I don't know of any way to do it.
I have a component that has an FBA Generic Resource that uses cmd.exe to
execute a batch file at phase 11999. The batch file disables a bunch of
services using sc. For example:
sc config Spooler start= disabled

sc stop Spooler


--
Regards.
Mark K Vallevand (e-mail address removed)

Beer is living proof that God loves us and wants us to be happy.
- Benjamin Franklin


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
 

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