# sharepoint service instance start stop stuck

- Link: https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/
- Published: 2020-06-11T11:54:30+05:30
- Author: Deviprasad Panda

How to manage sharepoint service instance using powershell ? You can manage service
instance in like starting service instance, stopping service instance. If sharepoint
service stuck unprovisioning or provisioning, you have to use powershell to resolve
the error. You can remove delete instance mostly search service instance by getting
service instance id or using [get-spserviceinstance](https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/get-spserviceinstance?view=sharepoint-ps)
by name powershell command. Status of serivice instance will change to disabled 
or online after running powershell. you can unprovision duplicate service instances
by identifying instance id using powershell.

 Advertisements

Run below powershell command to get all services instances

    ```wp-block-code
    Get-SPServiceInstance | Sort TypeName
    ```

![sharepoint service instance id](https://i0.wp.com/sharepointtechnicalsupport.com/
wp-content/uploads/2025/06/79c98-sharepoint-service-instance-id.jpg?resize=584%2C532&
ssl=1 "sharepoint service instance id")

 Advertisements

powershell command to get a specific service instance below

    ```wp-block-code
    Get-SPServiceInstance -Identity 431394e7-df13-4784-af78-719789210fdc # GUID of User Profile Service
    ```

 Advertisements

start specific service instance powershell command as below

    ```wp-block-code
    Start-SPServiceInstance -Identity 431394e7-df13-4784-af78-719789210fdc # GUID of User Profile Service
    ```

 Advertisements

stop instance in sharepoint using powershell command mentioned below

    ```wp-block-code
    Stop-SPServiceInstance -Identity 431394e7-df13-4784-af78-719789210fdc # GUID of User Profile Service
    ```

 Advertisements

## provision/start – service instance

you can provision or start service instance running any one of the [powershell command](https://sharepointtechnicalsupport.com/sharepoint-2019-feature-id-feature-using-powershell/)
mentioned below

    ```wp-block-code
    Get-SPServiceInstance | Where-Object {$_.TypeName -eq "User Profile Service"} | select Status, Id

    Get-SPServiceInstance | Where-Object {$_.Id -eq "431394e7-df13-4784-af78-719789210fdc"} # GUID of User Profile Service

    Get-SPServiceInstance | where {$_.Status -eq "online" -and $_.TypeName -eq "User Profile Service" } | Sort TypeName | Format-Table TypeName,Id,Server
    ```

 Advertisements

## unprovision/stop – service instance

you can unprovision or stop sevice instance using any one of the commands below

    ```wp-block-code
    $srvc = Get-SPServiceInstance “431394e7-df13-4784-af78-719789210fdc” # GUID of User Profile Service
    $srvc.Unprovision()

    $srvc = Get-SPServiceInstance -Server WIN-56R9D2TBFOB | where-object {$_.TypeName -eq “User Profile Service”}
    $srvc.Unprovision()

    Get-SPServiceInstance | Where-Object {$_.Id -eq "431394e7-df13-4784-af78-719789210fdc"} | Stop-SPServiceInstance | Format-Table -AutoSize # GUID of User Profile Service

    Get-SPServiceInstance -Server WIN-56R9D2TBFOB | where-object {$_.TypeName -eq “User Profile Service”} | Stop-SPServiceInstance -confirm:$false > $null
    ```

You can get more details related to service application in sharepoint from the link“
[Service Applications in SharePoint](https://sharepointtechnicalsupport.com/service-applications-in-sharepoint/)“

 Advertisements

Watch the video to get step by step, more in detail

 Advertisements

### Share this:

 * [  X ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?share=twitter)
 * [  Facebook ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?share=facebook)
 * [  WhatsApp ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?share=jetpack-whatsapp)
 * [  Email ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?subject=%5BShared%20Post%5D%20sharepoint%20service%20instance%20start%20stop%20stuck&body=https%3A%2F%2Fsharepointtechnicalsupport.com%2F2020%2F06%2F11%2Fsharepoint-service-instance-start-stop-stuck%2F&share=email)
 * [  Telegram ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?share=telegram)
 * [  LinkedIn ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?share=linkedin)
 * [  Tumblr ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?share=tumblr)
 * [  Pinterest ](https://sharepointtechnicalsupport.com/2020/06/11/sharepoint-service-instance-start-stop-stuck/?share=pinterest)

### Like this:

Like Loading…

### _Related_
