microsoft / microsoft/terminal
Terminal crashing in infinite loop when profile set to run as admin for non-admin users
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### 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
Contributor guide
Research direction
No source file, test, or entry point is named. Reproduce the startup loop with Windows Terminal 1.21.2911.0 on Windows 10.0.22631.4317 by configuring a default profile to run as administrator, removing the account from the administrator group, and launching Terminal; done means the failure no longer loops and the user receives a fallback or actionable notification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100