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: Most helpful
  1. Anonymous
    2023-07-29T06:31:00+00:00

    Still this thread is rolling!

    I've done everything to the letter and when restarting in normal boot from MSConfig, I'm still in the pin loop. Not sure what to try differently...

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-07-14T19:25:58+00:00

    This solution really pointed me in the right direction, but I could not complete step 8. When I followed the directions after clicking "Install a driver", I went to my boot drive c:\windows\system32 and only folders and one file showed up. I knew there were many files, but since I couldn't see utilman.exe, I had to find another way to rename it. So, I got back to the blue screen, selected Troubleshoot -> Advanced Options -> Cmd Prompt

    In the Cmd window, I typed "cd d/ c:\windows\system32" (no quotes). The prompt changed to c:\windows\system 32

    At that prompt, I typed "rename utilman.exe utilman1.exe" Pressing ENTER went back to c:\windows\system32. The file name had been changed.

    When the prompt returned, I typed "rename cmd.exe utilman.exe" Pressing ENTER went back to c:\windows\system32 prompt. The filename had been changed.

    I typed EXIT to close the Cmd window, and restarted the computer.

    After it showed the startup screen, I followed step #13 above to get into msconfig and change it to "normal startup"

    Next problem: When I went to rename cmd.exe and utilman.exe in Windows Explorer, it said I did not have permission.

    So, I restarted and got back to the blue screen by holding Shift while restarting.

    I went to Troubleshoot->Advanced Options -> Cmd Prompt again and renamed the files like the first time:

    "cd d/ c:\windows\system32"

    "rename utilman.exe cmd.exe"

    "rename utilman1.exe utilman.exe"

    "exit"

    Restarted the computer, and everything was back to normal. I don't know why I couldn't rename the files with the method in the original post, but I simply could not see utilman.exe even though I was in \windows\system32. But this workaround did it for me. Hope it helps someone.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Ramesh 181.1K Reputation points Volunteer Moderator
    2023-06-03T17:07:06+00:00

    I have a very similar situation as far as the original problem is concerned

    (Set msconfig to Diagnostic Startup by mistake). But I can't get into

    recovery mode. If I hold down the shift key and press Restart I end up

    with a normal boot followed by "Something happened and your pin isn't

    available" as soon as I click the mouse key. I've pressed the power button

    1 to 4 times as soon as the first boot message appeared and never ended

    up in recovery mode. Any suggestions on how to get into Recovery mode

    so I can attempt to fic the original problem?

    You may create a bootable USB Windows Setup disk and access WinRE.

    Create installation media for Windows - Microsoft Support

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-05-06T10:03:17+00:00

    Some time cmd.exe is auto deleted then copy file from boot drive and paste in system 32 in explore menu open from re image your computer [ [ step 5]

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-05-02T11:15:47+00:00

    Thank you so much. Its best troubleshooting article I came across so far. It saved a lots of time for me.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments