How to Start the User Profile Synchronization Service Using PowerShell

Advertisement
Some times we are unable to start and stop the User Profile Synchronization Service from GUI,still there is way do  using power shell.

Using Get-SPServiceInstance

To get the list of all the services "guid" with  Power Shell command,but it is difficult to identify the exact user profile service if we are using multiple user profile services and for further reference best use to save the services in to a Text file.
 Run the below command as shown.

Get-SPServiceInstance > Services.txt

It will writes the list of all the services with name and "guid" in to the text file,we can able to find the file with our given file name  at C:/Users/Username

Start-SPServiceInstance –Identity "Guid of Particular Service Application"

In the same way if we want to Stop the User Profile Synchronization Service use the following command.

Stop-SPServiceInstance –Identity "Guid of Particular Service Application"



Advertisements
SHARE

Lakshmi Tulasi Jasti

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

3 comments:

  1. Sorry ... starting the service this way does not work...

    ReplyDelete
  2. Please check forefront identity service is running or not?

    ReplyDelete