Open administrator shell in the same Windows Terminal session #18771

Open
opened 2026-01-31 06:23:48 +00:00 by claunia · 0 comments
Owner

Originally created by @YevheniiPokhvalii on GitHub (Oct 29, 2022).

I don't always need to run Windows Terminal as admin since I use WSL mostly.
But when I open admin PowerShell session in Windows Terminal, first of all, it shows me a GUI "User account control" window and secondly, it opens a new Windows Terminal session.

Is it possible to implement a feature to start admin shell the way Linux does it with password prompt and without any GUI pop-ups?
is it possible to implement a feature to start admin CMD/PowerShell session in the same non-admin Windows Terminal session?

Originally created by @YevheniiPokhvalii on GitHub (Oct 29, 2022). I don't always need to run Windows Terminal as admin since I use WSL mostly. But when I open admin PowerShell session in Windows Terminal, first of all, it shows me a GUI "User account control" window and secondly, it opens a new Windows Terminal session. Is it possible to implement a feature to start admin shell the way Linux does it with password prompt and without any GUI pop-ups? is it possible to implement a feature to start admin CMD/PowerShell session in the same non-admin Windows Terminal session?
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 06:23:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18771