Open sigit2 opened 7 months ago
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!
You can give me feedback by thumbs upping or thumbs downing this comment.
Still an issue for me
@Sprokket This worked for me without having to reinstall nor losing projects or configuration: https://github.com/microsoft/WSL/issues/10755#issuecomment-1812579096
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!
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".
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!
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
为了使电脑有更好的性能,我尝试关闭了Windows Defender Firewall
,遇到了这个错误,可以使用命令进行修复
REG add "HKLM\SYSTEM\CurrentControlSet\services\MpsSvc" /v Start /t REG_DWORD /d 2 /f
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?
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_no_start](https://github.com/microsoft/WSL/assets/29411188/d4d1ec85-09d3-4b41-bb36-d930993eb5a7)
wsl2.networkingMode=None
in C:\Users\mwind.wslconfig Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/0x80070424[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