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

Opening wt.exe can no longer open as administrator (both WT and WT Preview) #9138

Closed
AriKrumbein opened this issue Feb 12, 2021 · 4 comments
Closed
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@AriKrumbein
Copy link

AriKrumbein commented Feb 12, 2021

Environment

Windows build number:  Microsoft Windows NT 10.0.21301.0 (aka 21301.1010 via WinVer)
Windows Terminal version (if applicable):
- WT Preview: 1.6.10412.0
- WT: 1.5.10411.0

Steps to reproduce

Scenario 1: directly Run as Administrator

  • Navigate to install directory in Explorer (in my case, C:\Users[USERNAME]\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal_8wekyb3d8bbwe
  • Right Click on wt.exe and click Run As Administrator

Scenario 2: Creating a shortcut to wt.exe

  • Create a shortcut to the path above.
  • Change the shortcut's properties to Run as Adminstrator

Expected behavior

Terminal shows a UAC prompt and launches elevated.

Actual behavior

A dialog box:
image
I can confirm the path is correct, and left click on the icon launches WT correctly.

Interestingly, clicking Run as Adminstrator when launching from Start does succeed.

@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 Feb 12, 2021
@DHowett
Copy link
Member

DHowett commented Feb 12, 2021

Was this working before either the WT or Windows update? You're using a dev build of Windows that has perhaps had some churn in app execution alias handling.

If you go to the "manage app execution aliases" page and disable/re-enable the wt.exe alias, is the issue resolved?

@DHowett DHowett added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Feb 12, 2021
@AriKrumbein
Copy link
Author

Yup! Resolved by turning on and off wt.exe alias.

Could be a dupe of #7188?

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Feb 12, 2021
@zadjii-msft
Copy link
Member

@ghost
Copy link

ghost commented Feb 16, 2021

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!

@ghost ghost closed this as completed Feb 16, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed 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 Needs-Attention The core contributors need to come back around and look at this ASAP. labels Feb 16, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants