terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Ubuntu, Command line, and Powershell all stopped working - possible PATH issue?

Open cheryllium opened this issue 2 years ago • 8 comments

Windows Terminal version

1.15.3465.0

Windows build number

No response

Other Software

No response

Steps to reproduce

I'm not sure this is reproducible... I already had Windows Terminal open, with Powershell and Ubuntu 22.04 WSL running.

When I tried to open a new tab of Ubuntu today, I discovered that none of my tabs will open anymore.

Expected Behavior

To open tabs properly.

Actual Behavior

image

image

image

NOTE: I read online that the Ubuntu one could be solved by adding adding %USERPROFILE%\AppData\Local\Microsoft\WindowsApps to PATH, however, I checked and this is already in my system path.

I did not install anything new on my computer recently or made any changes to environmental variables, so I have no clue what could have happened that suddenly all of these have broken at once.

Please help. I'm scared to try restarting Windows Terminal because I do have two tabs in there (with Powershell and Ubuntu) that are connected from a different day, and that's the only connections I have to be able to do my work.

cheryllium avatar Jan 26 '23 18:01 cheryllium

Hmm. Are you in the Insider program?

DHowett avatar Jan 26 '23 18:01 DHowett

@DHowett I don't think so, what's that? How would I check?

cheryllium avatar Jan 26 '23 19:01 cheryllium

Ah, what's your windows version?

DHowett avatar Jan 26 '23 19:01 DHowett

Edition Windows 10 Home Version 21H2 Installed on ‎5/‎29/‎2022 OS build 19044.2486 Experience Windows Feature Experience Pack 120.2212.4190.0

cheryllium avatar Jan 26 '23 19:01 cheryllium

Thank you. So, this is confusing.

My original thought was that you received a silent update that broke one of Terminal's components. Sometimes the store does this.

However, since you are on Windows 10 you aren't in the Insider program... which means the update has not been released to you.

Unfortunately, Error 0x80070002 for all programs means that a critical Terminal component has been deleted. That is very surprising.

Do you have any third party antivirus software running that might have gone haywire?

DHowett avatar Jan 27 '23 01:01 DHowett

@DHowett I do not... This is very strange. Okay... What is the solution, would reinstalling Windows Terminal fix the issue?

cheryllium avatar Jan 27 '23 15:01 cheryllium

I just use my computer like normal and strange bad things happen!

cheryllium avatar Jan 27 '23 22:01 cheryllium

Unfortunately, the only solution would probably be to reinstall or upgrade Terminal. We just released a new version here on our GitHub Releases page! Sorry about that, I really do wonder what happened!

DHowett avatar Jan 27 '23 22:01 DHowett

I deleted and reinstalled Windows Terminal and that resolved it. Yeah, I wonder what happened too. Possibly hit by a cosmic ray? Thanks for the help!

cheryllium avatar Jan 30 '23 15:01 cheryllium

That's for sure weird. Glad it got sorted out?

zadjii-msft avatar Jan 30 '23 15:01 zadjii-msft