Open PowerShell as Admin #654

Closed
opened 2026-01-30 21:58:08 +00:00 by claunia · 2 comments
Owner

Originally created by @jimblanchard on GitHub (May 6, 2019).

Is it possible to have Terminal open PowerShell as an admin? The UAC popup is fine, I'm working interactive, I just occasionally need the elevation.

Originally created by @jimblanchard on GitHub (May 6, 2019). Is it possible to have Terminal open PowerShell as an admin? The UAC popup is fine, I'm working interactive, I just occasionally need the elevation.
Author
Owner

@DHowett-MSFT commented on GitHub (May 7, 2019):

For now you’ll need to elevate the entire terminal application. Sorry.


From: jimblanchard notifications@github.com
Sent: Monday, May 6, 2019 3:59:57 PM
To: microsoft/Terminal
Cc: Subscribed
Subject: [microsoft/Terminal] Open PowerShell as Admin (#439)

Is it possible to have Terminal open PowerShell as an admin? The UAC popup is fine, I'm working interactive, I just occasionally need the elevation.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTerminal%2Fissues%2F439&data=01%7C01%7Cduhowett%40microsoft.com%7C9b1180d44093435c550708d6d2768f62%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=mb1AHEi%2BEMEHCGtIMgVkfMtBa36IDct%2Bs00Fg8QbfvI%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADNHLGQPNG5UDUK2YXRHFTLPUCZ63ANCNFSM4HLEAZEA&data=01%7C01%7Cduhowett%40microsoft.com%7C9b1180d44093435c550708d6d2768f62%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=jftDMFV0RFZm%2BidjFIugPkC5WeRFbbR1W7twd6BJ%2B7Y%3D&reserved=0.

@DHowett-MSFT commented on GitHub (May 7, 2019): For now you’ll need to elevate the entire terminal application. Sorry. ________________________________ From: jimblanchard <notifications@github.com> Sent: Monday, May 6, 2019 3:59:57 PM To: microsoft/Terminal Cc: Subscribed Subject: [microsoft/Terminal] Open PowerShell as Admin (#439) Is it possible to have Terminal open PowerShell as an admin? The UAC popup is fine, I'm working interactive, I just occasionally need the elevation. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTerminal%2Fissues%2F439&data=01%7C01%7Cduhowett%40microsoft.com%7C9b1180d44093435c550708d6d2768f62%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=mb1AHEi%2BEMEHCGtIMgVkfMtBa36IDct%2Bs00Fg8QbfvI%3D&reserved=0>, or mute the thread<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADNHLGQPNG5UDUK2YXRHFTLPUCZ63ANCNFSM4HLEAZEA&data=01%7C01%7Cduhowett%40microsoft.com%7C9b1180d44093435c550708d6d2768f62%7C72f988bf86f141af91ab2d7cd011db47%7C1&sdata=jftDMFV0RFZm%2BidjFIugPkC5WeRFbbR1W7twd6BJ%2B7Y%3D&reserved=0>.
Author
Owner

@donovanlange commented on GitHub (May 7, 2019):

Thanks @DHowett-MSFT for the response! Curious if this is something that's open to consideration though in the future, and worth tracking as a Feature Request.

As a frequent user of Console2/Console.Z/ConEmu/and other Windows Console replacements -- this is one of the great benefits of having an integrated tabbed terminal, in that I can keep all of my terminals in a singular window (in fact, I often theme the background colors to be noticeably different with my admin prompt "red" so it's easily distinguishable) and easily switch between elevated priveleges and non-elevated as needed. Being able to start a new Admin terminal via a keyboard shortcut to choco install a utility is a very handy and convenient feature!

@donovanlange commented on GitHub (May 7, 2019): Thanks @DHowett-MSFT for the response! Curious if this is something that's open to consideration though in the future, and worth tracking as a Feature Request. As a frequent user of Console2/Console.Z/ConEmu/and other Windows Console replacements -- this is one of the great benefits of having an integrated _tabbed_ terminal, in that I can keep all of my terminals in a singular window (in fact, I often theme the background colors to be noticeably different with my admin prompt "red" so it's easily distinguishable) and easily switch between elevated priveleges and non-elevated as needed. Being able to start a new Admin terminal via a keyboard shortcut to `choco install` a utility is a very handy and convenient feature!
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#654