Reports that terminal can't launch applications marked [Run as Administrator] #3112

Open
opened 2026-01-30 23:13:18 +00:00 by claunia · 0 comments
Owner

Originally created by @braithair on GitHub (Aug 4, 2019).

Description of the new feature/enhancement

Descriptor

I had an issue where my Windows Terminal was consistently crashing and had a lot of frustration on my personal part) trying to self resolve the issue.

Problem

Long story short, I had a the same issue as a few other people "My terminal opens and then closed at launch with very little information"

Solution

It was simple in the end - I have Powershell Core 7 preview installed and the "pwsh.exe" file was set to "Run as Administrator". I removed the "Run as Administrator" for the pwsh.exe and boom, problem instantly solved and the terminal now opens when i just run it.

Proposed technical implementation details (optional)

The solution options I thought of were:

  1. Warn the user on install that their shells are in "Run as administrator" mode, and they will have to run the terminal as administrator to facilitate this setting.
  2. Warn the user that the administrator setting is active for the shell as above, and offer to change this setting.
  3. Allow the App to be permanently run as administrator, if this is relevant for the user (I don't see this as the optimal solution)

I hope this is a relevant place to put this request. Thanks Microsoft team for creating and enhancing a product that has long needed some love and attention. With Windows Terminal, I see a springboard of future opportunities to make it a powerful tool!

Originally created by @braithair on GitHub (Aug 4, 2019). # Description of the new feature/enhancement ## Descriptor I had an issue where my Windows Terminal was consistently crashing and had a lot of frustration on my personal part) trying to self resolve the issue. ## Problem Long story short, I had a the same issue as a few other people "My terminal opens and then closed at launch with very little information" ## Solution It was simple in the end - I have Powershell Core 7 preview installed and the "pwsh.exe" file was set to "Run as Administrator". I removed the "Run as Administrator" for the pwsh.exe and boom, problem instantly solved and the terminal now opens when i just run it. # Proposed technical implementation details (optional) The solution options I thought of were: 1. Warn the user on install that their shells are in "Run as administrator" mode, and they will have to run the terminal as administrator to facilitate this setting. 2. Warn the user that the administrator setting is active for the shell as above, and offer to change this setting. 2. Allow the App to be permanently run as administrator, if this is relevant for the user (I don't see this as the optimal solution) I hope this is a relevant place to put this request. Thanks Microsoft team for creating and enhancing a product that has long needed some love and attention. With Windows Terminal, I see a springboard of future opportunities to make it a powerful tool!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3112