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

Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x80070424 #10778

Open
1 of 2 tasks
sigit2 opened this issue Nov 16, 2023 · 8 comments
Open
1 of 2 tasks
Labels

Comments

@sigit2
Copy link

sigit2 commented Nov 16, 2023

Windows Version

Microsoft Windows [Version 10.0.22631.2715]

WSL Version

WSL version: 2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.10.102.1

Distro Version

Debian 12

Other Software

No response

Repro Steps

Try and start a new Debian session.

Expected Behavior

New window starts and left at command prompt.

Actual Behavior

Failed to configure network (networkingMode Nat). To disable networking, set wsl2.networkingMode=None in C:\Users\mwind.wslconfig
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x80070424
wsl2_no_start

[process exited with code 4294967295 (0xffffffff)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

If I uninstall the wsl update, then Debian starts without error.

Diagnostic Logs

WslLogs-2023-11-16_11-53-35.zip

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please 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. Thank you!

Open similar issues:

Closed similar issues:

You can give me feedback by thumbs upping or thumbs downing this comment.

@Sprokket
Copy link

Still an issue for me

@jsanchezba
Copy link

@Sprokket This worked for me without having to reinstall nor losing projects or configuration:
#10755 (comment)

@keith-horton
Copy link
Member

The OS feature "Virtual Machine Platform" is not installed (only Hyper-V optional features are installed). Can you go through optional components to install it?

FeatureName : VirtualMachinePlatform
State : Disabled

Thanks!

@sigit2
Copy link
Author

sigit2 commented Dec 6, 2023

The OS feature "Virtual Machine Platform" is not installed (only Hyper-V optional features are installed). Can you go through optional components to install it?

FeatureName : VirtualMachinePlatform State : Disabled

Thanks!

I've installed Virtual Machine Platform, and updated WSL. Seems to have fixed the issue.
Not a very user-friendly error message, when it could have just said "install Virtual Machine Platform".

@bing-zhub
Copy link

I have updated the windwos 11 pro to 23h2, and also update the wsl to 2.0.14.0. The VMP and Hyper-V are also installed, but the wsl still not working.

(base) PS C:\WINDOWS\system32> wsl
Failed to configure network (networkingMode Nat). To disable networking, set `wsl2.networkingMode=None` in C:\Users\lab\.wslconfig
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0xffffffff

Please help me out! Thanks!

@keith-horton
Copy link
Member

If you are hitting issues, please collect traces for us to be able to troubleshoot: https://github.com/microsoft/WSL/blob/master/diagnostics/collect-networking-logs.ps1

@dong9205
Copy link

为了使电脑有更好的性能,我尝试关闭了Windows Defender Firewall,遇到了这个错误,可以使用命令进行修复

REG add "HKLM\SYSTEM\CurrentControlSet\services\MpsSvc" /v Start /t REG_DWORD /d 2 /f

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

7 participants