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

Closed
opened 2026-01-31 06:38:35 +00:00 by claunia · 10 comments
Owner

Originally created by @cheryllium on GitHub (Jan 26, 2023).

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.

Originally created by @cheryllium on GitHub (Jan 26, 2023). ### 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](https://user-images.githubusercontent.com/5027241/214921978-5ef913a4-bdf8-4a0b-a3bc-7e2491c0cb58.png) ![image](https://user-images.githubusercontent.com/5027241/214922005-f75468ea-f7a1-46de-b23f-508d74b31b5c.png) ![image](https://user-images.githubusercontent.com/5027241/214922043-ef76cfcb-1116-47a9-961e-c5311f490bd9.png) 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.
claunia added the Needs-TriageIssue-BugResolution-ExternalNeeds-Attention labels 2026-01-31 06:38:35 +00:00
Author
Owner

@DHowett commented on GitHub (Jan 26, 2023):

Hmm. Are you in the Insider program?

@DHowett commented on GitHub (Jan 26, 2023): Hmm. Are you in the Insider program?
Author
Owner

@cheryllium commented on GitHub (Jan 26, 2023):

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

@cheryllium commented on GitHub (Jan 26, 2023): @DHowett I don't think so, what's that? How would I check?
Author
Owner

@DHowett commented on GitHub (Jan 26, 2023):

Ah, what's your windows version?

@DHowett commented on GitHub (Jan 26, 2023): Ah, what's your windows version?
Author
Owner

@cheryllium commented on GitHub (Jan 26, 2023):

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 commented on GitHub (Jan 26, 2023): Edition Windows 10 Home Version 21H2 Installed on ‎5/‎29/‎2022 OS build 19044.2486 Experience Windows Feature Experience Pack 120.2212.4190.0
Author
Owner

@DHowett commented on GitHub (Jan 27, 2023):

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 commented on GitHub (Jan 27, 2023): 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?
Author
Owner

@cheryllium commented on GitHub (Jan 27, 2023):

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

@cheryllium commented on GitHub (Jan 27, 2023): @DHowett I do not... This is very strange. Okay... What is the solution, would reinstalling Windows Terminal fix the issue?
Author
Owner

@cheryllium commented on GitHub (Jan 27, 2023):

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

@cheryllium commented on GitHub (Jan 27, 2023): I just use my computer like normal and strange bad things happen!
Author
Owner

@DHowett commented on GitHub (Jan 27, 2023):

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 commented on GitHub (Jan 27, 2023): 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!
Author
Owner

@cheryllium commented on GitHub (Jan 30, 2023):

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 commented on GitHub (Jan 30, 2023): 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!
Author
Owner

@zadjii-msft commented on GitHub (Jan 30, 2023):

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

@zadjii-msft commented on GitHub (Jan 30, 2023): That's for sure weird. Glad it got sorted out?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19270