How to start a service using cmd

How to start a service using cmd

  

To Start a service using Command Prompt (CMD

Launch command prompt from start menu or type CMD in Run and then press enter

Now start your desired service using the Syntax: NET START ServiceName

Example: Starting windows installer service using NET command

Type NET START MSISERVER



To stop the desired service from command prompt:

Type NET STOP SERVICENAME  




SC: Service Control






The SC command can be used in a similar way to Start, Query, Stop a Service in Windows

Example: Starting windows installer service using SC command

Type SC START MSISERVER
 
 
To stop the desired service

Type  SC STOP SERVICENAME and press Enter

As you see i'm checking the service using SC QUERY MSISERVER to check the status of the Service

 You can checkout other switches and what  they do by typing SC /?

Comments

Popular posts from this blog

How to Uninstall Applications from Safemode