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

How to Fix the Error "The User Profile Service failed the logon. User profile cannot be loaded."

information   Information
When you log on to Vista or Windows 7 using a temporary profile (user account), you receive this error message:

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

For more information, see:
Error message when you log on to a Windows Vista-based or Windows 7-based computer by using a temporary profile: "The User Profile Service failed the logon. User profile cannot be loaded"
Note   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 renaming the C:\Users\(User Name) user profile folder.
warning   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   Tip
If the steps in the tutorial below do not help or you wish to try this first, then:




STEP ONE
Log on to the Computer
warning   Warning
You must be logged on to an administrator account using either step 1 or 2 below before you can move on to do either the OPTION ONE or OPTION TWO sections.

1. To Log on 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.​

OR
2. To Boot into Safe Mode and Use the built-in Administrator account
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.​
Tip   Tip
If you cannot boot into Windows and do not have a Windows installation DVD, then you can create and use the boot disc below to boot into Safe Mode with instead.
Tip   Tip

Windows 7: (Option Two at link)
Vista: (Option One at link)

A) Boot into Safe Mode (in Vista) or Safe Mode (in Windows 7).​
B) 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 2D.​
C) Log off in Safe Mode, and then log on to the built-in Administrator account to logon with that account in Safe Mode.​
D) Go to OPTION ONE or OPTION TWO.​




OPTION ONE
To 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 by UAC, either click on Continue (Vista) or Yes (Windows 7).​
4. In regedit, go to: (See screenshot below step 5)​
Code:
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. If you have 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)​
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 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.​
Repar_bak.jpg

F) Go to step 8.​

7. If you have 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)​
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.​
12. Restart the computer.​
13. See if you can logon now.​
NOTE: If this still does not help, then either try OPTION TWO below or see the yellow TIP box at the top of the tutorial.​



OPTION TWO
To Delete the User Account and Create Another One

warning   Warning
You can do this option if you do not care about losing the user account and the contents in the user folders. Your programs will still be installed, but you will need to create new shortcuts for them afterwards.

1. Delete the User account profile that this error is for.​
2. Open the Start menu.​
3. In the white line (Start Search) area, type regedit and press Enter.​
4. If prompted by UAC, click on Continue (Vista) or Yes (Windows 7).​
5. In regedit, go to: (See screenshot below step 7)​
Code:
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 on 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 on Merge.​
C) Continue on to step 8.​
SID_Reg.jpg


8. To Delete the Registry SID Key
A) Right click on the SID key, and click on Delete. (See screenshot above)​
B) Click on Yes to confirm deletion. (See screenshot below)​
Confirm.jpg


9. Close regedit.​
10. Now, just create a new normal Administrator account.​
11. Restart the computer, and log on to your new account.​
NOTE: If this still does not help, then either try OPTION ONE above or see the yellow TIP box at the top of the tutorial.​
That's it,
Shawn




 

Attachments

  • Repair_reg.jpg
    Repair_reg.jpg
    129.4 KB · Views: 10,875
  • thumb_User_Account.png
    thumb_User_Account.png
    11.4 KB · Views: 668
Last edited by a moderator:
Right click on each of the user folders one at a time and click on Properties. If it has a "Location" tab, then that is the one that you do not want to delete.
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    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, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    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
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
This is with the actual user folders themselves at C:\Users\(user-name). ;)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    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, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    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
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
ok thanks. So I am in the Computer>Local Disk (C:)>users
and what I have listed is the following

-Administrator (when I click on properties, under LOCATION it is says C:\users)
-Mark (my name) (when I click on properties, under LOCATION it is says C:\users)
-Public (when I click on properties, under LOCATION it is says C:\users)
-User (when I click on properties, under LOCATION it is says C:\users)

So I have no idea which one I should be deleting?
 

My Computer

You will need to open the user folder (ex: Mark or User) that you say everything is doubled in, then right click on the Desktop, Music, Pictures, etc.... folders and click on Properties instead. If the folder has a "Location" then do not delete it. If it does not have one, then delete it. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    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, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    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
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
i had a slightly different scenario, but close enough to post my success.

I'm using Win 7 (i know, wrong forum) and XP in a dual boot configuration. I am the only user of the computer, and only had the one admin account that was corrupted.

The issue started after using Windows Update to install the Windows Live components upgrade and/or Office 2007 on the Win 7 side. I installed the Live add ins 1.4 and a slew of office 2007 updates at the same time. It was all of the updates available for Office 2007 as of 11/29. All installed successfully.

I did not have any .bak registry entries, so I was limited in what I could try. Logging on in safe mode, I only changed the value in the RefCount from 1 to 0 and everything was back to normal.

I dont have any clue as to what specifically caused the problem, but I'm pretty annoyed b/c this machine ONLY has MS products on it. Was hoping to avoid as many issues as possible by sticking with IE, MS Office 2007, and MS keyboard and mouse.

Gobble Gobble!
 

My Computer

System One

  • Manufacturer/Model
    home build dual boot
    CPU
    Intel Core 2 Duo 6600
    Motherboard
    asus p5k deluxe
    Memory
    4gb
    Graphics card(s)
    nvidia 7900
    Screen Resolution
    1440 x 900
    Hard Drives
    6 western digital hard drives. mostly green, 500 gb and 1tb.
    PSU
    seasonic
    Case
    antec 900
    Cooling
    zalman
    Mouse
    microsoft 6000
    Keyboard
    microsoft 6000 v2
Thanks for the 'fix' I had the problem for 3 days before I found this thread's solution. It worked a treat although I'd like to know what is causing this to happen?? I only have 1 administrator account and could not perform a system restore in safe mode hence the steps I followed to resolve this issue were the only ones that helped.
 

My Computer

Hello Dhyani,

No, only what is in the tutorial. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    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, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    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
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Hi Dhyani

Do not delete the profile, just the .bak as in the tutorial. I have 2 user profiles on my pc and had to change them both but only the .bak and the value from 8000 to 0 on my 2nd profile. Follow the tutorial and it will solve this annoying problem
 

My Computer

Hello Aussie, and welcome to Seven Forums. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    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, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    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
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Jchee,

As a test, create a new administrator account to see if everything runs ok while logged in it. Hopefully it's just a issue with your current user account. If not, then you may need to reinstall Vista.

Thank you. I have deleted 2 adm accounts and created a new adm one. After account A was login and some operations have been done, then I tried to login account B. With no luck the problem (not always, just sometimes) came again, account B could not load its profile. The problem persisted even after logout and login again without shutting down the notebook.

Then I shut down the notebook and tried again. This time I login account A, without doing anything and then login account B. This time account B could load its profile.

<for more details of the problem please refer to my previous posts in page 77.>
 

My Computer

I found the best way to resolve this issue was to follow the tutorial and remove .bak from one user profile ( I had 2 ) and add it to the second etc. It worked for me without having to delete my admin account or having to re-install vista...something I'm more than happy about. The tutorial does work if you follow it step by step.
 

My Computer

Hello Lemon, and welcome to Vista Forums. I'm happy to hear that you got it sorted. :)
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    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, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    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
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Morning all :) seeking a lil assistance.....

My admin account is the only account...it has this error...I went to safe mode and I am not able to create a new user....

Ive tried the steps layed out in the first post only for the computer to return the .bak to the end of the profile.....

suggestions?
 

My Computer

Hello JLM Racing, and welcome to Vista Forums.

Since you are unable to do STEP ONE, then you might see if doing a System Restore at boot, or the other options listed, in the yellow TIP box at the top of the tutorial.

Hope this helps,
Shawn
 

My Computers

System One System Two

  • Operating System
    Windows 10 Pro 64-bit
    Manufacturer/Model
    Custom
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    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, 8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Mouse
    Logitech MX Master 3
    Keyboard
    Logitech wireless K800
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    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
  • Operating System
    Windows 10 Pro
    Manufacturer/Model
    HP Envy Y0F94AV
    CPU
    i7-7500U @ 2.70 GHz
    Memory
    16 GB DDR4-2133
    Sound Card
    Conexant ISST Audio
    Monitor(s) Displays
    17.3" UHD IPS touch
    Screen Resolution
    3480 x 2160
    Hard Drives
    512 GB M.2 SSD
Back
Top