WSL: WslRegisterDistribution failed with error: 0x8007023e
Version
Microsoft Windows [Version 10.0.19045.2364]
WSL Version
- WSL 2
- WSL 1
Kernel Version
5.15.79.1
Distro Version
No response
Other Software
No response
Repro Steps
>wsl.exe --install Ubuntu-20.04
Expected Behavior
It will launch Ubuntu 20.04.
Actual Behavior
>wsl.exe --install Ubuntu-20.04
Ubuntu 20.04 LTS は既にインストールされています。
Ubuntu 20.04 LTS を開始しています...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007023e
Error: 0x8007023e {???????? ???}
?? s (0x
Press any key to continue...
Diagnostic Logs
WslLogs-2022-12-22_21-51-19.zip, collected by the recommended way.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (1 by maintainers)
Hello, I’m having this issue too.
In the event that this helps anyone, the only way I was able to get WSL working again was by deleting the registry key
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSLServiceand disabling/re-enabling wsl in Windows Features