Support windows terminal to be run with different user credentials. #8745

Open
opened 2026-01-31 01:36:56 +00:00 by claunia · 0 comments
Owner

Originally created by @AlexisColes on GitHub (Jun 2, 2020).

Description of the new feature/enhancement

It would be a massive plus to have the ability to run Windows Terminal under the security context of a user other than the one logged into windows.

Microsoft recommend "Seperate accounts" for users that need to perform actions that require "privileged access", this means that I have 2 active directory accounts at work.
me@mycomp.com and me.adm@mycomp.com

I log into my computer as me@mycomp.com every day.

A lot of the terminal work that I do day to day involves me launching pwsh as me.adm@mycom.com and running commands from there so that I can have "privileged access" to the required resources.
Try as I might I can not find away of launching windows terminal when logged in as me@mycomp.com under the security context of me.adm@mycomp.com.

This issue is basicly the same as https://github.com/microsoft/terminal/issues/3534 which was closed as it "looks like a /dupe of https://github.com/microsoft/terminal/issues/632". However those 2 issues are clearly not duplicates so thought I would create another one.

Thanks in advance :)

Originally created by @AlexisColes on GitHub (Jun 2, 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 It would be a massive plus to have the ability to run Windows Terminal under the security context of a user other than the one logged into windows. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> Microsoft recommend ["Seperate accounts"](https://docs.microsoft.com/en-us/windows-server/identity/securing-privileged-access/securing-privileged-access) for users that need to perform actions that require "privileged access", this means that I have 2 active directory accounts at work. me@mycomp.com and me.adm@mycomp.com I log into my computer as me@mycomp.com every day. A lot of the terminal work that I do day to day involves me launching pwsh as me.adm@mycom.com and running commands from there so that I can have "privileged access" to the required resources. Try as I might I can not find away of launching windows terminal when logged in as me@mycomp.com under the security context of me.adm@mycomp.com. This issue is basicly the same as [https://github.com/microsoft/terminal/issues/3534](https://github.com/microsoft/terminal/issues/3534) which was closed as it "looks like a /dupe of [https://github.com/microsoft/terminal/issues/632](https://github.com/microsoft/terminal/issues/632)". However those 2 issues are clearly not duplicates so thought I would create another one. Thanks in advance :)
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 01:36:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8745