Windows PowerShell (Admin) on some computers with Windows 10 only Windows PowerShell work #20415

Closed
opened 2026-01-31 07:13:04 +00:00 by claunia · 9 comments
Owner

Originally created by @maisondasilva on GitHub (Aug 28, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

10.0.19045.3393

Other Software

No response

Steps to reproduce

https://github.com/microsoft/terminal/assets/11423362/2be9454d-0b46-4baf-a4de-7a168b8536d4

Expected Behavior

Windows PowerShell (Admin) open Terminal Admin

Actual Behavior

Windows PowerShell (Admin) open poweshell admin

Originally created by @maisondasilva on GitHub (Aug 28, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number 10.0.19045.3393 ### Other Software _No response_ ### Steps to reproduce https://github.com/microsoft/terminal/assets/11423362/2be9454d-0b46-4baf-a4de-7a168b8536d4 ### Expected Behavior Windows PowerShell (Admin) open Terminal Admin ### Actual Behavior Windows PowerShell (Admin) open poweshell admin
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:13:04 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 28, 2023):

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #10276 for more discussion.

/dup #10276

@zadjii-msft commented on GitHub (Aug 28, 2023): Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #10276 for more discussion. /dup #10276
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Aug 28, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Aug 28, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@maisondasilva commented on GitHub (Aug 28, 2023):

Thanks for the warning, I'd looked for it but couldn't find it!

@maisondasilva commented on GitHub (Aug 28, 2023): > Thanks for the warning, I'd looked for it but couldn't find it!
Author
Owner

@zadjii-msft commented on GitHub (Aug 28, 2023):

No worries - that's a wacky one that you'd have to know existed to be able to find it. Heck I knew it existed and still took me 10 minutes to find it 😛

@zadjii-msft commented on GitHub (Aug 28, 2023): No worries - that's a wacky one that you'd have to _know_ existed to be able to find it. Heck I knew it existed and still took me 10 minutes to find it 😛
Author
Owner

@maisondasilva commented on GitHub (Aug 28, 2023):

No worries - that's a wacky one that you'd have to know existed to be able to find it. Heck I knew it existed and still took me 10 minutes to find it 😛

😂😂.
Are there any alternative solutions? The strange thing is that I have other computers just like it and it works as expected, same version all the same!

@maisondasilva commented on GitHub (Aug 28, 2023): > No worries - that's a wacky one that you'd have to _know_ existed to be able to find it. Heck I knew it existed and still took me 10 minutes to find it 😛 😂😂. Are there any alternative solutions? The strange thing is that I have other computers just like it and it works as expected, same version all the same!
Author
Owner

@zadjii-msft commented on GitHub (Aug 28, 2023):

The strange thing is that I have other computers just like it and it works as expected

excuse me what 👀

The "default terminal" functionality definitely has never worked for elevated commandline applications. On Windows 11 the Win+X menu has "Terminal (Admin)" in it, which doesn't use the default terminal feature. Maybe that's what you've seen?

@zadjii-msft commented on GitHub (Aug 28, 2023): > The strange thing is that I have other computers just like it and it works as expected excuse me what 👀 The "default terminal" functionality definitely has never worked for elevated commandline applications. On Windows 11 the Win+X menu has "Terminal (Admin)" in it, which doesn't use the default terminal feature. Maybe that's what you've seen?
Author
Owner

@maisondasilva commented on GitHub (Aug 28, 2023):

The strange thing is that I have other computers just like it and it works as expected

excuse me what 👀

The "default terminal" functionality definitely has never worked for elevated commandline applications. On Windows 11 the Win+X menu has "Terminal (Admin)" in it, which doesn't use the default terminal feature. Maybe that's what you've seen?

See video

What I noticed in the video is that both options always open as administrator
I'm trying to understand what difference there is that could be generating this behavior

Win10 Pro same version 10.0.19045.3393

https://github.com/microsoft/terminal/assets/11423362/00484b43-8b5a-4826-b6ac-17ed678bd86b

@maisondasilva commented on GitHub (Aug 28, 2023): > > The strange thing is that I have other computers just like it and it works as expected > > excuse me what 👀 > > The "default terminal" functionality definitely has never worked for elevated commandline applications. On Windows 11 the Win+X menu has "Terminal (Admin)" in it, which doesn't use the default terminal feature. Maybe that's what you've seen? See video What I noticed in the video is that both options always open as administrator I'm trying to understand what difference there is that could be generating this behavior Win10 Pro same version 10.0.19045.3393 https://github.com/microsoft/terminal/assets/11423362/00484b43-8b5a-4826-b6ac-17ed678bd86b
Author
Owner

@zadjii-msft commented on GitHub (Aug 28, 2023):

wat

Are you by any chance running with UAC entirely disabled?

reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLua should be able to tell us - 0 means UAC is disabled, anything else and it should be on.

@zadjii-msft commented on GitHub (Aug 28, 2023): wat Are you by any chance running with UAC entirely disabled? `reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLua` should be able to tell us - `0` means UAC is disabled, anything else and it should be on.
Author
Owner

@maisondasilva commented on GitHub (Aug 28, 2023):

That's right, it seems that whoever maintains the system used on this server has deactivated it, and activating it won't work again!

@maisondasilva commented on GitHub (Aug 28, 2023): That's right, it seems that whoever maintains the system used on this server has deactivated it, and activating it won't work again!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20415