Run as Administrator no longer works #2850

Open
opened 2026-01-30 23:07:04 +00:00 by claunia · 0 comments
Owner

Originally created by @DJackman123 on GitHub (Jul 19, 2019).

With the latest build I am no longer able to launch Terminal as administrator. This isn't the same as #1872 because I only get the UAC prompt once and I'm not seeing the other message box as is reported there.

I was able to determine that this problem was introduced with commit 8ffff8e (#1948).

Environment

Windows build number: 10.0.18362.10005
Windows Terminal version (if applicable): 0.2.1991.0

Any other software?

Steps to reproduce

Try to launch the app as administrator

Expected behavior

UAC prompt appears then the elevated Terminal runs

Actual behavior

UAC prompt appears and the border of a window is displayed but the process hangs at that point. I have to kill the process with Task Manager.

Originally created by @DJackman123 on GitHub (Jul 19, 2019). <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> With the latest build I am no longer able to launch Terminal as administrator. This isn't the same as #1872 because I only get the UAC prompt once and I'm not seeing the other message box as is reported there. I was able to determine that this problem was introduced with commit 8ffff8e (#1948). # Environment ```none Windows build number: 10.0.18362.10005 Windows Terminal version (if applicable): 0.2.1991.0 Any other software? ``` # Steps to reproduce Try to launch the app as administrator # Expected behavior UAC prompt appears then the elevated Terminal runs # Actual behavior UAC prompt appears and the border of a window is displayed but the process hangs at that point. I have to kill the process with Task Manager.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2850