Launching pwsh using runas doesn't inherit profile's theme #15853

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

Originally created by @elsaco on GitHub (Nov 12, 2021).

Windows Terminal version (or Windows build number)

WT 1.11.2921.0

Other Software

Windows 11 build 22000.318

Steps to reproduce

  1. set PS7 as default profile
  2. set Default terminal application to Windows Terminal
  3. change Campbell color scheme to a different one, Solarized Light in this case
  4. start a new WT as admin: start-process -filepath "pwsh" -verb runas

Expected Behavior

A new WT window with elevated privileges

Actual Behavior

A non-WT window is being launched, font is Consolas:

wt_pwsh_runas

Originally created by @elsaco on GitHub (Nov 12, 2021). ### Windows Terminal version (or Windows build number) WT 1.11.2921.0 ### Other Software Windows 11 build 22000.318 ### Steps to reproduce 1. set PS7 as default profile 2. set `Default terminal application` to `Windows Terminal` 3. change `Campbell` color scheme to a different one, `Solarized Light` in this case 4. start a new WT as admin: `start-process -filepath "pwsh" -verb runas` ### Expected Behavior A new WT window with elevated privileges ### Actual Behavior A non-WT window is being launched, font is Consolas: ![wt_pwsh_runas](https://user-images.githubusercontent.com/3933920/141388414-c19522ab-8bc3-4dc2-8bf8-d1dbc7019813.png)
claunia added the Resolution-Duplicate label 2026-01-31 04:50:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15853