Stop/Start a Windows service


  • administrators

    This is one way to stop or start a Windows service:

    {"trigger":"Stop web server","command":"sc stop w3svc","ground":"foreground","voice":"stop web"},
    {"trigger":"Start web server","command":"sc start w3svc","ground":"foreground","voice":"start web"},

    Or if you want to stop and immediately start a service, you can do this:

    sc stop spooler & sc start spooler

Log in to reply
 

Looks like your connection to TRIGGERcmd Forum was lost, please wait while we try to reconnect.