Support configuring a profile to run as Administrator / Elevated Permissions #11629

Closed
opened 2026-01-31 02:52:56 +00:00 by claunia · 4 comments
Owner

Originally created by @Jaans on GitHub (Nov 30, 2020).

Description of the new feature/enhancement

As a Full Stack Developer using Visual Studio 2019, Service Fabric, NodeJS, and VS Code I have multiple profiles configured for various PowerShell command line scenarios. Some of these require elevated / administrative permissions in order to function correctly.

I would like to be able to have some profiles always run with elevated / administrative permissions.
Alternatively, a less ideal solution is for the entire Windows Terminal application to support configuration to start with administrative permissions.

Proposed technical implementation details (optional)

Ideal would be to configure - at profile level - that it must elevate. E.g. an additional property in the profile.

If it is only viable to start the entire Windows Terminal application with elevated permissions, then there seems behaviours coming from Windows Store Apps that prevent the traditional method of ensuring an application always starts with elevated prompt.

Normally applications can be configured to automatically elevate at start-up by configuring it with either a shortcut and the relevant shortcut settings, or my using my preferred method which is via Compatibility Settings.

However, it seems that applications delivered as Windows Store Apps do not offer the same capability or shortcut. You can manually right-click and "Run as Administrator", but not set it as a default start up.

Originally created by @Jaans on GitHub (Nov 30, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement As a Full Stack Developer using Visual Studio 2019, Service Fabric, NodeJS, and VS Code I have multiple profiles configured for various PowerShell command line scenarios. Some of these require elevated / administrative permissions in order to function correctly. I would like to be able to have some profiles **always** run with elevated / administrative permissions. Alternatively, a less ideal solution is for the entire Windows Terminal application to support configuration to start with administrative permissions. # Proposed technical implementation details (optional) Ideal would be to configure - at profile level - that it must elevate. E.g. an additional property in the profile. If it is only viable to start the entire Windows Terminal application with elevated permissions, then there seems behaviours coming from Windows Store Apps that prevent the traditional method of ensuring an application always starts with elevated prompt. Normally applications can be configured to automatically elevate at start-up by configuring it with either a shortcut and the relevant shortcut settings, or my using my preferred method which is via Compatibility Settings. However, it seems that applications delivered as Windows Store Apps do not offer the same capability or shortcut. You can manually right-click and "Run as Administrator", but not set it as a default start up.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 02:52:56 +00:00
Author
Owner

@ghost commented on GitHub (Nov 30, 2020):

You can't mix elevated and non-elevated tabs and BTW, this is also a dup of #632.

@ghost commented on GitHub (Nov 30, 2020): You can't mix elevated and non-elevated tabs and BTW, this is also a dup of #632.
Author
Owner

@zadjii-msft commented on GitHub (Nov 30, 2020):

Yep, this is a pretty specific /dup of #632. We're also tracking a bunch of related work in #5000, and this is also something that I'm writing the spec for currently.

Thanks!

@zadjii-msft commented on GitHub (Nov 30, 2020): Yep, this is a pretty specific /dup of #632. We're also tracking a bunch of related work in #5000, and this is also something that [I'm writing the spec for currently](https://github.com/microsoft/terminal/blob/dev/migrie/s/1032-elevation-qol/doc/specs/%235000%20-%20Process%20Model%202.0/%231032%20-%20Elevation%20Quality%20of%20Life%20Improvements.md). Thanks!
Author
Owner

@ghost commented on GitHub (Nov 30, 2020):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 30, 2020): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@ghost commented on GitHub (Nov 30, 2020):

Elevation Quality of Life Improvements

Nice title 😄

@ghost commented on GitHub (Nov 30, 2020): > Elevation Quality of Life Improvements Nice title :smile:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11629