My Windows computer crashed (blue screen), and when it came back up, none of the WSL VMs is working anymore. They're all in the "Stopped" state, and starting them gives the error
This user isn't allowed to sign in to this computer
I tried to disable WSL feature, restart, enable it, restart, but got the same error.
I also tried uninstalling and reinstalling a WSL distribution, but when launching the new distribution, I get this error
WslRegisterDistribution failed with error: 0x80070531
Error: 0x80070531 This user isn't allowed to sign in to this computer.
I am not sure what else I could try at this point. Does anyone know what this problem might be, or how I could get around it?
It was reported that the following is a solution to this problem.
- Save and clear the security event log (Event Viewer> Windows Logs> Security).
- Start Registry Editor (Click on Start and type regedit).
- Locate the following key, and then set the value of this key to 1:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\CrashOnAuditFail
- Restart the computer. The registry changes do not take effect until you restart the computer.
User contributions licensed under CC BY-SA 3.0