Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Forums > Tutorials

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

Free Scan for PC Errors
Comment
 
Tutorial Tools Display Modes
<!-- google_ad_section_start -->The User Profile Service failed the logon. User profile cannot be loaded.<!-- google_ad_section_end -->
The User Profile Service failed the logon. User profile cannot be loaded.
Published by Brink
02-10-2008

How to Fix the Error "The User Profile Service failed the logon. User profile cannot be loaded."
Information
  When you log on to Vista using a temporary profile (user account), you receive this error message:
For more information, see: Microsoft Help and Support: KB947215

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

The jury is still out on the exact cause, but so far :
  • This issue may occur if the user profile was manually deleted by using the command prompt or Windows Explorer by a user or by some program. A profile that is manually deleted does not remove the security identifier (SID) from the user profile list in the registry. Since the SID is still present, Vista will still try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded.
  • This can also be a issue with the user profile entering into a backup state.
  • Manually renamed the C:\Users\(User Name) folder.
WARNING
  If you have this error message below instead, then see: How to Fix the Error "Your user profile was not loaded correctly! You have been logged on with a temporary profile." in Vista

Your user profile was not loaded correctly! You have been logged on with a temporary profile.

Changes you make to this profile will be lost when you log off. Please see the event log for details or contact your administrator.


Tip
  If the steps in the tutorial below do not help or you wish to try this first, then:
  • You can try doing a System Restore to see if it can fix this before using the instruction in the tutorial below. See the related links below for how.
  • If you do not want to repair the user profile, you can delete it and create a new user account in OPTION TWO. If this still does not work for you, then you will be left with doing a clean install for your Upgrade or Full version of Vista.
RELATED LINKS:


STEP ONE:
Logon to the Computer
NOTE
  Go down the list here until you find a option that will work for you.
1. Logon to another Administrator account.
NOTE: If you do not have another Administrator account, then proceed to step 2.
A) Go to OPTION ONE or OPTION TWO.
2. Boot into Safe Mode.
NOTE: You may not need to enable the built-in Administrator account. If this was the only normal administrator account you had, then Safe Mode should automatically boot into the built-in Administrator account. See: How to Start Vista in Safe Mode
A) If Safe Mode did not boot into the built-in Administrator account, then enable the Built-in Administrator account. If it did , then go to step 2C.
NOTE: For how, see: How to Enable or Disable the Real Built-in Administrator Account in Vista

B) Logoff in Safe Mode, and then logon to the built-in Administrator account to logon with that account in Safe Mode.
C) Go to OPTION ONE or OPTION TWO.



OPTION ONE:
Fix the User Account Profile
1. Open the Start menu.
2. In the white line (Start Search) area, type regedit and press Enter.
3. If prompted, either click on Continue or enter the password for the Administrator account.
4. In regedit, go to: (See screenshot below step 5)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

5. In the left pane, look for the S-1-5..... folder (SID key) with the long number that has .bak at the end of the numbers.
(See screenshots below steps 6A and 7B)
NOTE:
A) In the right pane, look at the ProfileImagePath to verify that this is the user account profile that has the error.
B) You may have another S-1-5..... folder (SID key) above it with the exact same number without the .bak at the end of it.

6. For Two S-1-5..... folders (SID key) with the same Number -
NOTE: This is if you have two S-1-5..... folders (SID key) with the exact same numbers, but the second (below) one has the .bak at the end of the numbers.
A) In the left pane, right click on the first (top) S-1-5..... folder (SID key) that does not have .bak at the end of the numbers and click Rename. (See screenshot below)
Click the image to open in full size.
B) Add .bk to the end of the numbers. (See screenshot below)
Click the image to open in full size.
C) In the left pane, right click on the second S-1-5..... folder (SID key) with .bak at the end of the numbers and click Rename. (See screenshot above)
D) Remove only .bak from the end of the numbers and press Enter. (See screenshot below)
E) Now go back and Rename the first one with .bk to .bak now at the end of the numbers and press Enter.
Click the image to open in full size.
F) Go to step 8.
7. For Only One S-1-5..... Folder (SID key) with .bak -
NOTE: This is if you only have one S-1-5..... folder (SID key) for your user account with .bak at the end of the numbers.
A) In the left pane, right click on the S-1-5..... folder (SID key) with .bak at the end of the numbers and click Rename. (See screenshot below)
B) Remove only .bak at the end of the numbers and press Enter. (See screenshot below and below step 10)
Click the image to open in full size.

8. In the right pane of the one without .bak now, right click on RefCount and click Modify. (See screenshot below step 10)
NOTE: If you do not have RefCount, then right click on a empty space in the right pane and click New and DWORD (32 bit) Value, then type RefCount and press Enter.
A) Type 0 (number) and click on OK. (See screenshot below)
Name:  Modify_RefCount.jpg
Views: 42638
Size:  31.1 KB

9. In the right pane of the one without .bak now, right click on State and click Modify. (See screenshot below step 10)
A) Type 0 (number) and click on OK. (See screenshot below)
Name:  Modify_State.jpg
Views: 42556
Size:  30.6 KB

10. The registry will now look like this for the one without .bak now. (See screenshot below)

Click the image to open in full size.

11. Close regedit.
12. Restart the computer.
13. See if you can logon now.



OPTION TWO:
Delete the User Account Profle
NOTE
  You can do this option if you do not care about losing the user account and the contents in the user folders.
1. Delete the User account profile that this error is for.
NOTE: See: How to Delete a User Account in Vista

2. Open the Start menu.
3. In the white line (Start Search) area, type regedit and press Enter.
4. If prompted, click on Continue.
5. In regedit, go to: (See screenshot below step 7)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

6. In the left pane, click on one of the S-1-5..... folders (SID key) with the long number in it.
NOTE: It may have .bak at the end of it.
A) In the right pane, look at the ProfileImagePath to see if this is the same user account that you deleted in step 1 above.
B) Repeat step 6 until you find the one that you deleted in step 1 above.
NOTE: If the user account is not here, then it has already been removed when deleted in step 1. Go to step 9.
7. To Backup the Registry SID Key -
WARNING: You should backup this SID key to be safe in case you delete the wrong one in step 8 below.
A) Right click on the SID key, and click Export.
B) Type in a name and save the REG file to a safe location.
NOTE: This is your backup. To Restore the Backup, right click on the REG backup file and click Merge.

C) Continue on to step 8.
Click the image to open in full size.

8. To Delete the Registry SID Key -
A) Right click on the SID key, and click Delete. (See screenshot above)
B) Click on Yes to confirm deletion. (See screenshot below)
Name:  Confirm.jpg
Views: 42178
Size:  12.8 KB

9. Close regedit.
10. Now, just create a new normal Administrator account.
NOTE: See: How to Create a New User Account in Vista

11. Restart the computer, and logon to your new account.
That's it,
Shawn
Published by
Brink's Avatar
Administrator
Join Date: Apr 2007
Location: Texas, USA
Posts: 19,300
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 02-14-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is online now

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

Updated 2-14-2008 to include METHOD ONE.

Shawn

My System SpecsSystem Spec
Old 02-14-2008  
badgrrrl
Newbie


Join Date: Feb 2008
Vista Home Premium 32bit
 
Rep Power: 7
badgrrrl is on a distinguished road
  badgrrrl is offline

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

unfortunately i found this forum a lil too late but i was able to fix it by simply doing a system restore. How can i prevent this happening again?
My System SpecsSystem Spec
Old 02-14-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is online now

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

Hi badgrrrl,

Welcome to Vista Forums.

Sorry to hear that, but System Restore is a good option to. Unfortunately, the exact cause has not been narrowed down yet, just how to fix the resulting problem. The Cause at the top of the tutorial may help some, but if you noticed anything that you may have installed or changed before it happened to you it may help narrow it down more.

Shawn
My System SpecsSystem Spec
Old 02-15-2008  
tanuj_chadha's Avatar
tanuj_chadha
Devil


Join Date: Jan 2008
Vista 32bit SP1
India
 
Rep Power: 27
tanuj_chadha is a splendid one to beholdtanuj_chadha is a splendid one to beholdtanuj_chadha is a splendid one to beholdtanuj_chadha is a splendid one to beholdtanuj_chadha is a splendid one to beholdtanuj_chadha is a splendid one to beholdtanuj_chadha is a splendid one to behold
  tanuj_chadha is offline

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

Hi Shawn,

I tried to rename the .bak file but was unable to do that. is there is any other way through which we can change the file name.
My System SpecsSystem Spec
Old 02-15-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is online now

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

Quote:
From PM
The error that I am getting is the files cannot be renamed.
Hi tanuj chadha,

Try taking ownership of the SID registry key with the BAK on it first, then see if you can rename it to remove BAK. OPTION TWO step 3 will show you how to do this here:

Take Ownership of file

Shawn
My System SpecsSystem Spec
Old 02-15-2008  
bigvern
Banned


Join Date: Feb 2008
vista home premium 32bit
 
Rep Power: 0
bigvern is on a distinguished road
  bigvern is offline

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

I have tried everything on the list. All I get is error message, stating that I cannot rename.
I also do not have anything in the right field. It's blank!
My System SpecsSystem Spec
Old 02-16-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is online now

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

Hi bigvern,

Welcome to Vista Forums.

If the right side is empty, then that user profile (account) is history. While you are in the built-in Administrator account, see if you can create another normal Administrator account and logon to it. If you can, then delete the old account. If not, then I'm afraid it is time to do a reinstall.

Shawn
My System SpecsSystem Spec
Old 02-16-2008  
bigvern
Banned


Join Date: Feb 2008
vista home premium 32bit
 
Rep Power: 0
bigvern is on a distinguished road
  bigvern is offline

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

I am not too technical, how do I reinstall?
My System SpecsSystem Spec
Old 02-16-2008  
Brink's Avatar
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP1
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is online now

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

bigvern,

If you have a Upgrade Vista installation DVD:
How to Do a Clean Install of Vista with a Upgrade Version


If you have a Full or OEM Recovery Vista installation DVD:
How to Do a Clean Install with a Full Version of Vista


If you only have a Recovery partition, then restart the computer and press F10 or F12 (usually) every second until a Recovery Manager screen comes up. There will be an option to reinstall Vista there. You will need to check your OEM computers documents for their (EX: Dell, HP, etc...) exact procedure, but it should be similar.

Hope this helps,
Shawn
My System SpecsSystem Spec
Comment

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

Free Scan for PC Errors

Tags
logon, profile, service, user, user accounts

Tutorial Tools
Display Modes



Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
The User Profile Service service failed the logon. User Profile cannot be loaded fymjmheh Vista file management 11 2 Weeks Ago 04:16 AM
User profile service failed the logon HELP Judy8 General Discussion 1 07-24-2008 05:30 PM
User Profile service failed / user profile cannot be loaded mess1066 Vista account administration 2 03-08-2008 07:56 PM
the user profile service failed the logon JChaz Vista networking & sharing 8 03-21-2007 11:24 AM



Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2009
Tutorial powered by GARS 2.1.8m ©2005-2006