You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New tabs open as administrator without UAC prompt/consent #20444
OK I think repro steps are instead this and this possibly points to the Terminal now possibly "sharing" a process or something inter-process?
I didn't take proper snapshots during my VM testing so I can't easily revert back to the bundled terminal version 1.18.10301.0 to gauge if it's in there. Maybe this is expected behavior and I've just never encountered it before.
Evolved repro steps:
Close all Terminal windows
Win+X , A to open terminal as admin, consent
Win+X , I to open terminal without admin
Open new tabs in terminal window from step # 3. Issue doesn't happen.
Win+R , powershell to open powershell process without admin
Open new tabs in window from step # 5. Issue happens, new tabs have admin
Is it possible to mix admin and non-admin tabs in a Windows Terminal window?
No, mixing administrator-level permission tabbed shells with those that do not have elevated administrator permission is not supported due to security concerns.
Worked again to get a fresh VM going. I setup my newest test VM to have all updates installed EXCEPT Terminal. All other updates from below list were installed:
LCU (July 2026)
Microsoft Store (itself and apps, excluding Terminal which was manually paused once it showed up)
Windows Update in PC Settings (Defender intelligence, MRT, .NET 2026-07)
Issue does not occur in Terminal version 1.18.10301.0 (bundled with my 25H2 installer ISO). Issue occurs in Terminal version 1.24.11911.0.
New repro steps below (and throughout this guide) assume the user has Administrative rights already.
Issue does not occur with these steps:
Close all terminal windows
Update terminal to version 1.24.11911.0
Win+X , I to open terminal as non-admin
Win+X , A to open terminal as admin
Win+R, powershell, to open powershell in new terminal window
Result:
Terminal window launched in step 5 does NOT have admin abilities
Issue does occur with these steps:
Close all terminal windows
Update terminal to version 1.24.11911.0
Win+X , A to open terminal as admin
Win+X , I to open terminal as non-admin
Win+R, powershell, to open powershell in new terminal window
Results:
Terminal window from step 4...
Doesn't have the Windows shield graphic indicating privileged shells cannot be created
Opening new shells within this terminal window do not open with Administrative rights
Terminal window from step 5...
Opens by default with a powershell shell without admin privileges
Has the Windows shield graphic indicating privileged shells can be created
New shells launched in this terminal have Administrative rights
QED
The order of how you launch your terminal windows with or without admin rights determines what behavior you end up with. Somehow the first Terminal window launched determines the behavior.
Other thoughts
This property appears transitive, even if the original window is closed. I haven't done extensive testing on that.
Activity
jamesaepp commentedon Jul 18, 2026
I'm not certain reproduce steps are accurate anymore.
I created a fresh 25H2 Windows 11 VM and even after updating everything I can't reproduce the issue.
It's possible some combination of software or configuration leads to my result, but my main system where I discovered this has lots of software.
Listing what I'd consider the first suspects in order of recent to older updates/installations:
jamesaepp commentedon Jul 18, 2026
OK I think repro steps are instead this and this possibly points to the Terminal now possibly "sharing" a process or something inter-process?
I didn't take proper snapshots during my VM testing so I can't easily revert back to the bundled terminal version
1.18.10301.0to gauge if it's in there. Maybe this is expected behavior and I've just never encountered it before.Evolved repro steps:
powershellto open powershell process without adminjamesaepp commentedon Jul 18, 2026
Whether or not this is working as designed was driving me a little nuts, but I found this which might help indicate that no, this is not intended:
https://learn.microsoft.com/en-us/windows/terminal/faq#is-it-possible-to-mix-admin-and-non-admin-tabs-in-a-windows-terminal-window
jamesaepp commentedon Jul 18, 2026
Worked again to get a fresh VM going. I setup my newest test VM to have all updates installed EXCEPT Terminal. All other updates from below list were installed:
winget update(manually installed everything except Terminal)Issue does not occur in Terminal version 1.18.10301.0 (bundled with my 25H2 installer ISO). Issue occurs in Terminal version 1.24.11911.0.
New repro steps below (and throughout this guide) assume the user has Administrative rights already.
Issue does not occur with these steps:
1.24.11911.0powershell, to open powershell in new terminal windowResult:
Issue does occur with these steps:
1.24.11911.0powershell, to open powershell in new terminal windowResults:
QED
The order of how you launch your terminal windows with or without admin rights determines what behavior you end up with. Somehow the first Terminal window launched determines the behavior.
Other thoughts
This property appears transitive, even if the original window is closed. I haven't done extensive testing on that.
DHowett commentedon Jul 29, 2026
Thank you so much.
jamesaepp commentedon Oct 3, 2026
My installation has updated to version
1.25.2733.0. Appears issue is fixed but I haven't done or plan to test extensively.