Use this guide if you cannot sign in to Windows after disabling Hyper-V with our .bat file. This is a rare and very specific issue. If your Windows sign-in works normally, you can skip this guide.
Important
This process modifies the Windows Registry from the recovery environment. Follow every step carefully and do not change any values other than the one specified in this guide.
Open Registry Editor from Windows Recovery
On the Windows lock screen, click the Power icon in the bottom-right corner.
Hold down the Shift key and click Restart.
Keep holding Shift until the Windows Recovery screen appears.
Select Troubleshoot.
Select Advanced options.
Open Command Prompt.
Enter the following command:
regedit
Press Enter to open Registry Editor.
Load the Windows Registry Hive
Because Windows is not running normally in the recovery environment, you must load its registry manually.
In Registry Editor, select HKEY_LOCAL_MACHINE in the left pane.
Click File in the top menu.
Select Load Hive…
Locate the drive containing your Windows installation.
Open the following folder:
Windows\System32\config
Select the file named:
SOFTWARE
Click Open.
When asked to enter a key name, enter:
msoftware
Click OK.
Note
Your Windows installation may use a different drive letter in the recovery environment. If you receive a “Cannot Load” error, follow the troubleshooting section at the bottom of this guide.
Disable Forced PIN Sign-In
Expand HKEY_LOCAL_MACHINE in the left pane.
Open the newly loaded msoftware key.
Navigate to:
msoftware\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
Select the Device key.
In the right pane, double-click DevicePasswordLessBuildVersion.
Change Value data from
2to0.Click OK.
Important
Do not modify any other registry keys or values.
Unload the Registry Hive and Restart
In the left pane, select the msoftware key.
Click File in the top menu.
Select Unload Hive…
Click Yes to confirm.
Close Registry Editor.
Close Command Prompt.
Select Continue to boot into Windows normally.
You should now be able to open Sign-in options and use your Microsoft account password instead of the unavailable PIN or Windows Hello method.
Cannot Load the SOFTWARE Hive
If you receive the following error:
Cannot Load X:\Windows\System32\config\SOFTWARE
The process cannot access the file because it is being used by another process.
The X: drive contains the Windows Recovery Environment and is not your actual Windows installation.
Click OK to close the error.
In the Load Hive file browser, select This PC.
Check the available drives, such as
C:,D:, orE:.Find the drive containing your actual Windows installation. It should have a large storage capacity and normally contain the following folders:
Program Files
Users
Windows
Open:
Windows\System32\config
Select the SOFTWARE file.
Click Open.
Enter the following key name:
msoftware
Click OK.
Return to Disable Forced PIN Sign-In and continue from there.
Note
The correct path should look similar to C:\Windows\System32\config\SOFTWARE. The drive letter may be different, but it must not be X:.
Synthera Docs