Diagnostic Mode "Something happened and your PIN isn't available" Boot Loop - Cannot Login (SOLUTION)

Anonymous
2021-06-29T20:44:40+00:00

Problems:

  • At the Windows login screen the message "Something happened and your PIN isn't available. Click to setup your PIN again." appeared. Clicking this did nothing, it would just return me to the same login screen. There was no alternative option to Sign in with Password like there normally is. Effectively, login is impossible and the PC appeared bricked.

Process to get error:

  • I went to msconfig (Win+R>msconfig) and selected Diagnostic Startup with all default settings. I immediately restarted my PC to find that I could not log in.
  • (Unrelated?) I tried diagnostic startup b/c one of my mice started randomly highlighting stuff - as if Click Lock or sticky keys were on (all were off).

Research: I found reports of this back to 2018. I also ran into System Restore errors which I found instances of back to 2017. The dozens of other forums usually dead-ended or resulted in a "Refresh your PC" or "Do a clean install of Windows." Unacceptable! I was about to give up until I pieced this solution together.

Solution: Force boot mode back to Normal via command prompt and restart.

Skill level: Intermediate

Time estimate: 10 minutes

Solution notes:

  • I did this with a bootable USB drive plugged in - I don't think that was necessary but try plugging one in if this fails without it.
  • If you can successfully boot into safe mode with command prompt (option 5 from Startup Settings blue screen), then try Steps 14-17 below and see if it works. If it does, you're good to go. If not, go through all steps.
  • Tested on Windows 10 and 11.

Steps:

  1. Get into Recovery Mode (blue screen): At the login screen, click the bottom-right corner Power Button. Then, before doing anything, hold down the Shift key. While holding Shift key down, click on Restart. This should reboot the computer and take you to the “Choose an Option” Recovery screen.
    • If this doesn't work, see alternate later in post.
  2. If prompted, press F1 to enter Recovery Environment. If not, proceed to next step.
  3. Select Troubleshoot and/or Advanced Options until you get to a screen with a System Image Recovery option.
  4. Click System Image Recovery.
  5. Click Cancel on the "Re-image Your Computer" window.
  6. Ensure "Select a system image" is selected and click Next
  7. Click Advanced, then select Install a Driver and click OK. This gets you access to a Windows Explorer-type folder structure.
  8. Click This PC on the left side and find which drive has utilman.exe in the [drive letter]\Windows\System32 folder. The drive letter may not match your normal letters - this doesn't matter. Only one drive will have utilman.exe so you know you are in the correct one once you find it (my letters happened to match, except I had an X drive that wasn't useful).
  9. Rename Utilman to Utilman1. In this folder mode, you'll need to right-click and select Refresh to see the changes.
  10. Rename cmd to Utilman (refresh view to confirm both files are named properly).
  11. Close/cancel all of the open windows (close the Open window, click Cancel on the Add a Driver window, then close the last window)
  12. Click Continue from blue screen to reboot to your login screen.
  13. Click the Accessibility button on the login screen. A command prompt should open. (icon is a dashed clock at 3 o'clock for Win 10 or a person for Win 11)
  14. Type: "start msconfig" without quotes and press enter.
  15. The msconfig window should now appear. Select Normal Boot from the first tab and click Ok.
  16. Confirm restarting your system.
  17. At the next login screen, you should be able to enter your PIN and everything should be back to normal!!
  18. Now, you need to go back and rename Utilman to cmd and Utilman1 to Utilman (I had to follow steps 1-12 since Windows wouldn't let me edit the files while logged in). After re-completing step 12, you should be done.

Other useful info:

  • The default command prompt directory should be C:\Windows\System32. If that's not what's displayed, type "cd /d c:" without the quotes and press enter. Then type "cd c:\windows\system32" without quotes and press enter.
  • Step 1 Alternate: Shut down your PC. Once powered off, boot it back up, then as soon as you see the Windows loading dots or windows logo, hold down your power button 5-10 seconds to turn off your PC. Repeat this at least once until the Recovery menu appears (big blue screen).

Unsuccessful attempts before discovering solution:

  • Restarting 5,000 times.
  • Startup repair numerous times, with and without bootable USB (no repairs were found)
  • Tried options 1, 2, 4, 5, and 6 from the Startup Settings blue screen (available by holding shift while selecting the power button and the restart button from the login screen)
  • System Restore (failed because it failed to extract WindowsApps, error code 0x80070026) - this seems like a permissions error?
    • I tried using using Safe Mode with Command Prompt and using takeown to get permission. Most operations listed as Success, but I received an error as the last output line from step 3 of thisArchived Forum I used. I tried Step 4 anyways but it didn't work.
  • Booting from Windows usb (nothing worked except I could install a fresh version of Windows - no thanks)
  • Booting into safe mode (same PIN error in all three modes - safe mode, SM with command prompt, and SM with networking). None of the modes looked different from the Diagnostic Mode except the command prompt option obviously displayed a command prompt.
Windows for home | Windows 10 | Windows Hello, lock screen and sign-in

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

327 answers

Sort by: Oldest
  1. Anonymous
    2025-06-09T15:26:41+00:00

    for some reason, cmd just disappeared when i renamed Utilman to Utilman1

    help

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-06-21T06:21:58+00:00

    Thanks so much for these detailed instructions. I attempted them and got to the System Configuration window where I changed that to Normal startup and restarted however there was no change in behaviour, ie still stuck in 'make a pin' loop.

    I attempted it again and noticed in the Boot tab of System Configuration window that the boot options are set to Safe Boot even though I've set a Normal Startup in the General tab.

    I attempted uncheck the Safe Boot and it said that BitLocker is enabled and it will enter recovery mode at the next boot, do you want to proceed. Which I hit Yes to. Then it said than it couldn't save the original boot config because a required privilege is not held by the client.

    So I'm afraid I'm still stuck in the loop unless anyone has a fix for this?

    Thanks

    EDIT:

    I if he above method doesn't work, this worked for me.

    Guys If your problem about "Safe boot" do this first and do chatgpt what said. It works for me!

    do Omid hosseini what said first.

    Then do this: Chatgpt:
    Hey bro, what you're dealing with is a classic Windows boot loop issue — but don’t worry, it’s not hopeless. The reason you’re getting that error is because your system is currently in Safe Boot mode and you're not able to launch Command Prompt with admin privileges. That’s because Diagnostic Startup or Safe Mode disables many essential services. So basically: “A required privilege is not held by the client” = You don’t have admin rights because the system is running in a restricted mode. Here’s how to fix it step-by-step:

    1. Open Command Prompt from the lock screen If you've already replaced utilman.exe with cmd.exe, click the Accessibility icon on the lock screen to open Command Prompt.
    2. Manually disable Safe Boot Type the following command:

    Copy

     bcdedit /deletevalue safeboot  
    

    This does the same thing as unchecking “Safe Boot” in msconfig.
    Then reboot the system using: Copy

      shutdown /r /t 0 3.  
    

    System should now boot normally Once the system starts up normally and you’re able to log in, run this command: sfc /scannow

    This will restore the original utilman.exe file and repair any modified system files.

    From here:

    https://learn.microsoft.com/en-us/answers/questions/1181888/how-to-fix-something-happened-and-your-pin-isnt-av

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments