microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.25k stars 8.27k forks source link

WT can't start as limited user (trying to start forever) #15655

Open Zeroes1 opened 1 year ago

Zeroes1 commented 1 year ago

Windows Terminal version

1.17.11461

Windows build number

10.0.19045.3086

Other Software

Process Explorer v17.04

Steps to reproduce

I as Admin, UAC OFF under Process Explorer i chose run WT as limited user

Expected Behavior

Run WT , or stop trying after N fail start.

Actual Behavior

trying to start forever WT i check Microsoft.WindowsTerminal_1.17.11461.0_x64.zip Microsoft.WindowsTerminalPreview_1.18.1462.0_x64.zip with both trouble.

https://github.com/microsoft/terminal/assets/11919060/63362fe5-05c9-4531-b363-9026563fd006

Zeroes1 commented 1 year ago

reproduced 100%, Some user can't stop easy this cycling process...

Zeroes1 commented 1 year ago

with default settings problem not exist

problem exist when in default profile option "run profile with admin rights" aka:

settings.json "profiles": { "defaults": { "elevate": true },

or not default profile, but profile start as default...

zadjii-msft commented 1 year ago

Okay got it so:

And that causes it to crash loop on the start. FWIW, I think there was an auto-elevate crash loop that was fixed in 1.18 Preview.

We should probably not do this (but kinda neither should you 😜)

Zeroes1 commented 1 year ago

@zadjii-msft
public 1.18.230526002-preview with same problem