-
Notifications
You must be signed in to change notification settings - Fork 814
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: 0x80040321 #11894
Comments
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:
Diagnostic information
|
I have Not found solution in similar issues |
I found the problem. The WSL service must only be started as Local System, not by a specific username. Now looking for a way to run WSL with Ubuntu after the sign out. |
@Aroken: Does that mean that you changed the configuration of WslService to run as a local user ? If so this is expected, since that service indeed needs to run as system. |
Windows Version
Microsoft Windows [Version 10.0.20348.2582]
WSL Version
WSL version: 2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
Comand:
wsl --status
Result:
This application requires the Windows Subsystem for Linux Optional Component.
Install it by running: wsl.exe --install --no-distribution
The system may need to be restarted so the changes can take effect.
Error code: Wsl/WSL_E_WSL_OPTIONAL_COMPONENT_REQUIRED
Comand:
wsl --install
Result:
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80040321
Error: 0x80040321 (null)
Press any key to continue...
Expected Behavior
Ubuntu
Actual Behavior
WslRegisterDistribution failed with error: 0x80040321
Error: 0x80040321 (null)
Diagnostic Logs
WslLogs-2024-08-07_17-54-56.zip
WslLogs-2024-08-07_18-02-59.zip
The text was updated successfully, but these errors were encountered: