The REsource Kit SC.exe is the command line tool for managing Windows Services

//List services:
sc query

//Start a service:
sc start <service name>

//Stop a service:
sc stop <service name>

//Example of configuring a service:
sc config "%SERVICE_NAME%" type= own type= interact

//Marks the service for removal:
sc [<ServerName>] delete [<ServiceName>]

Note that you can also do that with the NET command.

  • /home/skysigal/public_html/data/pages/it/ad/sc/home.txt
  • Last modified: 2023/11/04 03:30
  • by