how can disable service with bat file

A

Andrew McLaren

Please tell me, how can i disable service with bat file.

That's funny ... weren't we just talking about Permissions? :)

Anyway, the command to control a Windows Service (enable, start, stop,
disable, etc) is SC.EXE.

Run SC /? at a command prompt to see the syntax.

Put the necessary SC command in a batch file, and you are all set.

Hope it helps,

Andrew
 

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