Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when opening Windows Terminal to "Ubuntu"

I just installed windows-terminal on windows 10,

I get the following error when trying to open windows terminal to ubuntu - I do indeed have WSL2 installed and can use it from the ubuntu app standalone terminal, but for whatever reason windows terminal is having an issue

I've searched online and it appears that something is wrong with finding the executable, but I cannot figure out where to make an update to assist windows terminal with knowing the correct path

[error 2147942402 (0x80070002) when launching 'ubuntu.exe']

enter image description here

While troubleshooting, I learned that ws -v is not a recognized command while trying to get more information for this post, so I ran SFC /scannow following this advice, but unfortunately no progress made, errors still taking place

like image 324
alilland Avatar asked Dec 19 '25 21:12

alilland


1 Answers

Solved by adding %USERPROFILE%\AppData\Local\Microsoft\WindowsApps to PATH

like image 190
alilland Avatar answered Dec 23 '25 00:12

alilland



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!