Difference between revisions of "Enabling / disabling Windows services"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 18: Line 18:
 
  net continue <service_name>
 
  net continue <service_name>
  
To disabled a service permanently ("Start Type"), you can use the sc command:
+
 
 +
To disable a service permanently ("Start Type"), you can use the sc command:
  
 
  sc config <service_name> start= disabled
 
  sc config <service_name> start= disabled
 +
  
 
To list all services that are currently running use <code>net start</code> from the CLI (command line) without parameters:
 
To list all services that are currently running use <code>net start</code> from the CLI (command line) without parameters:

Revision as of 18:33, 14 March 2007

You can use WPKG to start, stop or restart services running on your Windows workstations.

To do it, simply use a net command.

The following example will restart a service:

net stop <service_name>
net start <service_name>


Other possibilities are pausing the service:

net pause <service_name>


And continuing a service that was earlier paused:

net continue <service_name>


To disable a service permanently ("Start Type"), you can use the sc command:

sc config <service_name> start= disabled


To list all services that are currently running use net start from the CLI (command line) without parameters:

net start