Aug
15
2012

Fix: Error “ The User Profile Service failed the Logon” in Windows 7 & Vista

After reading this you will be able to sort an error with User Profile service in Windows 7 & Windows Vista. The error says “ The User Profile Service failed the logon, User Profile cannot be loaded”.

This error might occur when you are using a temporary user profile for logon. This error can also occur if you are switching users. Another cause of this error resides with a corruption in user profiles. Some malicious software programs can also cause this type of corruption with User profiles.

Follow the methods mentioned below to rectify these issues :

  • System Restore
  • Click Start button –> type regedit in the Search box and then press Enter.
  • In Registry Editor, locate and then click the following registry subkey:HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList
  • In the navigation pane, locate the folder that begins with S-1-5 (SID key) followed by a long number.
  • Click each S-1-5 folder, locate the ProfileImagePath entry in the details pane, and then double-click to make sure that this is the user account profile that has the error.
  • registry1
  • If you have two folders starting with S-1-5 followed by some long numbers and one of them ended with .bak, you have to rename the .bakfolder. To do this, follow these steps:
    1. Right-click the folder without .bak, and then click Rename. Type .ba, and then press Enter.
    2. Right-click the folder that is named .bak, and then click Rename. Remove .bak at the end of the folder name, and then press Enter.
    3. Right-click the folder that is named .ba, and then click Rename. Change the .ba to .bak at the end of the folder name, and then press Enter.
    • If you have only one folder starting with S-1-5 that is followed by long numbers and ends with .bak, right-click the folder, and then click Rename. Remove .bak at the end of the folder name, and then press Enter.
    • If you have two folders starting with S-1-5 followed by some long numbers and one of them ended with .bak, you have to rename the .bakfolder. To do this, follow these steps:
      1. Right-click the folder without .bak, and then click Rename. Type .ba, and then press Enter.
      2. Right-click the folder that is named .bak, and then click Rename. Remove .bak at the end of the folder name, and then press Enter.
      3. Right-click the folder that is named .ba, and then click Rename. Change the .ba to .bak at the end of the folder name, and then press Enter.
    • If you have only one folder starting with S-1-5 that is followed by long numbers and ends with .bak, right-click the folder, and then click Rename. Remove .bak at the end of the folder name, and then press Enter.
  • Double-click the folder without .bak in the details pane, double-click RefCount, type 0, and then click OK.
  • Click the folder without .bak in the details pane, double-click State, type 0, and then click OK.
  • Close Registry Editor.
  • Restart the computer.
  • Log on again with your account.
  • Method 3
  • fixit

Source of this article : Microsoft Support KB

Related Posts

About the Author:

Shantanu is a Windows Enthusiast, a troubleshooter & a writer. He is a Microsoft MVP in Windows Expert - IT Pro from 2007. You can check out his other work @ www.shantanukaushik.com

3 Comments+ Add Comment

  • Running windows 8. User profile service failed. In the registry there is no entry in the profile list with along string following S-1-5-x. How do I get a usable profile into the machine?

  • Thanks for your posting.

    I have searched long and hard for a fix to this problem having encountered it 2 days ago on my Windows 7 Ultimate PC.

    I thought I would just share my experience and the Fix as at least a ‘jumping off point” for others.

    As I understand the method above (referred to by Microsoft as Method 1) relates to a corrupt or wrongly referenced path to the User Profile folder. This did not work for me. My problem was that the NTUSER.DAT file was completely missing! (You will have to show hidden/System files to explore the folder). Fortunately, having a very large hard drive I afforded myself the luxury some time ago (which I had forgotten) of enabling system protection which set restore points periodically. I found a recent previous version and tried to extract just the NTUSER.DAT to place in my folder. I found that I could not do it the system reporting some copy problem. However I was able to send to compressed folder and have it placed on the desktop whereupon I could extract the file. Unfortunately, the file was some how truncated. But when placed in the User folder ( c:\User\) together with the NTUSER.DAT.LOG file I was able to log on successfully. However, I had lost some of my settings in at least one application. But this was a massive improvement – I was now functional. Now to get it restored completely, Where once I failed much earlier on, I ran system restore once again. Amongst the ‘forest’ of posts that I had read I somehow recall that the file had to be present to restore a previous version (no time to check this at present), save that this time the system was restored perfectly! This leads me to think that this problem might be caused in many cases by a missing NTUSER.DAT file altogether rather than a corrupt one.

    Apologies for the rambling, and a certain lack of rigour, but I hope it helps.

  • as I can not log into the laptop due to profile service error how do I gain access to the website to down load the driver?

Leave a comment