The Windows 11 login loop is uniquely maddening: your password is correct, Windows accepts it, the screen flickers like it’s signing you in — and then you’re staring at the login screen again. On HP laptops this often follows a Windows update, an HP Support Assistant driver push, or a corrupted user profile. The operating system itself is fine; it’s the handoff to your desktop that keeps failing.
Because you can’t reach the desktop, the repairs run from Safe Mode and WinRE. The fixes below move from the quickest profile repairs to deeper system fixes. For other brands, see the Lenovo login loop guide or the Acer variant .
Why this happens
- Corrupted user profile. The most common cause — damage to the profile’s registry hive or AppData breaks the sign-in sequence.
- Broken credential or PIN data. Corrupted Windows Hello or credential manager data fails post-login authentication steps.
- Graphics driver crashing at login. The driver loads during sign-in; a bad one kills the session before the desktop appears.
- Shell or Explorer failing to start. If explorer.exe can’t launch, Windows returns you to the login screen.
- Recent Windows or HP driver update. Updates touching the profile service, credentials, or graphics stack trigger loops.
- Disk errors in the profile area. Bad sectors hitting your user folder corrupt profile files.
How to fix it
Work through these in order. Safe Mode is your gateway.
Fix 1: Boot into Safe Mode
Safe Mode uses a minimal profile path that often bypasses the loop.
- At the login screen, hold Shift and click the Power icon > Restart.
- When WinRE appears: Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 for Safe Mode.
- If Safe Mode signs in successfully, the problem is in your normal profile or a third-party driver — continue with the fixes below.
- If Safe Mode loops too, skip to Fix 6 (system file repair) and Fix 7 (new profile from WinRE).
Fix 2: Repair the user profile registry entry
A corrupted profile reference in the registry is the classic cause.
- In Safe Mode, press Win + R, type
regedit, and press Enter. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. - Look for two similar keys (SIDs) — one ending in .bak and one without. The .bak one is your real profile.
- Rename the key without .bak by adding .tmp to it, then remove .bak from the real one, then rename the .tmp one to .bak.
- Select your profile key and set RefCount to 0 and State to 0 (double-click each DWORD to edit).
- Close Registry Editor and restart normally.
Fix 3: Remove corrupted credential data
Bad Windows Hello or credential data can abort the sign-in.
- In Safe Mode, open Settings > Accounts > Sign-in options.
- Under PIN (Windows Hello), click Remove and confirm.
- Also remove Fingerprint or Facial recognition if configured.
- Restart and sign in with your password. Re-add the PIN afterward from the same settings page.
- If you use a Microsoft account, also verify at account.microsoft.com from another device that the account itself is healthy.
Fix 4: Roll back the graphics driver
A graphics driver that crashes during session start produces exactly this loop.
- In Safe Mode, open Device Manager (Win + X > Device Manager).
- Expand Display adapters, right-click your GPU, and choose Properties.
- On the Driver tab, click Roll Back Driver if available.
- If not available, choose Uninstall device (tick Attempt to remove the driver for this device), restart, and let Windows install its basic display driver.
- Once you can sign in normally, install the proper driver from HP Support for your model.
Fix 5: Disable fast startup and problematic startup items
Isolate software interference with the sign-in sequence.
- In Safe Mode, open Control Panel > Power Options > Choose what the power buttons do, click Change settings that are currently unavailable, and uncheck Turn on fast startup.
- Open Task Manager (Ctrl + Shift + Esc), go to Startup apps, and disable everything non-Microsoft.
- Restart normally and test the login.
- Re-enable startup items in groups afterward to identify any culprit.
Fix 6: Repair system files from Safe Mode
Fix Windows components involved in sign-in.
- Right-click Start and choose Terminal (Admin).
- Run:
sfc /scannow - Then:
DISM /Online /Cleanup-Image /RestoreHealth - Restart and attempt a normal login.
- Also run
chkdsk C: /ffrom the same prompt to catch disk errors in the profile area — schedule it and restart if prompted.
Fix 7: Create a new user profile and migrate
When the old profile is beyond repair, a fresh one gets you working in minutes.
- In Safe Mode, open Settings > Accounts > Other users and click Add account.
- Create a local account (choose I don’t have this person’s sign-in information > Add a user without a Microsoft account).
- Sign into the new account normally — the loop should be gone.
- Copy your files from
C:\Users\<old-username>\Documents,Desktop,Pictures, etc. to the new profile. - For app settings, many programs store data under
AppData— copy selectively, since corrupted AppData may have caused the loop.
Fix 8: System Restore as the final fix
Roll the whole system back to before the loop began.
- From WinRE (Shift + Restart from the login screen): Troubleshoot > Advanced options > System Restore.
- Choose the most recent restore point predating the loop.
- Let it complete and test the login.
- Microsoft’s official account and sign-in troubleshooting is on the Windows support hub .
Closing
The login loop looks like a password problem but almost never is one — it’s a broken profile or a driver crashing the sign-in sequence. The registry profile repair and the new-profile migration resolve the overwhelming majority of cases on HP laptops. Once you’re back in, keep a second admin account on the machine; it’s the fastest recovery tool you’ll ever need if a profile corrupts again.
