terminal icon indicating copy to clipboard operation
terminal copied to clipboard

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

Open xmun2k opened this issue 1 year ago • 5 comments

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_x64__8wekyb3d8bbwe\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_x64__8wekyb3d8bbwe Faulting package-relative application ID: App

xmun2k avatar Feb 07 '24 13:02 xmun2k

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.

xmun2k avatar Feb 07 '24 13:02 xmun2k

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

zadjii-msft avatar Feb 07 '24 15:02 zadjii-msft

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

xmun2k avatar Feb 08 '24 06:02 xmun2k

Same issue here

jonesy16 avatar Feb 13 '24 18:02 jonesy16

can confirm on iot ltsc 2021

fideliochan avatar Apr 13 '24 15:04 fideliochan

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

Blizzardo1 avatar Jul 14 '24 06:07 Blizzardo1