SharePoint 2013: User Profile Stuck Stopping
The User Profile Service in SharePoint is quite a delicate one. After recent updates on my SharePoint Server, the User Profile service would not start or stop.
http://edwardvbs.files.wordpress.com/2014/05/user-profile.png?w=300&h=16
Viewing Service Applications in the Central Admin Console, it is stuck in a stopped state. The only way to force stop it is by running the following from an elevated PowerShell window:
stsadm -o provisionservice -action stop -servicetype “Microsoft.Office.Server.Administration.ProfileSynchronizationService, Microsoft.Office.Server.UserProfiles, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” -servicename FIMSynchronizationService
Another point to check is the security token on your server. You can do so by running the following command:
- stsadm -o enumservices
- stsadm -o enumservices > c:\services.txt (if you want to export it to a txt file)
After this, delete the User Profile Service Application and recreate it.