1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can disable service with bat file

Discussion in 'Windows XP' started by Vijay, Jan 3, 2010.

  1. Vijay

    Vijay Flightless Bird

    Hi,

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

    sgopus Flightless Bird

    What service?

    "Vijay" wrote:

    > Hi,
    >
    > Please tell me, how can i disable service with bat file.
     
  3. Andrew McLaren

    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
     

Share This Page