For some reason, this didn't work out for me. Probably because I'm using Windows 11 and the utilman.exe is nowhere to be found in the windows\systems32. But I found this a workaround. Here is the original link (https://superuser.com/questions/1639846/cant-login-after-choosing-diagnostic-startup-in-msconfig):
Hold Shift and click the power icon, choose "Restart" and wait until you see the blue Windows recovery screen.
- Choose "Advanced" and choose Command Prompt
- You'll restart and you should be put to a screen where it asks you for your MS Password. Input that and you should get a Command Prompt.
- Input the following commands:
-
move c:\windows\system32\utilman.exe c:\ -
copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe - Restart your computer.
- On the login screen, now click the "Ease of Use" icon at the bottom-right next to the Power button.
- A command prompt will open.
- Type "msconfig"
- Change the "Startup Selection" to "Normal Startup"
- Restart the computer.
From there you should be able to log in with your PIN as usual. The last step is to clean-up what you did and re-enable accessibility:
- Open a folder explorer and go to
C:\ - Copy the "Utilman.exe" file from there into the
C:\Windows\System32\folder - It'll ask for administrator privileges, Continue, and you should be back to normal.