Skip to content
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: 0x80070426 #12031

Open
1 of 2 tasks
ft-scobra opened this issue Sep 13, 2024 · 8 comments
Open
1 of 2 tasks

WslRegisterDistribution failed with error: 0x80070426 #12031

ft-scobra opened this issue Sep 13, 2024 · 8 comments
Labels

Comments

@ft-scobra
Copy link

Windows Version

Microsoft Windows [Version 10.0.22631.4169]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu

Other Software

No response

Repro Steps

Run wsl --install or wsl --install Ubuntu or ubuntu.

Expected Behavior

Ubuntu Launches Successfully.

Actual Behavior

C:\Windows\System32>wsl --install
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070426
Error: 0x80070426 The service has not been started.

Press any key to continue...

Diagnostic Logs

WslLogs-2024-09-13_08-13-28.zip

@ft-scobra
Copy link
Author

Same issue as #12030

Copy link

The logs show that the VM failed to start because the HNS network couldn't be created. Adding network tag

Diagnostic information
Detected appx version: 2.2.4.0
Found evidence of HcnCreateNetwork failure: HcnCreateNetwork {"Success":false,"Error":"The service has not been started. ","ErrorCode":2147943462}. HResult: 0x80070426

@ft-scobra
Copy link
Author

ft-scobra commented Sep 13, 2024

Not sure what service is off but from what I could find online, these services are running and set to Automatic:

  • Microsoft Account Sign-in Assistant (wlidsvc)
  • WSLService

Microsoft Store is working fine and downloading fine.

In addition, these windows features are tuned on:

  • Virtual Machine Platform
  • Windows Subsytem for Linux

sfc /scannow shows no errors.

Not sure if there's something else I need to look for.

@CatalinFetoiu
Copy link
Collaborator

thanks for reporting the issue. can you please collect networking logs using instructions at https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues?

the script will create a zip with name starting with "WslNetworkingLogs"

@ft-scobra
Copy link
Author

WSL Networking Logs:
WslNetworkingLogs-2024-09-14_00-18-19.zip

Copy link

Diagnostic information
Detected appx version: 2.2.4.0
optional-components.txt not found
Detected user visible error: Wsl/Service/CreateInstance/GetDefaultDistro/WSL_E_DEFAULT_DISTRO_NOT_FOUND
Detected user visible error: Wsl/Service/CreateInstance/GetDefaultDistro/WSL_E_DEFAULT_DISTRO_NOT_FOUND

@github-actions github-actions bot mentioned this issue Sep 21, 2024
2 tasks
@ft-scobra
Copy link
Author

bump. I can't use docker desktop because of this issue.

@ibrouos
Copy link

ibrouos commented Nov 13, 2024

@ft-scobra did you manage to get anywhere with this, had the same problem for over a week now (ended up using my macbook instead for work)

Tempted to just reinstall windows at this point, but it shouldn't be this difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants