WSL: Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/ERROR_FILE_NOT_FOUND upon executing WSL

Windows Version

Microsoft Windows [Version 10.0.19045.2788]

WSL Version

1.1.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

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

❯ wsl
The system cannot find the file specified.
Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/ERROR_FILE_NOT_FOUND

Diagnostic Logs

No response

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 18 (2 by maintainers)

Most upvoted comments

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!