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

Cannot start Windows Terminal through powershell cmdlet #5380

Closed
lanyizi opened this issue Apr 16, 2020 · 3 comments
Closed

Cannot start Windows Terminal through powershell cmdlet #5380

lanyizi opened this issue Apr 16, 2020 · 3 comments
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-External For issues that are outside this codebase

Comments

@lanyizi
Copy link

lanyizi commented Apr 16, 2020

Environment

Windows build number: Microsoft Windows NT 10.0.18363.0
Windows Terminal version (if applicable): 0.10.781.0
Powershell 5.1 / Powershell Core 7

Steps to reproduce

start wt -verb runas
# or
Start-Process "C:\Users\[username]\AppData\Local\Microsoft\WindowsApps\wt.exe" -verb runas

Expected behavior

After a UAC confirmation prompt, Windows Terminal should be started under administrator mode.

Actual behavior

An error is displayed: This command cannot be run due to the error: The file cannot be accessed by the system.

@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 Apr 16, 2020
@DHowett-MSFT
Copy link
Contributor

Sounds like your admin user isn't the same as your normal user. That would be #4217.

@DHowett-MSFT DHowett-MSFT added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Apr 16, 2020
@lanyizi
Copy link
Author

lanyizi commented Apr 17, 2020

Sounds like your admin user isn't the same as your normal user. That would be #4217.

I only created one user on this PC (and that's the user I'm using), it's also the administrator user.

@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 Apr 17, 2020
@DHowett-MSFT
Copy link
Contributor

Interesting. We usually only see this problem when the application is registered for a user that isn't the admin user. Unfortunately, since this is an app platform registration issue, there isn't much we can do about it.

You might be able to repair the application in the Application settings.

@DHowett-MSFT DHowett-MSFT added Resolution-External For issues that are outside this codebase and removed Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Tag-Fix Doesn't match tag requirements Resolution-External For issues that are outside this codebase
Projects
None yet
Development

No branches or pull requests

2 participants