-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WslRegisterDistribution failed with error: 0x8007023e #11716
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
WSL-Logs |
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running. Diagnostic information
|
Updated WSL-Log |
Diagnostic information
|
Nothing helpful so far, anyone who has experienced similar issue and resolved it, kindly reach out. |
Looks like this is caused by an HNS issue:
Adding the networking tag |
Sorry, this is similar to #10507, where vswitch failed to create a NAT switch. It's not clear from the traces why this is failing. If you collect networking-logs, we might get more information. https://github.com/microsoft/WSL/blob/master/diagnostics/collect-networking-logs.ps1 |
Windows Version
Microsoft Windows [Version 10.0.19045.4529]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 22.04 LTS, Ubuntu
Other Software
No response
Repro Steps
Open Terminal as administrator, run
wsl --install Ubuntu-22.04
orwsl --install Ubuntu
Expected Behavior
For Linux distros, in my case Ubuntu to install and run successfully
Actual Behavior
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\user> wsl --install Ubuntu-22.04
Installing: Ubuntu 22.04 LTS
Ubuntu 22.04 LTS has been installed.
Launching Ubuntu 22.04 LTS...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007023e
Error: 0x8007023e {Application Error}
The exception s (0x
Press any key to continue...
The installation process for distribution 'Ubuntu-22.04' failed with exit code: 1.
Error code: Wsl/InstallDistro/WSL_E_INSTALL_PROCESS_FAILED
PS C:\Users\user> wsl --update
Checking for updates.
Updating Windows Subsystem for Linux to version: 2.2.4.
PS C:\Users\user> wsl --status
Default Version: 2
PS C:\Users\user> wsl --version
WSL version: 2.2.4.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.19045.4529
PS C:\Users\user> wsl --install Ubuntu
Installing: Ubuntu
Ubuntu has been installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007023e
Error: 0x8007023e {Application Error}
The exception s (0x
Press any key to continue...
The installation process for distribution 'Ubuntu' failed with exit code: 1.
Error code: Wsl/InstallDistro/WSL_E_INSTALL_PROCESS_FAILED
PS C:\Users\user>
Diagnostic Logs
I have hypervisor in BIOS enabled
I have also turned on in windows features: wsl, Hyper-V, Virtual Machine Platform, Windows Hypervisor Platform
Haven't found any helpful fix so far and I have searched a lot, I have come across the turn off restart, turn on restart try again (pretty much almost all posts) but it still doesn't work
The text was updated successfully, but these errors were encountered: