-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Comments
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. |
just bumped my head into gerardog/gsudo#117 and, by extension, this. 😔 |
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 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
A year later, any update on this? Still an issue in VS2022 and Windows 11. |
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. |
I see some workarounds (in chinese), maybe help: |
Visual studio developer command prompt runs in terminal only if you already run terminal as administrator and then executed "Developer Command Prompt for VS 2022" .lnk file or just passed its command directly |
Windows Terminal version (or Windows build number)
10.0.21390.1, 1.9.1445.0
Other Software
No response
Steps to reproduce
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
The text was updated successfully, but these errors were encountered: