Terminal crashing in infinite loop when profile set to run as admin for non-admin users #22508

Open
opened 2026-01-31 08:15:24 +00:00 by claunia · 1 comment
Owner

Originally created by @payn-git on GitHub (Nov 6, 2024).

Windows Terminal version

1.21.2911.0

Windows build number

10.0.22631.4317

Other Software

No response

Steps to reproduce

Add account to administrator group
set default profile to run as Administrator
remove account from administrator group
start terminal

terminal will not start as default profile cant be run in admin mode. Terminal will crash and then keep going in loop forever. Open, crash, start again
In our company people got accidently removed from admin groups and terminal become unusable on majority computers.

Expected Behavior

  • in case of failure terminal will not be trying to start in infinity loop as it will never succeed
  • as fallback it should start in non admin mode and provide notification about it or just show notification that profile cant be start in admin mode and user should modify setting manually first to remove admin mode

Actual Behavior

terminal will not start (it will terminate during startup, ironically :)) and system will keep trying to start it in infinite loop

Originally created by @payn-git on GitHub (Nov 6, 2024). ### Windows Terminal version 1.21.2911.0 ### Windows build number 10.0.22631.4317 ### Other Software _No response_ ### Steps to reproduce Add account to administrator group set default profile to run as Administrator remove account from administrator group start terminal terminal will not start as default profile cant be run in admin mode. Terminal will crash and then keep going in loop forever. Open, crash, start again In our company people got accidently removed from admin groups and terminal become unusable on majority computers. ### Expected Behavior - in case of failure terminal will not be trying to start in infinity loop as it will never succeed - as fallback it should start in non admin mode and provide notification about it or just show notification that profile cant be start in admin mode and user should modify setting manually first to remove admin mode ### Actual Behavior terminal will not start (it will terminate during startup, ironically :)) and system will keep trying to start it in infinite loop
claunia added the Issue-BugProduct-TerminalArea-Windowing labels 2026-01-31 08:15:25 +00:00
Author
Owner

@Zeroes1 commented on GitHub (Nov 11, 2024):

probably duplicate, my case with problem loop earlier:
https://github.com/microsoft/terminal/issues/15655

@payn-git you are sure what WT crashed? maybe not start only + infinite trying start.

@Zeroes1 commented on GitHub (Nov 11, 2024): probably duplicate, my case with problem loop earlier: https://github.com/microsoft/terminal/issues/15655 @payn-git you are sure what WT crashed? maybe not start only + infinite trying start.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22508