3 ms·
The GitHub releases section has the msix installer package too. Terminal itself can't be runas but e.g. cmd.exe or pwsh.exe inside of it can be.
by zamadatix 5y ago
The GitHub releases section has the msix installer package too.
Terminal itself can't be runas but e.g. cmd.exe or pwsh.exe inside of it can be.
- briHass 5y agoHow do you get that to work? I've tried changing the settings to open new terminal windows using a different identity (runas), but they are then separate from the terminal app. I basically would just like to be able to dock that new window in the existing terminal tabs, as otherwise, I might as well just launch a PoSH prompt.
- zamadatix 5y agoYou can launch into any security context but merging multiple contexts under a single window is not supported. It has to do with Windows lacking session elevation for pipes but supporting it for window handles https://github.com/microsoft/terminal/blob/main/doc/Niksa.md#elevation https://github.com/microsoft/terminal/blob/main/doc/Niksa.md... If you want to get real hacky in the meantime you can run the ssh server service and have a short alias to ssh to localhost as a user but now you have that extra abstraction between to deal with.