• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

how can disable service with bat file

V

Vijay

Flightless Bird
Hi,

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

sgopus

Flightless Bird
What service?

"Vijay" wrote:

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

Andrew McLaren

Flightless Bird

> 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

--
amclar at optusnet dot com dot au
 
Top