microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.41k stars 821 forks source link

cann't execute wsl : %1 不是有效的 Win32 應用程式。 #12177

Open tomboliu opened 1 week ago

tomboliu commented 1 week ago

Windows Version

Microsoft Windows [Version 10.0.19045.5011]

WSL Version

0.0.0.0

Are you using WSL 1 or WSL 2?

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

When I execute wsl --install under windows terminal,suddenly windows terminal crash. Then I reexecute Windows Terminal , the Ubuntu item shows in dropdown menu, but can't start ubuntu then I execute wsl with or without parameter), it always show "%1 不是有效的 Win32 應用程式。"

Expected Behavior

It should be show parameters or let me remove / fix ubuntu

Actual Behavior

Like I say , it can't execute, so I can't do anything.

Diagnostic Logs

WslLogs-2024-10-17_16-52-11.zip

github-actions[bot] commented 1 week ago

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!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
appxpackage.txt not found
Unexpected format in optional-component.txt: State       : Superseded
Detected user visible error: Wsl/CallMsi/Install/0x800700c1