-
Notifications
You must be signed in to change notification settings - Fork 821
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/ERROR_FILE_NOT_FOUND upon executing WSL #9840
Comments
/logs I suspect the virtual switch is in a bad state, but logs would confirm. |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
WslLogs-2023-03-24_22-45-05.zip |
@benhillis sorry to ping but any update on this? |
Thank you for your patience. We need additional information and logs to further investigate this issue. If you had rebooted your machine since you last observed this issue, do you still observe any problems launching WSL? We would like the following logs collected for further investigation, whether or not the issue still exists. Please collect your system networking related state using this script and share it with us: https://raw.githubusercontent.com/microsoft/SDN/master/Kubernetes/windows/debug/collectlogs.ps1 Running that script downloads other scripts on to your machine. Please look for "c:\k\debug\starthnstrace.cmd" to locate the next script, or you can download it from here: https://github.com/microsoft/SDN/blob/master/Kubernetes/windows/debug/starthnstrace.cmd Please follow these steps to collect networking traces for WSL launch:
The traces are written to c:\server.etl. Please collect this file and share it with us as well. |
Yes, the issue continues even after reboots (I rebooted the machine various times when I tried to diagnose the issue myself before making the issue here), if anything, it worsened. |
Hello Atari2 |
No, unfortunately the last message you see on this thread is the last time I heard from ms, I haven't received new instructions or help since. |
After update my window system I got this problem too... |
I solved this by reinstalling VMware Workstation Player: I got this problem after updating my Windows 10 from 21H2 to 22H2. Just before updating I uninstalled VMware Workstation Player 16 because I was not using it, and also manually removed its leftover network adapters "VMware Network Adapter VMnet1" and "VMware Network Adapter VMnet1". I tried many things (rebooting computer, disable Hyper-V, reenable it, enable features Microsoft-Windows-Subsystem-Linux and VirtualMachinePlatform with disam.exe, etc) but nothing worked. Then I realized that the error wsl gave had someting to do with networking (.../CreateVm/ConfigureNetworking/), so I downloaded and installed VMware Workstation Player 17 (which recreated its VMNet network adapters) and now WSL works again! |
Confirmed 👍 |
I got this error also when uninstall VMWare 17, and I found all Hyper-V Network Adapter removed also, I try remove the function "Windows sub Linux system" and enable it again, but cann't add Hyper-v network adapter automatically. |
The same issue, thanks for sharing this fix. |
I get the same issue |
Confirmed, VMware Player 17. What a garbage SW, had to install it again to make it work. |
I had the same issue. Just dont download VMware. |
Removing comment, as I added my own issue, as it's not exactly the same as this one. |
I had a similar incident after installing then uninstalling VMware, which left my What fixed it for me was removing this registry key which VMware left behind:
After removing this registry key manually, then clicking Note: Network Reset made me wait 5 minutes before it rebooted the system. Hope it helps other people who are stuck! Other error codes and error messages I experienced:
|
Windows Version
Microsoft Windows [Version 10.0.19045.2788]
WSL Version
1.1.3.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Execute wsl from a terminal.
I don't really have repro steps because it happened suddently. Yesterday everything was working fine.
Expected Behavior
WSL execution starts as normal
Actual Behavior
WSL hangs for a while and after a couple of minutes exits with
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: