To stop or to start a service

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:40

WARNING ABOUT DEPENDENCIES:

Before you stop any service, check carefully if there are processes, running on local machine or on other servers that depend on service you are about to stop! See GN4 services dependency. If you stop a service without an appropriate preparation of other processes, they may fail without any warning and could not able to recover when you restart a service you've stopped!

WARNING ABOUT CLUSTER:

To stop and restart a service on a cluster, don't use the cluster resource applet, but the Windows Service applet!

Stop or start a service by the Services applet

Do one of the following:

Open the Services applet, select a service, and then click Stop to stop a service, or click Start to start it (if stopped), or click the Restart button, to restart service.

Run the Server Manager, click the computer you want to stop the services on, choose Computer|Services, select a service, and then click Stop, or click Start.

If a service has dependencies with other services, an additional dialogue will appear with the list of all dependent services (if the service has no dependencies, a simple confirmation box will appear instead, prompting you to click [Yes] to proceed or [No] to abort). If a service has dependencies with other services, these services will be started first.

Starting or stopping of a service may take several seconds. The message is displayed.

Stop or start a service by the command prompt or in a batch file

In the command prompt window, execute:

to stop a service

NET STOP <servicename> /Y 

to start a service

NET START <servicename> /Y

or

\\servername SC STOP <servicename> Or \\servername SC START <servicename>