Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
payn-git opened this issue Nov 6, 2024 · 1 comment
Labels
Area-Windowing Window frame, quake mode, tearout Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.

Comments

@payn-git
Copy link

payn-git commented 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

@payn-git payn-git added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 6, 2024
@Zeroes1
Copy link

Zeroes1 commented Nov 11, 2024

probably duplicate, my case with problem loop earlier:
#15655

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

@carlos-zamora carlos-zamora added this to the Terminal v1.23 milestone Nov 13, 2024
@carlos-zamora carlos-zamora added Product-Terminal The new Windows Terminal. Area-Windowing Window frame, quake mode, tearout and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Windowing Window frame, quake mode, tearout Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

3 participants