Run Terminal as another user #14094

Open
opened 2026-01-31 04:00:44 +00:00 by claunia · 0 comments
Owner

Originally created by @eglyn on GitHub (Jun 3, 2021).

Hi all,

is there a way to launch a new tab with a different user ?
We have differents username for a same user (with differents privileges), and we need to launch some ps command with another user than the current user.
The only way I found is to create another profile with the following command line:

"commandline": "C:\\Windows\\System32\\runas.exe /savecred /user:domain\\anotherlogin powershell.exe",

But, it opens another windows PS, that is not a terminal windows, so with no split screen option, etc...

So is there a way to open a new tab with this user instead a new PS window ?

Thx !

Originally created by @eglyn on GitHub (Jun 3, 2021). Hi all, is there a way to launch a new tab with a different user ? We have differents username for a same user (with differents privileges), and we need to launch some ps command with another user than the current user. The only way I found is to create another profile with the following command line: ``` "commandline": "C:\\Windows\\System32\\runas.exe /savecred /user:domain\\anotherlogin powershell.exe", ``` But, it opens another windows PS, that is not a terminal windows, so with no split screen option, etc... So is there a way to open a new tab with this user instead a new PS window ? Thx !
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 04:00:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14094