Add the ability to launch a new tab as an Administrator but without launching a whole second copy of the terminal #6370

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

Originally created by @borland on GitHub (Feb 11, 2020).

Description of the new feature/enhancement

I'm not entirely sure if this is possible given the limitations of the Windows elevation model, but what I would very much like is to be able to launch a new Tab within Terminal as an administrator.

(Actually what I'd really like is sudo, but windows is doggedly not going there and that's not within the remit of the Terminal team)

Anyway, something like this:

image

and the admin tabs would have a corresponding (Admin) and variation on the icon color or something to that effect

I would like to use this feature because I occasionally (once/twice per day) need to perform administrative commands. Having to open or find a seperate administrative entire terminal window is not great, it's hard to keep track of and unwieldy. Tabbed terminals are great, and it would be even greater to incorporate an Admin tab.

Proposed technical implementation details (optional)

See above mockup

Originally created by @borland on GitHub (Feb 11, 2020). # Description of the new feature/enhancement I'm not entirely sure if this is possible given the limitations of the Windows elevation model, but what I would very much like is to be able to launch a new Tab within Terminal as an administrator. (Actually what I'd really like is sudo, but windows is doggedly not going there and that's not within the remit of the Terminal team) Anyway, something like this: ![image](https://user-images.githubusercontent.com/6362/74229140-a88b0300-4d26-11ea-84fc-738aa1c77989.png) and the admin tabs would have a corresponding (Admin) and variation on the icon color or something to that effect I would like to use this feature because I occasionally (once/twice per day) need to perform administrative commands. Having to open or find a seperate administrative entire terminal window is not great, it's hard to keep track of and unwieldy. Tabbed terminals are great, and it would be even greater to incorporate an Admin tab. # Proposed technical implementation details (optional) See above mockup
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 00:36:52 +00:00
Author
Owner

@j4james commented on GitHub (Feb 11, 2020):

This has been requested before, but it can't be done. See issue https://github.com/microsoft/terminal/issues/1032#issuecomment-496308808.

@j4james commented on GitHub (Feb 11, 2020): This has been requested before, but it can't be done. See issue https://github.com/microsoft/terminal/issues/1032#issuecomment-496308808.
Author
Owner

@borland commented on GitHub (Feb 11, 2020):

Oh awesome, sorry for raising the dupe

@borland commented on GitHub (Feb 11, 2020): Oh awesome, sorry for raising the dupe
Author
Owner

@gerardog commented on GitHub (Feb 20, 2020):

FYI @borland: https://github.com/gerardog/gsudo

Then you can add a WT profile:

{
  "name": "Elevated PowerShel",
  "commandline": "gsudo.exe PowerShell",
  "hidden": false
},
@gerardog commented on GitHub (Feb 20, 2020): FYI @borland: https://github.com/gerardog/gsudo Then you can add a WT profile: { "name": "Elevated PowerShel", "commandline": "gsudo.exe PowerShell", "hidden": false },
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6370