WSL wont start after GPU change (Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND)
Windows Version
icrosoft Windows [Version 10.0.26100.2894]
WSL Version
2.3.26.0
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
5.15.167.4-1
Distro Version
Ubuntu
Other Software
I've changed my Graphics Card from a Nvidia GTX 970 to a Intel Arc B580 today. After this I couldn't use WSL anymore. The GPU Driver is 32.0.101.6257 and the WHQL only option in the GPU Software is turned on.
Repro Steps
Run wsl.exe or wsl.exe -d ubuntu
Expected Behavior
A Linux Terminal shows up
Actual Behavior
Getting the Error Message:
The system cannot find the specified file. Errorcode: Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND
(translatet from the german version: Das System kann die angegebene Datei nicht finden. Fehlercode: Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND)
Diagnostic Logs
View similar issues
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!
Open similar issues:
- Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/0x80041001 (#10917), similarity score: 0.76
Closed similar issues:
- WSL2 fails to start with Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/0x800706bf (#11033), similarity score: 0.73
- Error code: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_MOD_NOT_FOUND after Windows update (#11736), similarity score: 0.73
- Error code: Wsl/Service/CreateInstance/CreateVm/ERROR_PATH_NOT_FOUND (#10482), similarity score: 0.73
- Error code: Wsl/Service/CreateInstance/CreateVm/HCS/E_INVALIDARG (#10285), similarity score: 0.72
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
.wslconfig found
Detected appx version: 2.3.26.0
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND
Additional Info what I already did:
Disabled the Windows-Subsystem for Linux, the Virtual Machine Plattform and the Hyper-V Features, rebooted and enabled them again.
also I ran
wsl.exe --uninstall
wsl.exe --update
wsl.exe
all with the same outcome
Same issue here... Just swapped the GPUs in this case.
Today I tried a reinstall as described here Fix issues by reinstalling the current version of Windows - Microsoft Support and this helped. WSL is working again.
Today I tried a reinstall as described here Fix issues by reinstalling the current version of Windows - Microsoft Support and this helped. WSL is working again.
Yeah, unfortunately no luck here... I'm gonna have to keep digging.
Update
So far I've tried:
- Putting the GPUs in the previous order.
- Manually re-installing all virtualization components - Containers, HyperV, Virtual Machine Platform, WSL.
- Reinstalling the Current Version of Windows.
- Rolling back Windows to a restore point from before the change - after rolling back WSL is broken and needs reinstall, which then results in the same issue.
- Trying with other distros...
Final Update: I abandoned WSL and simply installed Ubuntu on Hyper-V. Everything is working fine and took less than a minute to set up...
I solved it enabling Hyper-V on control panel, restarting, and then with a wsl.exe --uninstall.
Installed wsl again and it's working now.
and without uninstalling? ... because it means we have to backup evthing before doing this