WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Error code: Wsl/Service/CreateInstance/CreateVm/HCS/E_INVALIDARG

Open brenol opened this issue 3 years ago β€’ 20 comments

Windows Version

Microsoft Windows [Version 10.0.25905.1000]

WSL Version

1.3.11.0

Are you using WSL 1 or WSL 2?

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

Got from wsl --version: 5.15.90.2-3

Distro Version

Ubuntu 18.04

Other Software

No response

Repro Steps

Starting WSL causes the error.

Expected Behavior

WSL runs normally

Actual Behavior

WSL doesn't start, and errors out when running wsl -d Ubuntu-18.04

Was on 1.25, tried updating to latest & to a old version, unfortunately didn't fix.

Diagnostic Logs

WslLogs-2023-07-13_09-37-04.zip

brenol avatar Jul 13 '23 12:07 brenol

I also met the same problem

mengxunlingxue avatar Jul 13 '23 14:07 mengxunlingxue

This is a known issue in the most recent Canary build. A fix is in progress for an upcoming build.

sirredbeard avatar Jul 13 '23 15:07 sirredbeard

This is a known issue in the most recent Canary build. A fix is in progress for an upcoming build.

Is there a way to revert to a working configuration?

tyingq avatar Jul 13 '23 15:07 tyingq

@tyingq If you have not cleaned up the previous build, you may be able to roll back to the previous build, in Settings->System->Recovery. I would then disable Windows Insiders updates until the next Canary build arrives.

sirredbeard avatar Jul 13 '23 16:07 sirredbeard

Thank you @sirredbeard . Unfortunately my Windows restore point is pointing to the version updated today, which is the same canary version (10.0.25905.1000). Is there any other way (perhaps changing channels in Windows Update) to change the version?

Edit - for anyone that has the same issue with Windows restore - I still had Windows.old on my drive. Restarted Windows while pressing Shift, (spammed F8) to be in the Recovery screen. Was clicking around and found a option to 'Uninstall new version of Windows' (or something like that).

It gives you two options - uninstall Quality or uninstall Feature update. Clicked on Uninstall Feature and it rolled back to 25393 and it's now working.

Had to do that because the Recovery option in the Settings application was crashing for me on 10.0.25905.1000.

brenol avatar Jul 13 '23 16:07 brenol

@sirredbeard Appreciate that. I can now confirm that rolling it back gets WSL working again.

tyingq avatar Jul 13 '23 16:07 tyingq

Thanks for posting, unfortunately the fix for this issue just missed the insider build snap. I would suggest rolling back to the previous Insider build until a new one is released.

benhillis avatar Jul 13 '23 17:07 benhillis

Attempting to rollback as well.

joeabbey avatar Jul 13 '23 18:07 joeabbey

Unfortunately, my computer's backup point is also in this version (10.0.25905.1000). And in recovery mode, I also didn't find any updates that could be removed. So I had to wait for the new version. Does anyone know when the new WSL available version will be released?

ChuixiongWu avatar Jul 14 '23 11:07 ChuixiongWu

Same problem! Machine was asking to reboot to update... I ignored a problem was to happen, now I must write my code in my Linux laptop. Would this be a priority fix for the MS team?

Same problem, I have No Windows restore point so the workaround is impossible too. learning to live without WSL The network name cannot be found. Error code: Wsl/0x80070043 [process exited with code 4294967295 (0xffffffff)]

udithaMee avatar Jul 17 '23 05:07 udithaMee

@tyingq If you have not cleaned up the previous build, you may be able to roll back to the previous build, in Settings->System->Recovery. I would then disable Windows Insiders updates until the next Canary build arrives.

Can confirm that this solution worked for me. I did not have to change any BIOS options or windows features. I just restored the previous build of windows and WSL is working on login. πŸ˜€

nprasad2077 avatar Jul 17 '23 23:07 nprasad2077

I rolling windows back gets WSL working again.

AndPuQing avatar Jul 19 '23 11:07 AndPuQing

Rolling back now, sadly after a very long install... Quite surprised that the likely very large set of users who are on AMD and use WSL2, even on Canary, can be provided with a broken WSL after install. Especially since it's been over a month since the last Windows Update...

moekhalil avatar Jul 20 '23 05:07 moekhalil

Sorry for the double comment. (Not editing previous comment in order to ensure people watching this thread receive this message in their email.)

I installed this update manually via the ISO after noticing a new build on Flight-Hub but not on my Windows Update. Taking a look at the blog post, I now see something that if I had seen earlier, would of stopped me from installing.

Known issues

[NEW] This build will not be offered to some ASUS devices or PCs with ASUS motherboards due to an issue causing a bugcheck when attempting to update to this build.

[NEW] Ethernet-connected devices may lose network connectivity after updating to this build. Unplugging the ethernet cable and re-plugging the cable in should resolve the issue.

I am on an Asus Motherboard, AND did have the ethernet issue.

For anyone already in this thread or that stumbles upon it after, if you have suffered this problem, can you please select the appropriate emoji options on this comment in order help inform of what could be root cause.

SELECT TWO OPTIONS (EMOJIS):

ONE FROM πŸ‘‡ AND Β Β Β ONE FROM πŸ‘‡
πŸ˜„ : Manual Install ☹️ : AMD and ASUS Motherboard
πŸŽ‰: Auto Install ❀️ : AMD and Non-ASUS Motherboard
πŸš€ : Non-AMD and ASUS Motherboard
πŸ‘€ : Non-AMD nor ASUS Motherboard
ASCII ART VERSION πŸ˜„ 

      __________________________________________________________
     /=========================================================/\
    /                                                         //\\
   /=========================================================// \|\
  /             SELECT ONE FROM EACH COLUMN                 // /\/
 |----------------------|----------------------------------|/ /\/|
 /  Installation Method |           System Type             \/ / |
/_______________________|____________________________________\/| |
 | πŸ˜„: Manual Install  | πŸ˜„ : AMD and ASUS Motherboard     | / |//
 | πŸŽ‰: Auto Install    | πŸ’– : AMD and Non-ASUS Motherboard | | |/-----//
 |                     | πŸš€ : Non-AMD and ASUS Motherboard | |//      /
 |                     | πŸ‘€ : Non-AMD nor ASUS Motherboard | //      //
 |_____________________|____________________________________//-------/
 /                     /                                   /
/    ONE FROM πŸ‘†      /                 ONE FROM πŸ‘†       /
\---------------------------------------------------------/

moekhalil avatar Jul 20 '23 06:07 moekhalil

Rolling back now, sadly after a very long install... Quite surprised that the likely very large set of users who are on AMD and use WSL2, even on Canary, can be provided with a broken WSL after install. Especially since it's been over a month since the last Windows Update...

I don't know you, but I got latest update (automatically) applied only like 2 weeks ago. πŸ€·πŸ½β€β™‚οΈ

Cr4z33 avatar Jul 26 '23 06:07 Cr4z33

This is a Windows issue with virtualization, not WSL. I use an Android emulator called Memu that also breaks with that Insider release.

paulomanrique avatar Jul 26 '23 18:07 paulomanrique

After install Version 23H2 Installed on β€Ž7/β€Ž27/β€Ž2023 OS build 25915.1000 Experience Windows Feature Experience Pack 1000.25915.1000.0 update today everything works and the bug fixed,Thanks Microsoft team

udithaMee avatar Jul 27 '23 20:07 udithaMee

Thanks a bunch @udithaMee for the feedback about the build 25915. I've just updated my OS Build and I can confirm my WSL is working just fine now. It's curious that they didn't mention anything about the WSL bug fix in their windows insider log, but ok. Hahaha. Thanks Microsoft team.

GPMrks avatar Jul 30 '23 17:07 GPMrks

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!