microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.26k stars 812 forks source link

WSL not starting after upgrading to latest Insider Build #8781

Closed imia-dbitsch closed 7 months ago

imia-dbitsch commented 2 years ago

Version

10.0.22621.382

WSL Version

Kernel Version

5.15.57.1

Distro Version

Ubuntu 20.04 (Store Version)

Other Software

No response

Repro Steps

Docker Desktop installed (but it's probably not related, since the whole WSL is not starting up)

Expected Behavior

WSL starting up as usual on boot/start

Actual Behavior

WSL can't start while throwing the following error: (German)

Der Dienst wurde nicht gestartet. ("The service has not started.") Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x80070426

[Verarbeitung des Prozesses mit Code 4294967295 (0xffffffff) beendet]

Diagnostic Logs

C:\Users\DENNIS~1\AppData\Local\Temp\WSL\diagnostics>networking.bat "WSL version (Might be help text if store WSL is not installed):" WSL-Version: 0.65.3.0 Kernelversion: 5.15.57.1 WSLg-Version: 1.0.41 MSRDC-Version: 1.2.3213 Direct3D-Version: 1.601.0 DXCore-Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows Version: 10.0.22621.382 Windows features:

FeatureName

MicrosoftWindowsPowerShellV2Root MicrosoftWindowsPowerShellV2 NetFx4-AdvSrvs WCF-Services45 NetFx3 SearchEngine-Client-Package VirtualMachinePlatform Microsoft-Windows-Subsystem-Linux Microsoft-Hyper-V-All Microsoft-Hyper-V Microsoft-Hyper-V-Tools-All Microsoft-Hyper-V-Management-PowerShell Microsoft-Hyper-V-Hypervisor Microsoft-Hyper-V-Services Microsoft-Hyper-V-Management-Clients

HNS objects: { "ActivityId":"85D66C1F-3E7B-4832-BF3C-C0EC46622E36", "AdditionalParams":{

},
"CompartmentGuid":"B1062982-2B18-4B4F-B3D5-A78DDB9CDD49",
"CompartmentId":1,
"Containers":[

],
"Flags":0,
"Health":{
    "LastErrorCode":0,
    "LastUpdateTime":133063173632540912
},
"ID":"910F7D92-BA2D-4C3F-98AE-7C0AC590D2DC",
"IsDefault":true,
"Policies":[

],
"State":1,
"Version":64424509440

} Routing table:

Schnittstellenliste 24...........................Wintun Userspace Tunnel 20...0a 00 27 00 00 14 ......VirtualBox Host-Only Ethernet Adapter 6...00 ff 0a 98 b5 c1 ......TAP-Windows Adapter V9 10...16 5a fc 66 4f 83 ......Microsoft Wi-Fi Direct Virtual Adapter #3 21...26 5a fc 66 4f 83 ......Microsoft Wi-Fi Direct Virtual Adapter #4 15...16 5a c4 66 48 43 ......Qualcomm Atheros QCA9377 Wireless Network Adapter #2 1...........................Software Loopback Interface 1

IPv4-Routentabelle

Aktive Routen: Netzwerkziel Netzwerkmaske Gateway Schnittstelle Metrik 0.0.0.0 0.0.0.0 192.168.179.1 192.168.179.2 306 127.0.0.0 255.0.0.0 Auf Verbindung 127.0.0.1 331 127.0.0.1 255.255.255.255 Auf Verbindung 127.0.0.1 331 127.255.255.255 255.255.255.255 Auf Verbindung 127.0.0.1 331 192.168.56.0 255.255.255.0 Auf Verbindung 192.168.56.1 281 192.168.56.1 255.255.255.255 Auf Verbindung 192.168.56.1 281 192.168.56.255 255.255.255.255 Auf Verbindung 192.168.56.1 281 192.168.179.0 255.255.255.0 Auf Verbindung 192.168.179.2 306 192.168.179.2 255.255.255.255 Auf Verbindung 192.168.179.2 306 192.168.179.255 255.255.255.255 Auf Verbindung 192.168.179.2 306 224.0.0.0 240.0.0.0 Auf Verbindung 127.0.0.1 331 224.0.0.0 240.0.0.0 Auf Verbindung 192.168.179.2 306 224.0.0.0 240.0.0.0 Auf Verbindung 192.168.56.1 281 255.255.255.255 255.255.255.255 Auf Verbindung 127.0.0.1 331 255.255.255.255 255.255.255.255 Auf Verbindung 192.168.179.2 306 255.255.255.255 255.255.255.255 Auf Verbindung 192.168.56.1 281

Ständige Routen: Netzwerkadresse Netzmaske Gatewayadresse Metrik 0.0.0.0 0.0.0.0 192.168.179.1 Standard

IPv6-Routentabelle

Aktive Routen: If Metrik Netzwerkziel Gateway 1 331 ::1/128 Auf Verbindung 20 281 fe80::/64 Auf Verbindung 20 281 fe80::619b:e781:4fbd:e6a9/128 Auf Verbindung 1 331 ff00::/8 Auf Verbindung 20 281 ff00::/8 Auf Verbindung

Ständige Routen: Keine Deleting HNS network Windows Subsystem for Linux Preview wird beendet. Windows Subsystem for Linux Preview wurde erfolgreich beendet.

Name : HnsPacketCapture CaptureMode : SaveToFile LocalFilePath : C:\Users\DENNIS~1\AppData\Local\Temp\WSL\diagnostics\packets.etl MaxFileSize : 250 MB TraceBufferSize : 0 KB MaxNumberOfBuffers : 0 SessionStatus : NotRunning

Name : Microsoft-Windows-NDIS-PacketCapture SessionName : HnsPacketCapture Level : 5 MatchAnyKeyword : 0xFFFFFFFFFFFFFFFF MatchAllKeyword : 0x0 CaptureType : BothPhysicalAndSwitch VmCaptureDirection : IngressAndEgress MultiLayer : False LinkLayerAddress : {} EtherType : {} IpAddresses : {} IpProtocols : {} TruncationLength : 128

Der Dienst wurde nicht gestartet. Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/0x80070426 Press Ctrl+C to cancel the stop operation. 100% [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] The trace was successfully saved.

C:\Users\DENNIS~1\AppData\Local\Temp\WSL\diagnostics>networking.bat

imia-dbitsch commented 2 years ago

WslLogs-2022-08-30_12-15-03.zip

imia-dbitsch commented 2 years ago

Additionally I get the following error when trying to download/register a new distribution from the Store:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070426
Error: 0x80070426 Der Dienst wurde nicht gestartet.

Press any key to continue...
emazaheri commented 1 year ago

Updating to the latest version of Win11 (22H2) has also caused a similar problem for me. None of the solutions provided in #5092 worked for me.

emazaheri commented 1 year ago

Windows' DNS Client (dnscache) service seems to be causing the problem. It was disabled after the update. When I enabled it, the problem solved.

joca-bt commented 1 year ago

I have this issue when I am on a VPN (NordVPN).

Web30ID commented 1 year ago

Same problem here, after update

microsoft-github-policy-service[bot] commented 7 months ago

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!