Skip to content
PCFixWorkbench

Sign-in · Windows 11

Fix a sign-in screen that flashes and returns you to the lock screen

Written November 28, 2026

You enter your PIN or password, the screen flashes, and you are back at the lock screen — your password is usually fine, but your profile or a sign-in service is failing the moment the desktop tries to load. Test with Safe Mode first to separate a broken profile from a broken service, then repair the one that fails.

What you need

Read the problem before you touch it

  1. Notice that the credential was accepted. A wrong password gets an error message and a fresh prompt. A flash back to the lock screen with no error means Windows accepted you, started loading your profile, and something in that load failed hard enough to sign you straight back out.
  2. Try the other account, or the other sign-in method. If a second account reaches its desktop, your profile is the problem. If every account bounces, a service or system file is. Switching between PIN and password on your own account rules out a broken PIN on its own.
  3. Remember what changed just before. This loop often starts right after an update, a forced shutdown during sign-in, or a disk filling completely. That timing decides whether you start with services, free space, or profile repair below.

The simple fixes, in order

  1. Restart once, fully. Choose Restart from the power menu on the sign-in screen rather than Shut down, which can resume the same broken state with fast startup. Try signing in once more before anything deeper.
  2. Sign in with Safe Mode. Hold Shift while choosing Restart on the sign-in screen, then go to Troubleshoot > Advanced options > Startup Settings > Restart and choose Safe Mode. Microsoft describes this recovery environment in Windows Recovery Environment (Windows RE) technical reference. If Safe Mode reaches your desktop, a startup app or service is breaking normal sign-in.
  3. From Safe Mode, clear the obvious blockers. Check the system drive is not completely full — a profile cannot load with zero free space — and uninstall or disable the last app or driver added before the loop started. Restart normally and test.
  4. Check the profile and sign-in services are not disabled. Still in Safe Mode, open Services and confirm User Profile Service and Microsoft Account Sign-in Assistant are not set to Disabled; set them to Manual or Automatic as offered, then restart and test again.

The advanced route

  1. Repair system files from Safe Mode. Back in Safe Mode, open Windows Terminal as administrator, run DISM /Online /Cleanup-Image /RestoreHealth, then run sfc /scannow. Run both from inside the Safe Mode session rather than the recovery Command Prompt — the /Online form repairs the Windows session you are running. Microsoft documents both tools in Using System File Checker in Windows.
  2. Create a fresh account and move your files if the profile is damaged. In Safe Mode, add a new local administrator account, sign in to it normally, and confirm it stays on its desktop. Then copy your documents, pictures, and other files out of the old profile folder into the new one. A profile that bounces only its own owner is not worth deeper surgery.
  3. Use System Restore from the recovery options. If the loop began after a specific change and a restore point from before it exists, run System Restore from Advanced options. It rolls back system files and settings without touching your personal files.

End state

When it goes wrong

Related fixes

Sources