Home > Remote Desktop Services (RDS), Server Based Computing > Server 2008 R2 profile error.

Server 2008 R2 profile error.

A funny problem I ran into today was the following error:

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

Somewhere in my testing of a new mandatory profile I had made the old assumption that deleting the users profile from c:\users would infact delete the profile… no such luck sir! Having removed that folder time and time again, I was faced with the above error.

Long story short,  from vista onwards, Microsoft have introduced a new user profile list, you can find it in:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Remove your sid out of that list if you have deleted the profile and try again.

To get your SID, try the below powershell code:

$objUser = New-Object System.Security.Principal.NTAccount(“$env:userdomain”, “$env:username”)
$strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])
write-host “$env:userdomain\$env:username = $strSID”

  1. April 6, 2011 at 3:32 pm

    This is a problem many people run into. See my related post from October 2008: http://www.sepago.de/d/helge/2008/10/16/deleting-a-local-user-profile-not-as-easy-as-one-might-assume.

    Another way to get your SID, by the way:
    whoami /user

  2. August 10, 2011 at 4:50 pm

    Another helpful hint — the exact same error message will be thrown if a user is logging onto the computer for the first time, and windows is unable to copy the “default” user profile to the destination user profile (most likely, due to an ACL issue).

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: