Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how can disable service with bat file

0 views
Skip to first unread message

Vijay

unread,
Jan 3, 2010, 10:34:01 PM1/3/10
to
Hi,

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

sgopus

unread,
Jan 3, 2010, 10:36:01 PM1/3/10
to
What service?

Andrew McLaren

unread,
Jan 4, 2010, 12:05:44 AM1/4/10
to

> 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

0 new messages