Windows 11 login stuck on corrupt profile


Recommended Posts

The available space on my C (system) drive was low, so I moved the Users folder to my D drive and edited the registry accordingly.

After rebooting, I logged in to my work account and checked everything was okay. So far, so good.

Then I rebooted and tried to log in to my personal account and got the error message:

"The User Profile Service service failed to start.

User profile cannot be loaded."

I am stuck on this login screen, with no option to switch to my work account, even after a reboot.

Unfortunately, I don't have any System Restore points or any kind of backup to rely on.

Any help will be greatly appreciated.

Press the shift. Select Power then Restart.

Choose an option > Troubleshoot > Advanced Options > Startup Settings > Restart

Press 4 for Enable Safe Mode

Login to your user account as usual.

Run regedit

Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Two of the keys will be [something] and [something].bak

Rename [something] to [something].rename

Rename [something].bak to [something]

Rename [something].rename to [something].bak

Reboot

Done!

  • Like 2

Thanks for replying @Mockingbird.

I followed your instructions up to the

On 02/07/2023 at 15:39, Mockingbird said:

Login to your user account as usual.

step, where I am back at square one with the same error message. So Windows will not allow me to log in to my personal account, and there is no obvious way to log in to my work account instead.

Any further suggestions?

Following the steps provided to get into Safe Mode, I'd suggest moving your profile back to the C drive.

I gotta say... I am 0 days old hearing someone move their profile to a new drive to save space. I know when I uninstall programs or whatnot, I clean out the profiles manually as the AppData folders have a tendency to get left behind from some uninstallers or portable apps that don't remove files from them like game saves etc.

Is there anything else from C you can get rid of?

Long way around, if the C drive is removable, it may be possible to put it in another computer and move those files back. 

Last ditch effort... using the same steps as above, repair your installation of Windows.. but you may lose data. Afterwards you shouldn't have any issues moving your custom user data back.

Also, this:

https://www.makeuseof.com/fix-the-user-profile-service-failed-the-logon-windows-10/

  • Like 1
On 02/07/2023 at 09:35, Soap-dodger said:

Thanks for replying @Mockingbird.

I followed your instructions up to the

step, where I am back at square one with the same error message. So Windows will not allow me to log in to my personal account, and there is no obvious way to log in to my work account instead.

Any further suggestions?

Are you saying that you are unable to log in even in safe mode?

  • Like 1
On 02/07/2023 at 18:31, xMorpheousx416 said:

Following the steps provided to get into Safe Mode, I'd suggest moving your profile back to the C drive.

I gotta say... I am 0 days old hearing someone move their profile to a new drive to save space. I know when I uninstall programs or whatnot, I clean out the profiles manually as the AppData folders have a tendency to get left behind from some uninstallers or portable apps that don't remove files from them like game saves etc.

Is there anything else from C you can get rid of?

Long way around, if the C drive is removable, it may be possible to put it in another computer and move those files back. 

Last ditch effort... using the same steps as above, repair your installation of Windows.. but you may lose data. Afterwards you shouldn't have any issues moving your custom user data back.

Also, this:

https://www.makeuseof.com/fix-the-user-profile-service-failed-the-logon-windows-10/

 

On 02/07/2023 at 18:33, Mockingbird said:

Are you saying that you are unable to log in even in safe mode?

As I cannot log in to my personal account, even in Safe Mode, I was wondering if there is a text file on my C drive that could be edited to ensure the next login after a reboot would default to my work account.  Any idea?

On 02/07/2023 at 11:25, JammyDodger said:

Yes.

Trying using the built-in administrator account, then create a new user account

1. On the Windows sign-in screen, press and hold the Shift key, then select Power > Restart
2. After your machine reboots, click on "Troubleshoot" under Choose an option
3. Click on "Advanced options" > select "command prompt"
4. On the command prompt window, type net user administrator /active:yes and press Enter
5. Reboot your machine, and see if you'll be able to log in to the built-in administrator account
6. Create a new user account and copy your files to the new account(go through the steps under "My computer is in a workgroup") . Please refer to this article as a guide: 
Fix a corrupted user profile in Windows - Microsoft Support

  • Like 1

Thanks again, @Mockingbird.

Steps 1 to 4 completed, though I have doubts about the efficacy of step 4 because the administrator account in the Recovery Environment is not the same administrator account as in the Windows Environment after a successful log in.

I note that WinRE runs on drive X and my C and D drives are accessible from the WinRE cmd line (though their drive letters have been swapped around).

Anyway, after reboot, the logon screen remains stuck on my personal account, with no other account displayed at bottom left of screen. So, no further forward. ☹️

On 02/07/2023 at 18:31, xMorpheousx416 said:

Following the steps provided to get into Safe Mode, I'd suggest moving your profile back to the C drive.

I gotta say... I am 0 days old hearing someone move their profile to a new drive to save space. I know when I uninstall programs or whatnot, I clean out the profiles manually as the AppData folders have a tendency to get left behind from some uninstallers or portable apps that don't remove files from them like game saves etc.

Is there anything else from C you can get rid of?

Long way around, if the C drive is removable, it may be possible to put it in another computer and move those files back. 

Last ditch effort... using the same steps as above, repair your installation of Windows.. but you may lose data. Afterwards you shouldn't have any issues moving your custom user data back.

Also, this:

https://www.makeuseof.com/fix-the-user-profile-service-failed-the-logon-windows-10/

Thanks, @xMorpheousx416.

Tried all suggestions but no further forward.

Getting the feeling that something the logonui.exe (if it's still named that) is trying to hook a file it cannot find/corrupt registry entry. But... alas, the only idea I have left.. is to place that drive in another computer and move your profile back to it.

If D is not a partition of C, using a flash drive should be quick and easy.

I checked my User folder on this PC.. she's taking up to near 20GB of data. I can see why you moved it, but from here on out.. I'd suggest trimming the fat in other ways other moving Windows' files/folders.

 

Edited by xMorpheousx416
  • Like 1

Actually had this happen to a computer at work (AD Joined) and it seems to be something to do with the profile service itself being corrupt, not the profile.

  • Like 1
On 02/07/2023 at 14:46, Mockingbird said:

Trying using the built-in administrator account, then create a new user account

1. On the Windows sign-in screen, press and hold the Shift key, then select Power > Restart
2. After your machine reboots, click on "Troubleshoot" under Choose an option
3. Click on "Advanced options" > select "command prompt"
4. On the command prompt window, type net user administrator /active:yes and press Enter
5. Reboot your machine, and see if you'll be able to log in to the built-in administrator account
6. Create a new user account and copy your files to the new account(go through the steps under "My computer is in a workgroup") . Please refer to this article as a guide: 
Fix a corrupted user profile in Windows - Microsoft Support

Jammy... can you try these steps, (the command prompt) but instead of turning on/off the admin acct, try:   sfc/scannow

?

On 02/07/2023 at 18:04, Matthew S. said:

Actually had this happen to a computer at work (AD Joined) and it seems to be something to do with the profile service itself being corrupt, not the profile.

What was the solution if we may ask?

Not too many more ways of fixing this I'm aware of... or found searching, that won't lead to installing Windows again. Heck.. might be even quicker than going thru a list of things to avoid it. Perhaps using the "save my files" method if it's an option, "should" (and I take that with a grain of salt) maintain your other settings and apps.

  • Like 1
On 02/07/2023 at 13:56, JammyDodger said:

 

As I cannot log in to my personal account, even in Safe Mode, I was wondering if there is a text file on my C drive that could be edited to ensure the next login after a reboot would default to my work account.  Any idea?

Not that I'm aware of.

I could only imagine if a simple text file could override the boot sequence or defeat TPM if it's in place. Miss the good ole days of Windows 95? 

I remember being able to use the EDIT feature at the DOS prompt before starting Windows... if there was a driver issue or something, you could just edit the boot.ini file (I think that's what it was named)... replace said wonky driver with the name of Windows' basic driver (like vga.sys)... and boom, you're back on the desktop from a failed boot.

Bout all I can think of boss... other than trying to move your profile back, you may just have to reinstall Windows. You should be able to take management of any files locked to the profile if you just used a username/password combo, or have that saved key on disk.

  • Like 1
On 02/07/2023 at 21:05, leonsk29 said:

I'm curious... what did you do in the Registry to move the entire "C:\Users" folder to another drive? Is that even safe or supported? Seems like your problems started after doing that.

EDIT: I was doing a bit of research because I wanted to make sure and no, moving the C:\Users folder isn't supported at all, even with Registry edits, so I'm sorry to say that this problem was caused by doing that. Your user profile and probably Windows itself is corrupted now, you might have to reinstall.

  • Like 1

Hello,

Have you tired copying (not moving) the user profile back to the C:\ drive?  If so, were  you then able to recover it?

Regards,

Aryeh Goretsky
 

  • Like 1

 

On 03/07/2023 at 03:53, goretsky said:

Hello,

Have you tired copying (not moving) the user profile back to the C:\ drive?  If so, were  you then able to recover it?

Regards,

Aryeh Goretsky
 

Unfortunately, in the Windows Recovery Environment (WinRE) I don't have sufficient privileges to do that.

On 03/07/2023 at 01:52, xMorpheousx416 said:

Jammy... can you try these steps, (the command prompt) but instead of turning on/off the admin acct, try:   sfc/scannow

Did this: it found corrupt files and successfully repaired them. I checked the CBS.log file and was surprised at the amount of corruption encountered.

I didn't expect any corrupt files on the X drive in WinRE. Surely WinRE gets its OS from its dedicated partition rather than my system C (D in WinRE) volume. Or am I wrong?

After the reboot required for the repairs to take effect, I went back into WinRE and ran the same command again. The result was the same: corrupted files found and repaired. Obviously, the previous reboot had no effect on the repair.

After another reboot and back at the WinRE command prompt, I changed the path environment variable so that it referenced the D volume (my C drive) rather than WinRE's X volume. Then I cd'd to D and ran the sfc command again. Again corrupt files found and repaired.

After another restart, I'm back at the "stuck" logon screen, getting the original error message.

I deliberately entered the wrong password and got the expected error message re wrong password.

So, no progress, I'm afraid

 

On 02/07/2023 at 18:51, Mockingbird said:

Follow the "Change Registry Configuration" section.

I need to be able to log in to Windows before I can edit the Registry.

On 03/07/2023 at 23:33, leonsk29 said:

Just reinstall Windows from scratch if you can, you're prolonging your pain unnecessarily...

I will.

On 03/07/2023 at 17:45, JammyDodger said:

I need to be able to log in to Windows before I can edit the Registry.

I will.

Actually

You can do a regedit from the CMD Recovery Console. Once the registry editor loads, highlight hkey_local_machine and click file load hive. Then navigate to the Windows registry hive directory (example c:\windows\system32\config), then pick the hive you wish to load.

Then once loaded give it a name. Then edit what you need to edit. Then when you are finished, highlight the loaded hive and click file / unload hive.

  • Like 2
On 03/07/2023 at 02:05, leonsk29 said:

I'm curious... what did you do in the Registry to move the entire "C:\Users" folder to another drive? Is that even safe or supported? Seems like your problems started after doing that.

Edited every reference of C:\Users to D:\Users.

On 03/07/2023 at 18:45, JammyDodger said:

I need to be able to log in to Windows before I can edit the Registry.

Not at all. The Registry exists as regular files inside the C drive. If you can boot the PC with live media, you can copy the Registry files you need, open and edit them in another system, and copy them back. I don't know if that will solve your problem, though...

On 03/07/2023 at 18:50, JammyDodger said:

Edited every reference of C:\Users to D:\Users.

That's not supported by Microsoft, hence the issue you're having now. Windows really doesn't like when someone moves the "C:\Users" folder to another location, even after editing the Registry. There are more pieces in play here.

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Last week I was investigating an issue with contacts and tried using the new Outlook. In the real (Classic) Outlook, you can easily go to any Outlook folder and present it in a Table View, then customize the columns to show/sort any field, which was exactly what I needed. But of course, the new Outlook doesn't have this feature at all. I gave up. Oh, and can we possibly stop claiming the new Outlook has PST support? What it really has is the ability to use the real Outlook in the background to pretend to have PST support. There is no PST support without the real Outlook installed.
    • Honestly just before Panos left it started to feel like MS just wasnt interested in them so they were being less innovative with them, and then when he DID leave for Amazon its kind of clear the direction is gone. It felt like Panos had both goals and drive, and a vision, but it felt like no matter what his title/department was the Surface devices never had the full interest of the rest of management and he was just pushing a bolder up a hill that MS was adding dirt to as he went.
    • A roguelike and a 4X strategy game are free to claim on the Epic Games Store by Pulasthi Ariyasinghe The final leg of the Epic Games Store's mystery giveaways promotion just landed, and it brought along two more games to keep. Last week's Lonestar and Calico giveaways have now been replaced with copies of Rogue Waters and Songs of Conquest to claim for PC gamers. As always, the game is yours to add permanently to your Epic Games Store library within the next seven days. Diving into the games, Songs of Conquest is developed by Lavapotion. This is a turn-based 4X strategy experience that has players making tough decisions and participating in tactical combat while also managing their kingdom. "Songs of Conquest is a turn-based strategy game inspired by 90s classics. Lead powerful magicians called Wielders and venture to lands unknown," explains the developer. "Wage battles against armies that dare oppose you, hunt for powerful artifacts and expand your territory. The world is ripe for the taking – seize it." Meanwhile, Rogue Waters comes from developer Ice Code Games. This rogue-lite experience has you taking the role of Captain Cutter as he commands his ship and crew through procedurally generated encounters. You'll be recruiting and training crew, use sea creatures, and battle with other ships and pirates. "Set sail as Captain Cutter, a pirate caught in a deadly struggle for power and vengeance," adds the developer. "Navigate dangerous waters, unleash mythical sea creatures, and outwit enemies as you chase legendary treasure and confront dark secrets." The newly available Rogue Waters and Songs of Conquest giveaways on the Epic Games Store are set to run until June 11, giving PC gamers seven days to claim the latest offer. Once this closes out, a new freebie will take its place on the same day, which is slated to be Warhammer 40K Speed Freeks. Don't forget that mobile gamers can check out the Epic Game Store's weekly giveaways on Android and iOS to grab a freebie there as well.
    • Still using Classic Outlook? Microsoft highlights 15 reasons to switch to New Outlook by Usama Jawad As many of you may know, Microsoft has been trying to get customers to ditch Classic Outlook in favor of New Outlook for quite some time now. To that end, it has added numerous capabilities to the latter, including PST features, and it is working on several more, such as a unified inbox. However, customer response has been a bit lukewarm so far, with many considering the New Outlook to be "hot garbage". Now, Microsoft has highlighted 15 features that users can leverage in New Outlook in yet another attempt to get customers to migrate. Although not all of the 15 capabilities are exclusive to New Outlook, in fact, most of them are available in Classic Outlook as well. But Microsoft hopes that this combination of familiar and fresh features will be able to attract existing users as well as new ones. For ease of readability, we have summarized the 15 features below: Pin an email: This makes it easier to track important emails Snooze an email: You can temporarily snooze an email thread for a specific time frame until it becomes relevant again. This can be very useful in scenarios where you don't feel like actively following a thread or simply want to follow up on a later date Add multiple categories at the same time: You can assign multiple categories to an email through a single, simplified interface Sweep: As the name implies, you can define automated move processes on your inbox to declutter it, rather than cleaning it up manually Schedule send: Does exactly what it says on the tin, and can be useful when accommodating recipients in different timezones Simplified folder sharing: The sharing process has been simplified so permissions are automatically applied on parent folders Follow a meeting: This is an RSVP option that lets people know that you won't be able to join the meeting but would still like to access a recap Save calendar views: You can save different views for the calendar based on different workflows Improved meeting tracking: Organizers have more controls in viewing meeting responses, such as the ability to sort and download them. Typically useful when there is a large audience Meeting recap: The Outlook Calendar surfaces a meeting recap with recordings, transcripts, and shared files Filtered views: Allows you to declutter your Calendar so that it's easier to scan and schedule Change a recurring event: Users can modify future events of a series of meetings while preserving the configuration of previous ones Rename your email account: This labeling makes it easier to identify multiple accounts in Outlook Modern themes: Exactly what the name says, plus Dark Mode Keyboard shortcuts: This facilitates flexible user behavior as customers can choose between Outlook for Windows shortcuts, Outlook for the web, or turn them off completely There you have it. It's a decent list, but it remains to be seen if it will move the needle in a meaningful way for users who are attached to Classic Outlook. Again, a lot of the aforementioned features are already available in Outlook Classic, but for some, native functionality is not present, and people typically resort to workarounds. Microsoft will be hoping that it's primarily those capabilities that get people to finally switch.
    • Please I need help I been trying to find this secure boot on my ColorFul motherboard in the bios But i cant i turned off CSM everything watch every video i cant find it. BATTLE-AX B660M-HD DELUXE V20
  • Recent Achievements

    • Conversation Starter
      mobandz earned a badge
      Conversation Starter
    • Apprentice
      fernan99 went up a rank
      Apprentice
    • One Month Later
      nothanks earned a badge
      One Month Later
    • One Month Later
      B2Proxy earned a badge
      One Month Later
    • One Year In
      MadMung0 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      478
    2. 2
      PsYcHoKiLLa
      247
    3. 3
      Skyfrog
      79
    4. 4
      FloatingFatMan
      76
    5. 5
      Michael Scrip
      60
  • Tell a friend

    Love Neowin? Tell a friend!