How to stop and restart a service struck on stopping/starting:



Step1 :

Open PowerShell as Administrator.

Get-SPServiceInstance -all |where {$_.TypeName -like "ServiceName*"} (To get the Instance ID of the service causing the problem.)

Step 2:
run below command for stopping the sercive

$srvc = Get-SPServiceInstance "here you have to give service id obtained from the above command"
$srvc.Unprovision()

Step 3:
please run below command for starting the excel service

$srvc = Get-SPServiceInstance "here you have to give service id"
$srvc.provision()

Comments

Popular posts from this blog

Migrate Secure Store Service Application from SharePoint 2013 to SharePoint 2016

Creation of Secure Store Service Application failed because of the following errors: The Timer Job Completed but failed on one or more machines in the farm.

HTTP 403 Forbidden SharePoint 2013