how can disable service with bat file

  • Thread starter Thread starter Vijay
  • Start date Start date
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
 
Back
Top