EDIT: More context, my device was still locked after a reset. Solution below allows your data to be preserved, and should be the first thing tried before resetting the computer.
Couldn't find a solution anywhere for this myself. Since this is the latest thread on the topic I will post the solution that worked for me here.
- Restart device while holding shift to enter Windows Recovery Environment. Troubleshooting > Advanced Options > Open CMD. This is where you will need your recovery key.
- After CMD is open, type "regedit" and hit enter.
- Click "HKEY_LOCAL_MACHINE", then "File" in top left corner, then "Load Hive".
- A file explorer should appear. It should be "System32" as the folder already. If not, follow: This PC > (C:) Drive > Windows > System32
- Navigate to "Config" > "Software". Pop up box named "Keyname" should appear. Enter '1234' as keyname. Box will close after complete.
- Expand "HKEY_LOCAL_MACHINE" > expand folder "1234" > Microsoft > WindowsNT > CurrentVersion > PasswordLess > Device.
- Double click "DevicePasswordBuildVersion" from window beside file directory. Change value data from '2' to '0'.
- Restart computer by exiting the Recovery Environment.
- Should now have access to "Sign-In Options" on the sign in page. Choose "Sign-In with Microsoft Account" and use your account details.
- Everything should be back to normal, you will have to create a PIN again if you so choose, following the usual steps in settings.
Pretty ridiculous to have this option available without clearly informing the user of the ramifications, and the inability to unlock your device once found.
Hi Ryan,
YOU ARE A LIFESAVER! THIS WORKED FOR ME
How on earth did you discover this solution? This worked like a miracle! Are you a software engineer?
I do have a few questions though, if you don't mind me asking.
- For your 7th point, I didn't know what you mean by "from window beside file directory"?
- For your 7th point, I saw "DevicePasswordLessBuildVersion", not "DevicePasswordBuildVersion."
Are they the same thing?
- In your instructions, you mentioned that we should create a file called "1234" under "HKEY_LOCAL_MACHINE". Each time we restart our computer by exiting the Recovery Environment, is the "1234" file automatically deleted? Do we have to somehow manually delete the "1234" file after we have fixed the problem every single time? If we don't delete the "1234" file, would that negatively impact our computers in any way?
After I fixed my computer by following your instructions, I went back to the same registry by following the same instructions you provided and noticed that the file called "1234" under "HKEY_LOCAL_MACHINE" was not there anymore and that I had to create the file "1234" again in order to eventually access "DevicePasswordLessBuildVersion".
- Moreover, I accessed the registry for a second time and when I went to "DevicePasswordLessBuildVersion", I noticed the value is still set to 0. Should I set it back to 2?
If the value is still set to 0, could this open our computers up to malware, viruses, or anything like that or would this negatively impact our computers in any way?
THANK YOU SO MUCH RYAN!!!