Ir al contenido principal

User Profile Service Stuck on Starting

Problem

You have followed Harbar’s Rational Guide to setting up the User Profile Service Application in SharePoint 2010 but the User Profile Service is still stuck on starting.

Solution

Ensure that the account you are running the UPS service is a local administrator for the provisioning process.

This is normally the farm account which also runs the SharePoint Timer service. You can remove admin rights later. If it is not a local admin, you will need to restart the Timer service after you grant the correct permissions.

Log on as the account that will run the User Profile Synchronization service.

If the User Profile Service Synchronisation Service is stuck on ‘Starting’:

  1. Run SharePoint Management Shell as a farm administrator.
  2. Type: stop-spserviceinstance | where { $_.typename -eq “user profile synchronization service” }
  3. The User Profile Synchronization service status should now be ‘Stopped’ or ‘Disabled’.

Check the Certificates store on the server that runs the User Profile Synchronisation Service and delete all the ForefrontIdentityManager certificates.

  1. Start -> Run -> mmc
  2. File -> Add / Remove Snap-in
  3. Select Certificates -> Computer Account -> Finish -> Local Computer -> Finish -> OK
  4. Expand Certificates -> Personal -> Certificates
  5. Delete all ForefrontIdentityManager certificates (if you have tried to provision the UPS unsuccessfully several times, you will see more than one certificate).
  6. Expand Certificates -> Trusted Root Certification Authorities -> Certificates
  7. Delete all ForefrontIdentityManager certificates (if you have tried to provision the UPS unsuccessfully several times, you will see more than one certificate).

Set the FIM Services to run as Local System

  1. Start -> Run -> services.msc
  2. Locate the two FIM Services: Forefront Identity Manager Service, Forefront Identity Manager Synchronization Service.
  3. Edit properties and set it to run as Local System account.

Check Central Administration for the ProfileSynchronizationSetupJob and delete any running jobs.

  1. Go to Central Administration -> Monitoring
  2. Delete the job.

Provision the User Profile Service using Central Administration.

Run your ULS logger to see what is happening. It should take no longer than 10 minutes to provision.

Fuente: http://www.mysharepointadventures.com/2012/01/user-profile-service-stuck-on-starting/

Comentarios

Entradas populares de este blog

Get SharePoint Online Site and SubSites permission using PowerShell

The below PowerShell script retrieves the following for the given SharePoint Online Site All the Sub-site's URL Security group attached with each Sub-site with their permission level Prerequisites: This PowerShell script uses the latest version of SharePoint Online PnP Module. Download the installer from https://github.com/SharePoint/PnP-PowerShell/releases  Install-Module SharePointPnPPowerShellOnline  Install-Module - Name ' SharePointPnP.PowerShell.Commands.Files.Recurse ' function  connect - site( $webs , $creds ){    Connect - PNPonline  - Url  $webs   - Credentials  $cred     }    function  get - sitepermission( $web , $cred ){    $rec =@()    connect - site  - webs  $web   - creds  $cred     if ( $web   - eq  $parentsitename )  {  #Write-Host "Parent site permission" $web   $Pgroups =Get - PNPGroup  foreach ( $Pgroup   in   $Pgroups )  {  $DLGP  =  ""   |   Select   "SiteUrl" , "GroupName" , "Permiss

Find and Delete Orphaned Users in SharePoint

Fuente: http://www.sharepointdiary.com/2012/09/find-and-delete-orphaned-users-in-sharepoint.html Orphaned User? Who are they? Orphaned users are those who have been disabled/removed from Active Directory, but still have permissions to sites, lists and items. Internally, SharePoint keeps them in " UserInfo " table of the content database for meta-data such as created/modified by fields. Its unavoidable in any organization where employees constantly on-boarding and off-boarding. Its really difficult to manage, when it comes to thousands of sub-sites, sites, libraries and lists with their own sets of permissions. Why we care about Orphaned users? It is a best practice to delete orphaned users to keep the farm clean & organized. Also this will solve the problem of deleted active directory users still appearing on the people picker which was discussed here  People Picker not showing users from Active Directory? . If you know the user base or criteria then you can use: Clea

Conexión desde casa a una VPN sin perder salida a internet

Solución, asumiendo que estas en Windows: Panel de Control, Conexiones de Red. Clic derecho en la VPN, dale a propiedades. Anda a la pestaña de "Funciones de Red" y selecciona Protocolo Internet TCP/IP y clic en el botón "Propiedades". Ahora hazle clic al botón "Opciones Avanzadas..."En la pestaña "General", desmarca la opción que dice "Usar la puerta de enlace predeterminada en la red remota". Dale a aceptar a todas las ventanitas de opción, y ahora conéctate a la VPN nuevamente. Con eso deberías entrar a la VPN sin perder la conexión local de tu red e internet.