Link to home
Start Free TrialLog in
Avatar of neon2
neon2

asked on

Unable to stop running User Profile Synchronization service

Hi people,

I would greatly appreciate any advice on how to stop a running User Profile Synchronization service.  

What happened was I successfully installed a MS SharePoint 2010 Enterprise edition with Farm settings. Then I proceed to try and do User Profile Synchronization. I made a mistake by starting a Start Profile Synchronization without creating a Synchronization Connection.  So I will get the following message if I try to create a connection:

Cannot navigate to the requested page while User Profile Synchronization is running. Please wait for the current Synchronization run to finish.

I tried stopping the Synchronization service using SharePoint Management Shell, stop-spserviceinstance but still see the error message if try to create a connection.

I have also tried restarting the machine but it didn't work either.
I have also tried iisreset, but that didn't work either.
I have also tried restarting all SharePoint related services but it didn't work either.

So the SharePoint experts out there, any advice or suggestions?

Thanks in advance.

Aaron
Avatar of Yagya Shree
Yagya Shree
Flag of India image

Hi there,

Please run following commands to stop the service

get-spserviceinstance >c:\listnew.txt

After the above command you will get list of running service
find out the service ID for user profile syncronization service and then below command

stop-spserviceinstance <ServiceID>

the service should be stopped
you need to run them using "Sharepoint 2010 management powershell" window
Avatar of neon2
neon2

ASKER

I have already mentioned that I tried using SharePoint Management Shell to stop the service but I am still getting the error message when I try to create a Synchronization Connection.
ASKER CERTIFIED SOLUTION
Avatar of Yagya Shree
Yagya Shree
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.