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

Windows Version

Microsoft Windows [Version 10.0.25905.1000]

WSL Version

1.3.11.0

Are you using WSL 1 or WSL 2?

  • 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

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 7
  • Comments: 20 (2 by maintainers)

Most upvoted comments

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 ๐Ÿ‘†       /
\---------------------------------------------------------/

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

I rolling windows back gets WSL working again.

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.

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

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.

@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.

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?

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