RSS

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

15 Feb

When you log on to a Windows Vista-based or a Windows 7-based computer by using a temporary profile, you receive the following error message:

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

This error may occur if the “Do not logon users with temporary profiles” Group Policy setting is configured.

CAUSE

This issue may occur if the user profile was manually deleted by using the comma…

//

This issue may occur if the user profile was manually deleted by using the command prompt or by using Windows Explorer. A profile that is manually deleted does not remove the security identifier (SID) from the profile list in the registry.

WARNING: Microsoft recommends AGAINST making this the standard way of removing user profiles from machines. The documented and supported approach is using the Advanced System Settings in the system properties, “User Profiles” settings. For applications, this facility is available using the “DeleteProfile” API.

If the SID is present, Windows will try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded.

To resolve this issue, follow the steps listed in the methods below.Note You mus…

//

To resolve this issue, follow the steps listed in the methods below.

Note You must be able to log on to an administrator account to fix your user profile or copy your data to a new account. Before starting fix the issue, log on to Windows by using another account that has administrative permissions or boot into Safe Mode to log on with the built-in Administrator account. For more information about how to boot into Safe Mode, visit the following Microsoft webiste:

Method 1: Fix the User Account Profile

//
To do this, follow the steps below:

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows
  1. Click Start
    Collapse this imageExpand this image

  2. In Start Search (Windows Vista) or Search programs and files (Windows 7) area, type in regedit, and press Enter.
  3. If prompted by UAC, click Continue (Windows Vista) or Yes (Windows 7).
  4. In Registry Editor, go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  5. In the left pane, look for the folder name starting with S-1-5 (SID key) followed by a long number. then click each folder and locate ProfileImagePath from the right pane, double click to verify that this is the user account profile that has the error.
    Collapse this imageExpand this image

    • If you have tow folders starting with S-1-5 followed by same long nubmers and one of them ended with .bak. Change the .bak folder to normal one. To do this, follow the steps below:
      1. Right click the folder without .bak and choose Rename. Then add .ba at the end of the folder name.
        Collapse this imageExpand this image

      2. Right click the folder with .bak and choose Rename. Then remove .bak at the end of the folder name.
        Collapse this imageExpand this image

      3. Right click the folder with .ba and choose Rename. Then change the .ba to .bak at the end of the folder name.
        Collapse this imageExpand this image

    • If you have only one folder starting with S-1-5 followed by a long numbers and ended with .bak. Right click the folder and choose Rename. Then remove .bak at the end of the folder name.
  6. Choose the folder without .bak, in the right pane, double click RefCount and type 0 and then click OK.
    Collapse this imageExpand this image

  7. Choose the folder without .bak, in the right pane, double click State and type 0 and then click OK.
    Collapse this imageExpand this image

  8. Close Registry Editor.
  9. Restart the computer.
  10. Log on again with your account.
Advertisements
 
2 Comments

Posted by on February 15, 2011 in Windows Vista/7

 

2 responses to “The User Profile Service failed the logon. User profile cannot be loaded

  1. Renu

    June 19, 2011 at 11:07 pm

    thank you for your help…looks like it worked!
    😀

     
  2. Andy

    August 12, 2011 at 2:14 am

    I will tell you I it worked ’cause I’ve made It a lot of times but it hasn’t ever worked’

     

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 )

Google+ photo

You are commenting using your Google+ 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 )

w

Connecting to %s

 
%d bloggers like this: