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

Running as administrator from standard user gives error #4766

Closed
CKingX opened this issue Mar 1, 2020 · 3 comments
Closed

Running as administrator from standard user gives error #4766

CKingX opened this issue Mar 1, 2020 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@CKingX
Copy link

CKingX commented Mar 1, 2020

Environment

Windows build number: Windows 10 version 10.0.18363.693
Windows Terminal version (if applicable): 

Any other software?

Steps to reproduce

Create a standard account. Then, open wt as administrator. UAC opens up, and you type your administrator account password.

It gives the following error: C:\User[name of user]\AppData\Local\Microsoft\WindowsApps\wt.exe The file cannot be accessed by the system.

When running as administrator by searching the start menu for Windows Terminal, I get a different error: Windows cannot find 'C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.9.....(skipped the rest of the name)\WindowsTerminal.exe'. Make sure you typed the name correctly, and then try again.

Expected behavior

It should run as administrator and run commands with administrator privileges.

Actual behavior

It gives the error that it cannot find the path of the executable file.

@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 Mar 1, 2020
@zadjii-msft
Copy link
Member

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

/dup #4217

@ghost
Copy link

ghost commented Mar 2, 2020

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 Mar 2, 2020
@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 labels Mar 2, 2020
@omril1
Copy link

omril1 commented Oct 12, 2020

I don't think it's a duplicate, the app just decides to crash one day and not run again with this message in repeat, also the executable "wt.exe" cannot be moved, copied or read after this happens.

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