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

Admin shortcuts do not open in Terminal Preview #10276

Closed
Tracked by #13392
obrobrio2000 opened this issue May 29, 2021 · 8 comments
Closed
Tracked by #13392

Admin shortcuts do not open in Terminal Preview #10276

obrobrio2000 opened this issue May 29, 2021 · 8 comments
Labels
Area-DefApp Culprit-Centennial Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-1 A description (P1) Product-Terminal The new Windows Terminal. Tracking-External This bug isn't resolved, but it's following an external workitem.
Milestone

Comments

@obrobrio2000
Copy link

obrobrio2000 commented May 29, 2021


Note: 📌 Pinned comment: #10276 (comment)


Windows Terminal version (or Windows build number)

10.0.21390.1, 1.9.1445.0

Other Software

No response

Steps to reproduce

  1. Set WT Preview as the default terminal application following the steps described here;
  2. Launch CMD/PS as administrator.

Expected Behavior

Elevated CMD/PS should respect the default terminal choice just like when non-elevated.

Actual Behavior

CMD/PS open in Terminal only if launched with standard privileges. When launched as administrator they still open in Console Host.
Feedback Hub link: https://aka.ms/AAcrn4y

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 29, 2021
@zadjii-msft zadjii-msft added Area-DefApp Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-1 A description (P1) Product-Terminal The new Windows Terminal. labels May 31, 2021
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label May 31, 2021
@zadjii-msft zadjii-msft added this to the Terminal v2.0 milestone May 31, 2021
@DHowett
Copy link
Member

DHowett commented Jun 1, 2021

Unfortunately, this is by design right now. Due to a limitation in the app platform it is impossible for Terminal to be "discovered" as the handler when the application that needs a terminal is running elevated.

This is tracked internally at MSFT:39500755. There's a decent amount of platform work that will be needed for this.

@DHowett DHowett closed this as completed Jun 1, 2021
@DHowett DHowett added Culprit-Centennial Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons. labels Jun 1, 2021
@zadjii-msft zadjii-msft added Tracking-External This bug isn't resolved, but it's following an external workitem. and removed Resolution-By-Design It's supposed to be this way. Sometimes for compatibility reasons. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Mar 1, 2023
@zadjii-msft zadjii-msft modified the milestones: Terminal v2.0, Backlog Mar 1, 2023
@xparadoxical
Copy link

just bumped my head into gerardog/gsudo#117 and, by extension, this. 😔

@zadjii-msft
Copy link
Member

zadjii-msft commented Aug 28, 2023

As a 2023 status update: This still doesn't seem to be supported by the platform. We're not sure when the COM team will be able to fix this.

edit to include some search phrases: defterm elevated admin COM handoff defapp

@stdin82

This comment was marked as off-topic.

@DHowett

This comment was marked as off-topic.

@Echostorm44
Copy link

A year later, any update on this? Still an issue in VS2022 and Windows 11.

@michalsteyn
Copy link

michalsteyn commented Aug 23, 2024

This issue has now been open for over 3 years. Shocking this is taking soo long. For Dev's running VS 2022 as Admin, this is really a pain.

@ayanamist
Copy link

ayanamist commented Sep 13, 2024

I see some workarounds (in chinese), maybe help:
https://t.me/yscschan/7010
https://t.me/yscschan/7014?single

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-DefApp Culprit-Centennial Issue-Bug It either shouldn't be doing this or needs an investigation. Priority-1 A description (P1) Product-Terminal The new Windows Terminal. Tracking-External This bug isn't resolved, but it's following an external workitem.
Projects
None yet
Development

No branches or pull requests

8 participants