WSL icon indicating copy to clipboard operation
WSL copied to clipboard

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

Open 1446311191 opened this issue 3 years ago • 29 comments

Windows Version

Microsoft Windows [版本 10.0.25905.1000]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

custom kernel

Distro Version

Ubuntu-16.04, Ubuntu-18.04, Ubuntu-20.04, Ubuntu-22.04

Other Software

No response

Repro Steps

PS C:\Users\msn14> ubuntu2004.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14> ubuntu1604.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14> ubuntu1804.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14> ubuntu2204.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14>

Expected Behavior

The wsl distribution system can be entered normally

Actual Behavior

PS C:\Users\msn14> ubuntu2004.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14> ubuntu1604.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14> ubuntu1804.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14> ubuntu2204.exe 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG 参数错误。 Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG Press any key to continue... PS C:\Users\msn14>

Diagnostic Logs

No response

1446311191 avatar Jul 15 '23 16:07 1446311191

Having the same issue

Peter-Maguire avatar Jul 16 '23 20:07 Peter-Maguire

Same problem here. Windows 11 insider preview build 25905

Oldiesmann avatar Jul 17 '23 01:07 Oldiesmann

I had the same issue. I rolled back the Windows version to its previous build, and the issue is no longer present.

vinay-sg avatar Jul 17 '23 07:07 vinay-sg

I have the same issue...

3265 avatar Jul 17 '23 07:07 3265

Can confirm as well for build 25905. The issue has also affected other components using virtualization: Windows Subsystem for Android won't launch; Sandbox and Microsoft Edge in Application Guard will crash at start with error code 0x80070057.

I read from reddit that this issue only affects computers with AMD processor. My computer is also with AMD Ryzen.

GhostScript0r avatar Jul 17 '23 08:07 GhostScript0r

I have same issue, build 25905.1000 AMD Ryzen

Mr-Robby avatar Jul 17 '23 12:07 Mr-Robby

also AMD Ryzen, also having issue

thespatt avatar Jul 17 '23 19:07 thespatt

Just as an FYI: I think this may also be breaking NAS Samba (SMB) connections. I'm seeing the WSL2 failure on my AMD machine, but the SMB problem is showing up on both AMD and Intel based systems. Rolling back the update on my AMD machine does restore functionality of both WSL and SMB.

ScottKirvan avatar Jul 18 '23 01:07 ScottKirvan

Good Morning, I have the same issue since 25905.1000. This is my machine: Gerätename MM-Beast Prozessor AMD Ryzen 9 5900HX with Radeon Graphics 3.30 GHz Installierter RAM 64,0 GB (63,4 GB verwendbar) Geräte-ID 1BB7DD67-616F-423A-8392-21FFC9E00FCA Produkt-ID 00331-20210-00000-AA847 Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor Stift- und Toucheingabe Für diese Anzeige ist keine Stift- oder Toucheingabe verfügbar.

Please inform to my e-mail. Thank you

Manta45 avatar Jul 18 '23 05:07 Manta45

same AMD 25905

dunxuan avatar Jul 18 '23 07:07 dunxuan

Devs is there any news on a fix for this please? 🥲

Cr4z33 avatar Jul 18 '23 08:07 Cr4z33

same here , I'm using AMD ryzen 7 5800H window version 25905.1000 . Also already try to restart all service several times. nothing work tho

Koonarm avatar Jul 18 '23 08:07 Koonarm

Same error with a AMD Ryzen 5900X and the build 25905.1000

EDIT : a rollback to the previous build (25393.1) work as a temporary fix for me.

bsylvain avatar Jul 18 '23 09:07 bsylvain

WSA is screwed too so I guess it's definitely something caused by latest Windows 11 Inside build!

Btw I've got a Ryzen (5900X) too.

Cr4z33 avatar Jul 18 '23 10:07 Cr4z33

Which update should wait for windows update or WSL update?🤔

Koonarm avatar Jul 18 '23 10:07 Koonarm

Same error with AMD CPU and the windows version build 25905.1000. I wonder when the bug will be fixed?

fx006 avatar Jul 18 '23 17:07 fx006

需要尽快修复,影响太多了,hyper-v、wsa、wsl、sanbox 等,hyper-v 虚拟机如果在升级25905之前是保存状态,非关机状态时可以正常启动的,但是如果时关机状态就无法启动

mengyufeng avatar Jul 19 '23 02:07 mengyufeng

Same here. I also rolled back to previous build while I wait for the bug to be fixed.

GPMrks avatar Jul 19 '23 03:07 GPMrks

Same here, AMD Ryzen CPU, build 25905.1000. Any workarounds yet?

lishmael avatar Jul 20 '23 10:07 lishmael

same Error code: Wsl/Service/CreateInstance/CreateVm/E_INVALIDARG any update

ByronCoet avatar Jul 22 '23 08:07 ByronCoet