microsoft / terminal

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

Windows Terminal does not Launch when "Run as Administrator" on Windows Server 2022 Datacenter #16680

Open xmun2k opened 7 months ago

xmun2k commented 7 months ago

Windows Terminal version

1.19.2401.30002

Windows build number

10.0.20348.0

Other Software

No response

Steps to reproduce

Log in as administrator account Right click on Windows Terminal Icon Run as Administrator

Expected Behavior

Windows Terminal launches with admin rights

Actual Behavior

Nothing appears, in event log, this error appears.

Faulting application name: WindowsTerminal.exe, version: 1.19.2401.30002, time stamp: 0x65b9ada4 Faulting module name: Windows.UI.Xaml.dll, version: 10.0.20348.51, time stamp: 0xda2580b1 Exception code: 0xc000027b Fault offset: 0x0000000000813b28 Faulting process id: 0x1bb4 Faulting application start time: 0x01da59c833d6d40e Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.19.10302.0_x648wekyb3d8bbwe\WindowsTerminal.exe Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll Report Id: 76bcc0f0-01e5-4f01-910f-275f22e2efa2 Faulting package full name: Microsoft.WindowsTerminal_1.19.10302.0_x648wekyb3d8bbwe Faulting package-relative application ID: App

xmun2k commented 7 months ago

For the record, the appxpackage was downloaded from github and installed in powershell.

If I log in using the standard "administrator" account Windows Terminal runs correctly.

I tried clearing the profile of the affected account (which is a member of the administrators group) and regenerated a new one, same issue continued to occur.

zadjii-msft commented 7 months ago

Did you install the Terminal package for both users/?


notes: version: 1.19.2401.30002 is the hardcoded version for the WindowsTerminal.exe in Microsoft.WindowsTerminal_1.19.10302.0_x64__8wekyb3d8bbwe, so at least that is right

xmun2k commented 7 months ago

I installed it for all users. I have used the exact same process on a number of machines, never experiencing an issue.

jonesy16 commented 6 months ago

Same issue here

fideliochan commented 4 months ago

can confirm on iot ltsc 2021

Blizzardo1 commented 1 month ago

I'm actually having this issue on Windows 10. It runs as normal user, but not Administrator.