Error “Something happened and your PIN isn’t available” in Diagnostic Startup

The System Configuration utility (msconfig.exe) has a mode called “Diagnostic startup, ” which starts Windows with minimal drivers and services. Over 200 services are disabled in that mode.

msconfig diagnostic startup - pin sign-in error

After enabling the Diagnostic Startup mode in the System Configuration Utility (msconfig.exe) and rebooting, you may be unable to sign in to your account using your PIN. The following error appears on the sign-in screen:

Something happened and your PIN isn't available.

Click to set up your PIN again.

msconfig diagnostic startup - pin sign-in error

When you click “Set up my PIN”, the following error occurs:

Search for app in the Store?

You need to install an app for this task.

Would you like to search for one in the Store?

msconfig diagnostic startup - pin sign-in error

Also, as the option to sign in using the password (the “Sign-in options” link) is missing, you cannot log in to your user account.

Cause

The issue happens because the Diagnostic startup mode turns off 200+ services. Selecting “Diagnostic Startup” in MSCONFIG and rebooting loads Windows with the bare minimum set of drivers and services. PIN sign-in requires a particular set of services to be enabled. As the services needed to process your PIN input are disabled, you get the above error.

The password sign-in option may not be available because the following option is enabled.

pin sign-in and diagnostic startup error

For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device

Note that the Windows 11 setup forces you to create a Microsoft Account and automatically enables the above Windows Hello sign-in option.

tips bulb iconIf you’re asked to boot into Diagnostic mode to solve a problem in the future, first turn off the above Windows Hello sign-in option via Settings. That way, you can still log in to your account (in Diagnostic mode) using the password instead of the PIN.

Resolution

To be able to log in to your account in Diagnostic startup mode, follow one of the methods below:

Method 1: Using the sign-in screen Command Prompt trick

Using the good old utilman.exe method, you can launch admin Command Prompt in the sign-in screen and re-enable the services using msconfig.exe. Follow these steps:

On the Windows sign-in screen, click the Power button, hold the Shift key, and click Restart. The computer will boot into the Windows Recovery Environment (Windows RE.)

shift + restart to winre from sign-in screen

In Windows Recovery Environment, click Troubleshoot.

windows recovery options

Click Advanced Options.

Click Command Prompt.

Note: If BitLocker is enabled on your drive, you’ll be asked to type the recovery key.

windows re bcdedit osdevice

In the Command Prompt window, type the following command:

BCDEDIT

Note down the drive letter for your Windows installation.

Hint: In the BCDEDIT command output, look for the boot loader entries containing the fields, namely, path (pointing to winload.exe) or osdevice or systemroot, and make a note of the drive letter, which in this case, is G:\

Now, you’ll see the X:\Windows\System32 prompt in the Command Prompt window. Type the following commands to enable the admin Command Prompt on the sign-in screen.

G:
cd\windows\system32
ren utilman.exe utilman.old
copy cmd.exe utilman.exe
wpeutil reboot

(*where G:\ is the OS drive letter according to the BCDEDIT output.)

rename cmd.exe to utilman.exe

The last command reboots the system automatically.

When you see the sign-in screen, press Win + U or click on the “Accessibility” button at the bottom right corner of the sign-in screen.

msconfig diagnostic startup - pin sign-in acessibility utilman.exe

This starts the admin Command Prompt window at the sign-in screen.

Type msconfig and press Enter.

msconfig diagnostic startup - pin sign-in error

Choose “Normal startup”, click OK, and restart Windows.

You should be able to log in to the system by typing the PIN.

msconfig diagnostic startup - pin sign-in error resolved

Important: After logging in, you must undo the utilman.exe hack. To do so, open admin Command Prompt and run:



sfc /scanfile=c:\windows\system32\utilman.exe

(or)

cd /d c:\windows\system32
del utilman.exe
ren utilman.old utilman.exe

That’s it! You’ve fixed the PIN sign-in.


Method 2: Enable the Password sign-in option

In this method, you boot into the Windows Recovery Environment and edit the registry offline to turn off the mandatory Windows Hello/PIN option. After doing so, you can log in using the Microsoft Account (MSA) password.

On the Windows sign-in screen, click the Power button, hold the Shift key, and click Restart. The computer will boot into the Windows Recovery Environment (Windows RE.)

shift + restart to winre from sign-in screen

In Windows Recovery Environment, click Troubleshoot.

windows recovery options

Click Advanced Options.

Click Command Prompt.

Note: If BitLocker is enabled on your drive, you’ll be asked to type the recovery key.

windows re bcdedit osdevice

In the Command Prompt window, type the following command:

BCDEDIT

Note down the drive letter for your Windows installation.

Hint: In the BCDEDIT command output, look for the boot loader entries containing the fields, namely, path (pointing to winload.exe) or osdevice or systemroot, and make a note of the drive letter, which in this case, is G:\

Then, type the following commands to enable the password sign-in option in the registry:

pin sign-in and diagnostic startup error - enable password signin registry

reg load HKLM\OffReg g:\windows\system32\config\SOFTWARE
reg add "HKLM\OffReg\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device" /v DevicePasswordLessBuildVersion /d 0 /t REG_DWORD /f
reg unload HKLM\OffReg
exit

Exit Windows RE and continue to Windows.

Alternatively, you can also start the Registry Editor (regedit.exe) interactively, load the SOFTWARE hive and change the registry setting.

(Ref: DevicePasswordLessBuildVersion registry value.)

You can now see the password sign-in option by clicking the “Sign-in options” link. Type in your Microsoft Account (MSA) password and log in to your account.

password sign-in enabled

Once logged in, load MSCONFIG and switch to Normal startup.

msconfig - switch to "normal startup"

Click OK, and restart Windows.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

10 thoughts on “Error “Something happened and your PIN isn’t available” in Diagnostic Startup”

  1. This gave me the password line option however even though I am plugged into the network and I can see that it has a connection I am getting “Your device is offline. Please sign in with the last password you used on this device.”

    Reply
  2. A customer’s laptop apparently installed an update automatically last night that caused this issue. This got us back in, so Thank you very much!

    Reply
  3. Everything went smooth and CMD specified “operation successful” but even though, after booting, the password option wasn’t available. I did enter the right disk (C), I don’t know what could be the problem at this point.

    Reply
  4. Hey so I got all this right but I don’t remember my password so when I changed it, it didn’t update, is there any way you can fix this? This was my last hope and I’m not giving up.

    Reply
  5. Thank you for this useful post. I came really close to resetting everything but following the command prompts step helped another. Thank you!!

    Reply
  6. Thank you so much. I have spent several days getting unclear and partial answers from artificial intelligence that were confusing. You are the only one that clearly explained what to do and how to do it.

    Reply
  7. After latest Win 11 update I needed to use safe mode but cannot login due to missing login options. I spent almost two days with this issue. This post was a life saver. Thank you!

    Reply

Leave a Comment