App won't open when launched from windows #23778

Closed
opened 2026-01-31 08:52:14 +00:00 by claunia · 3 comments
Owner

Originally created by @SamKook on GitHub (Nov 2, 2025).

Windows Terminal version

1.19.10302.0 and 1.23.251008001(1.23.12811.0)

Windows build number

10.0.19045.4046

Other Software

No response

Steps to reproduce

Launch windows terminal from an app controlled by windows(start menu, desktop, file explorer).

Expected Behavior

For the app to stay open.

Actual Behavior

When I'm executing the app from a windows controlled source as mentioned above, there's a window called "DesktopWindow..."(or close to that, hard to tell) that opens and closes right away and then nothing more happens. But, if I start it from a 3rd party file explorer software like FreeCommanderXE, then the app actually opens once the DesktopWindow one closes.

I updated neither windows nor the app between when this was working fine and it started happening in the last couple months so I'm really confused on how this can even happen. I tried to update to 1.23 just now and same behavior. Both version were installed from the zip file from github.

Edit: After manually looking at the latest issues, I stumbled on https://github.com/microsoft/terminal/issues/19482 and changing the powertoys path from the PATH env var does fix the issue so that seems to be the source of the problem.
After a bit of reading, I'm guessing Windows Terminal is loading something from the powertoys folder instead of where it should actually load it, onedrive apparently has a similar issue.

Originally created by @SamKook on GitHub (Nov 2, 2025). ### Windows Terminal version 1.19.10302.0 and 1.23.251008001(1.23.12811.0) ### Windows build number 10.0.19045.4046 ### Other Software _No response_ ### Steps to reproduce Launch windows terminal from an app controlled by windows(start menu, desktop, file explorer). ### Expected Behavior For the app to stay open. ### Actual Behavior When I'm executing the app from a windows controlled source as mentioned above, there's a window called "DesktopWindow..."(or close to that, hard to tell) that opens and closes right away and then nothing more happens. But, if I start it from a 3rd party file explorer software like FreeCommanderXE, then the app actually opens once the DesktopWindow one closes. I updated neither windows nor the app between when this was working fine and it started happening in the last couple months so I'm really confused on how this can even happen. I tried to update to 1.23 just now and same behavior. Both version were installed from the zip file from github. Edit: After manually looking at the latest issues, I stumbled on https://github.com/microsoft/terminal/issues/19482 and changing the powertoys path from the PATH env var does fix the issue so that seems to be the source of the problem. After a bit of reading, I'm guessing Windows Terminal is loading something from the powertoys folder instead of where it should actually load it, onedrive apparently has a similar issue.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:52:14 +00:00
Author
Owner

@DHowett commented on GitHub (Nov 2, 2025):

Is there a chance you have PowerToys 0.95 or above?

@DHowett commented on GitHub (Nov 2, 2025): Is there a chance you have PowerToys 0.95 or above?
Author
Owner

@SamKook commented on GitHub (Nov 3, 2025):

Yeah, I have powertoys 0.95.1 installed. Like I said in my edit, disabling the PATH env var for it does fix the issue.

@SamKook commented on GitHub (Nov 3, 2025): Yeah, I have powertoys 0.95.1 installed. Like I said in my edit, disabling the PATH env var for it does fix the issue.
Author
Owner

@DHowett commented on GitHub (Nov 3, 2025):

I indeed missed your edit. Thanks!

@DHowett commented on GitHub (Nov 3, 2025): I indeed missed your edit. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23778