Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after wsl --update: wsl and wslconfig /list return "%1 is not a valid Win32-Application." both give errorcode 0x800700c1 my problem #9924

Closed
1 of 2 tasks
JohenanLi opened this issue Apr 5, 2023 · 7 comments

Comments

@JohenanLi
Copy link

Windows Version

Microsoft Windows [版本 10.0.22621.1413]

WSL Version

1.1.6.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu-20.04

Other Software

No response

Repro Steps

Just like the link #9678, i executed cmd wsl --update.

Expected Behavior

I want to use gui program on ubuntu.I follow the link https://superuser.com/questions/1681647/windows-11-wsl-not-opening-gui-in-my-ubuntu-shell,but i miss the wsl --update failed problem twice.Lastly i completely uninstall wsl and reinstall wsl in order to get it work.

Actual Behavior

PS C:\Users\59919> wsl
%1 不是有效的 Win32 应用程序。
Error code: Wsl/Service/CreateInstance/CreateVm/0x800700c1

Diagnostic Logs

WslLogs-2023-04-06_00-55-39.zip

@ferruzoft
Copy link

ferruzoft commented Apr 6, 2023

I have the same problem when I installed wsl via wsl --install command on win 10 pro (19045)

image

@JohenanLi
Copy link
Author

After installing 1.2.0 wsl, it cannot work as before.
PS C:\Users\59919> wsl --version
WSL 版本: 1.2.0.0
内核版本: 5.15.90.1
WSLg 版本: 1.0.51
MSRDC 版本: 1.2.3770
Direct3D 版本: 1.608.2-61064218
DXCore 版本: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows 版本: 10.0.22621.1413

@benhillis
Copy link
Member

Thanks for reporting - I see the error in the logs where we are failing to create the process, but not much of a clue as to why. Could you please take a look at the wslrelay.exe and wslhost.exe processes located in C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.2.0.0_x64__8wekyb3d8bbwe and see if anything these looks strange?

image

@JohenanLi
Copy link
Author

I cannot open the path C:\Program Files\WindowsApps ,because i haven't access to this dir.So i change the owner to everyone.
image
This is my scrrenshot of the properties.
image

@dogukan6durukan
Copy link

dogukan6durukan commented Apr 11, 2023

I was having the same issue while I was tending to install WSL. But deleting any traces of subsystem and did wsl --install -d ubuntu with installing Ubuntu then updated WSL from https://aka.ms/wsl2kernel. And that worked for me. However, I still don't have any concrete idea of why this error is happening...

Also, there is the same issue opened in the same context you guys can follow #9678.

@benhillis
Copy link
Member

/dupe #9678

@microsoft-github-policy-service
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants