Start or stop a service in SharePoint Server

Summary: Learn how to start and stop a service in SharePoint Server 2016 and SharePoint 2013.

SharePoint Server includes services that reside on individual servers in the farm. In some cases, you can configure global service settings and start or stop a service. Services are managed directly in the SharePoint Central Administration website instead of through a separate administration site. You can also remotely monitor and manage services. Additionally, you can manage services by using Microsoft PowerShell.

Starting or stopping a service

You can manage services by using Central Administration or by using PowerShell.

To start or stop a service by using Central Administration

  1. Confirm that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.

  2. On the Central Administration home page, click System Settings.

  3. On the System Settings page, in the Servers section, click Manage services on server.

  4. To change the server on which you want to start or stop the service, on the Server menu, click Change Server, and then click the server name that you want.

  5. By default, only configurable services are displayed. To view all services, on the View menu, click All.

  6. To start or stop a service, click Restart or Stop in the Action column of the relevant service.

  7. Click OK to start or stop the service.

    To start a service by using Microsoft PowerShell

  8. Verify that you have the following memberships:

    • securityadmin fixed server role on the SQL Server instance.

    • db_owner fixed database role on all databases that are to be updated.

    • Administrators group on the server on which you are running the PowerShell cmdlets.

      An administrator can use the Add-SPShellAdmin cmdlet to grant permissions to use SharePoint Server cmdlets.

      Note

      If you do not have permissions, contact your Setup administrator or SQL Server administrator to request permissions. For additional information about PowerShell permissions, see Add-SPShellAdmin.

  9. Start the SharePoint Management Shell.

  10. At the PowerShell command prompt, type the following command:

    Start-SPServiceInstance -Identity <ServiceGUID>
    

    Where <ServiceGUID> is the GUID of the service. If you do not know the service GUID, you can retrieve a list of all services in the farm together with their GUIDs by using the Get-SPServiceInstance cmdlet.

For more information, see Start-SPServiceInstance.

To stop a service by using PowerShell

  1. Start the SharePoint Management Shell.

  2. At the PowerShell command prompt, type the following command:

    Stop-SPServiceInstance -Identity <ServiceGUID>
    

    Where <ServiceGUID> is the GUID of the service. If you do not know the service GUID, you can retrieve a list of all services in the farm together with their GUIDs by using the Get-SPServiceInstance cmdlet.

For more information, see Stop-SPServiceInstance. We recommend that you use Microsoft PowerShell when performing command-line administrative tasks. The Stsadm command-line tool has been deprecated, but is included to support compatibility with previous product versions.

See also

Concepts

Administration of SharePoint Server

Other Resources

Get-SPServiceInstance