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

Fix "The User Profile Service failed the logon. User profile cannot be loaded." Error in Windows 7

   Information
A user profile is a collection of settings that make the computer look and work the way you want it to for a user account. It contains the account's settings for desktop backgrounds, screen savers, pointer preferences, sound settings, and other features. User profiles ensure that your personal preferences are used whenever you sign in to Windows.

A user profile is different from a user account, which you use to sign in to Windows. Each user account has at least one user profile associated with it.

This tutorial will show you how to fix when you log on to Windows 7 using a temporary profile, and get the following error message:

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

This tutorial was updated from our Vista Forums tutorial created 02-10-2008:
The User Profile Service failed the logon. User profile cannot be loaded. - Vista Forums

For additional details on this user profile error, see also:
Error message: "The User Profile Service failed the logon. User profile cannot be loaded

   Note
Known Causes:
  • The C:\Users\(user-name) user profile folder was manually deleted instead of properly deleting the user account through User Accounts in the Control Panel. A user profile that is manually deleted does not remove the security identifier (SID) from the profile list in the registry. Since the SID is still present, Windows 7 will still try to load the profile by using the ProfileImagePath that points to a nonexistent path. Therefore, the profile cannot be loaded.
  • The C:\Users\(user-name) user profile folder itself was manually renamed, instead of using the proper method in this tutorial.
  • An unknown issue with the user profile entering into a backup state occurred.
  • Corrupted user profile.
  • Occasionally, Windows 7 might not read your user profile correctly, for example, if your antivirus software is scanning your computer while you try to log on. Try restarting your computer and logging on with your user account again to resolve the issue before following the options below.




In Preparation:

Log On to an Administrator Account


NOTE: You must be logged on to another administrator account using either step below before you will be able to move on to either OPTION ONEor OPTION TWO below.
1. To Log on to another Administrator account.
NOTE: If you do not have another Administrator account, then proceed to step 2.
A) Log off, and log on to an available administrator account that doesn't have this error.

B) Go to either OPTION ONEor OPTION TWO below for what you would like to do.
OR

2. To Boot into "Safe Mode" and Use the built-in Administrator account
A) Using your "retail" Windows 7 installation disc or a created system repair disc, boot into Safe Mode.

B) Do either step C or D below depending if Safe Mode booted into the built-in Administrator account by default or not.
NOTE: If this user account with the user profile error was the only administrator account you had created or enabled, then Safe Mode may automatically boot into the built-in Administrator account.

C) If Safe Mode did not boot into the built-in Administrator account by default, then enable the built-in Administrator account, log off in Safe Mode, and log on to the built-in Administrator account to logon to that account in Safe Mode.

D) If Safe Mode did boot into the built-in Administrator account by default, then go to either OPTION ONE or OPTION TWO below for what you would like to do.
OR

3. To Enable the Built-in Administrator account at Boot
A) For how, see: How to Enable the Built-in Elevated "Administrator" Account from WinRE

B) When enabled, log in to the built-in Administrator account, and go to either OPTION ONE or OPTION TWO below for what you would like to do




OPTION ONE

To Fix the User Account Profile


1. Before starting, it is highly recommended that you create a system restore point in case you make a mistake while in the registry. This way you will easily be able to do a system restore to use the created restore point to undo the mistake.

2. Open the Start Menu, type regedit in the search box, and press Enter.

3. If prompted by UAC, then click on Yes.

4. In regedit, navigate to the location below. (see screenshot below step 5A)
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
5. In the left pane, click on a S-1-5 (SID) key with a long number.
A) In the right pane of the selected S-1-5 (SID) key, look at the Data value of ProfileImagePath to see if it is the user account (ex: Moderator) with the error.
SID_Reg.jpg
B) If not, then repeat steps 5 and 5A until you have the correct S-1-5 (SID) key with a long number selected.

C) If it is, then continue on to step 6 or step 7 depending on if you have either one or two S-1-5 (SID) keys listed with the exact same long number. One without .bak, and one with .bak at the end.
6. If you have Two S-1-5 (SID) keys with the Same Long Numbers
NOTE: This is if you have two S-1-5 folders (SID key) with the exact same long numbers, but the second one has .bak at the end of the long numbers and the first one doesn't.
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)
Repair.jpg
B) Add .bk to the end of the numbers. (see screenshot below)
Repair_bk.jpg
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 below step 6B)

D) Remove only .bak from the end of the numbers and press Enter. (see screenshot below step 6B)

E) Now go back and Rename the first one with .bk to .bak now at the end of the numbers and press Enter. (see screenshot below)
Repar_bak.jpg
F) Go to step 8.
7. If you have Only One S-1-5 (SID) key with .bak
NOTE: This is if you have only one S-1-5 folder (SID key) with long numbers and ended with .bak.
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 step 7B)

B) Remove only .bak at the end of the numbers and press Enter. (see screenshot below and below step 10)
Repair_Reg2.jpg
8. In the right pane of the one without .bak now, right click on RefCount and click on 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. This value for this entry will reset and return back to the original value after you have restarted the computer and logged on to the account.
A) Type 0 (number) and click on OK. (see screenshot below)
Modify_RefCount.jpg
9. In the right pane of the one without .bak now, right click on State and click on Modify. (see screenshot below step 10)
NOTE: This value for this entry will reset and return back to the original value after you have restarted the computer and logged on to the account.
A) Type 0 (number) and click on OK. (see screenshot below)
Modify_State.jpg
10. The registry will now look like this for the one without .bak now. (see screenshot below)
Repair_Reg2.jpg
11. Close regedit, and restart the computer.

12. See if you are able to log on to the use account now without getting this error.

   Tip
If this still does not help, then either try:



OPTION TWO

To Delete the User Account and Create a New User Account


NOTE: This option is only if you do not care about losing the user account with this error and possibly all contents of it's C:\Users\(user-name) user profile folder. Your programs will still be installed and unaffected.
1. Before starting, it is highly recommended that you create a system restore point in case you make a mistake while in the registry. This way you will easily be able to do a system restore to use the created restore point to undo the mistake.

2. Create a new user account that is the same type (standard or administrator) as the user account with this error.

3. If you are able to, you could copy the contents of the user folders from the old user account's C:\Users\(user-name) user profile folder with the error into the new account's (step 2) C:\Users\(user-name) user profile folder. Be sure to also copy any shortcuts in the Start Menu from the old user account into the new user account as well.

4. In User Accounts from the Control Panel, delete the user account with the error.

5. Open the Start Menu, type regedit in the search box, and press Enter.

6. If prompted by UAC, then click on Yes.

7. In regedit, navigate to the location below. (see screenshot below step 8A)
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
8. In the left pane, click on a S-1-5 (SID) key with a long number.
A) In the right pane of the selected S-1-5 (SID) key, look at the Data value of ProfileImagePath to see if it is the user account (ex: Moderator) with the error.
SID_Reg.jpg
B) If not, then repeat steps 8 and 8A until you have the correct S-1-5 (SID) key with a long number selected.

C) If it is, then continue on to step 9.
9. Right click on the selected SID key with the long number, and click on Delete.

10. Click on Yes to confirm deletion. (see screenshot below)
Confirm.jpg
11. If there is another SID key directly below the selected SID key (step 9) with the exact same long number with .bak at the end, then right click on this same SID key with .bak on it, and click on Delete. (see screenshot below)
Repair.jpg

A) Click on Yes to confirm deletion. (see screenshot below)
Confirm.jpg
12. When finished, close regedit.

13. Restart the computer, and log on to your new account.




That's it,
Shawn


 
Last edited:
Hi, Mixing with creating and copying files , there is some problem as you have rightly pointed out. But i am now having some problem. Wlhat i did is given below, so the problem is known to you.
I logged with admin account, system, and then just deleted ntuser.ini and other accounts.
How to get the correct ntuser.ini, ntuser.dat, ntuser.dat.log without any corruption.
I am getting so many files of ntuser with some more extensions.
I could delete using admin account those files, but it is not default creating it. Where i could see the correct file of ntuser.
By doing so, now i am having problem "you have beeen logged on to temp profiles..and all that. Is there a fix. Why ntuser files are not automatically created?
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz4.00 GBNVIDIA GeForce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
custom build
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
Motherboard
To be filled by O.E.M. To be filled by O.E.M.
Memory
4.00 GB
Graphics Card(s)
NVIDIA GeForce 210
Sound Card
(1) NVIDIA High Definition Audio (2) Realtek High Definiti
Screen Resolution
1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
ST3500312CS ATA Device
That's the main reason why I recommend to only create and use a new account without copying over those type of files. :(
 

My Computer My Computer

At a glance

64-bit Windows 11 Pro for WorkstationsIntel i7-8700K OC'd to 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top