How to start a disabled service?

Y

yxq

Hello

I want to start a disabled service using VB.Net, i use the start propetry in
ServiceController class,

but it can not start a disabled service, how to do?

Many thanks
 
I

isaac rainsford

i assume you would have to change service status to manual, or
Automatic, THEN start it.

the 'SC' command line tool might give you some leads.
 
Y

yxq

Thank you


isaac rainsford said:
i assume you would have to change service status to manual, or
Automatic, THEN start it.

the 'SC' command line tool might give you some leads.
 

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