Wednesday 5 September 2012

The User Profile Service failed the logon. User profile cannot be loaded

During a recent deployment of Windows 7 Enterprise with SCCM I ran into a strange issue after adding the install updates into the task sequence. When the O/S loaded only users with administrative rights who had logged on to the machine previously (i.e. local admin in this case) could log on.

For all other users they received the following message:

 
"The User Profile Service service failed the logon"


Microsoft do have a KB on this issue (http://support.microsoft.com/kb/947215), however in my scenario the user profile didn't exist so the fixes did not apply.

Having looked at the logs it became apparent that files within the C:\Users\Default directories had altered security permissions following the Windows updates.

As a work around I added the following command line task to reset permissions to default on the C:\Users\Default directory.

 
Command : icacls C:\Users\Default\* /reset

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Hi, I'm facing the same problem in my enviroment and would like to know which logs you have been looked for to determine this problem?

    Thanks

    ReplyDelete
  3. thank you very much .. very good article

    ReplyDelete