-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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 wt from "Run" dialog box doesn't work #10149
Comments
Video describing the different behaviors. 2021-05-21_17-41-49.mp4 |
This feels like one of the many issues we've had with the app execution alias in the past. @DHowett is usually the best at helping get to the root cause. |
This happened to me when I tried to gain access to WindowsApps folder by changing permission, after that files were all messed up inside and some store apps stopped working properly. Terminal would work when normally launched by clicking the icon but opening from run dialog did not work. My only option was to do a clean install of windows. |
Unfortunately, that is one of the "NO FLY ZONES" in Windows -- editing the permissions on that folder. Sorry that happened to you! |
Ah! no worries, I learnt my lesson. |
@sungvzer Could you try toggling the "App Execution Alias" for the Terminal, in the Settings App? That might just fix it for you. Otherwise, there's an option in the Settings app to "Repair" an app (Settings > Apps and Features > Terminal > Advanced Options > Repair) which might work. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Did both things, no success |
This should be in the FAQ (if it isn't already)! :D |
Sorry for the long turnaround on these. I'm gonna try reaching out to the App Execution Alias team to see if they have more guidance here. If the Terminal can be launched just fine from the Start Menu, but specifically Usually toggling the app execution alias in the Settings app should fix this. Worst case, repairing the app via the settings app should also help. But for some reason those don't seem to help everyone, so we need to figure out what's wrong when those don't work. In the meantime, can you share the output of Correct WindowsApps permissions
As a matter of cross-linking:
[1]: The Win+X menu is also powered by |
Another debugging question from the AEA team: Do any other App Execution Aliases work from the run dialog or a console window? You can find all of them in the settings app. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Hi, in the meantime I completely wiped the system, obviously that fixed the problem I had, so unfortunately I have no longer access to the faulty instance. |
Welp that's alright. We've clearly got more than enough other reports, we'll use one of those to track this down. Thanks for the follow-up! |
I also have this issue. It appears that the process starts, and shortly after, closes. I never see it appear on screen. https://youtu.be/uoBcX7uYYTg |
@Zubbbz Do you have the "App execution alias" for the Terminal enabled in the Windows Settings app? From Start menu search, look for "App execution alias", which should take you to the Settings app: If that's enabled, then try running First try toggling the App Execution Alias for WT off then in the Settings app. If that doesn't work, then make sure |
I just now turned it off when I took that screenshot, when I had it on, the issue persisted. |
@zadjii-msft I've been having the same issue and have too much important data to merit doing a clean install, so I'm working with a faulty wt.exe alias if you need some more diagnostics. Just so we're caught up, I tried toggling the App Execution Alias and performing an app repair via Settings, but neither worked for me. Symptoms for me are identical as the original video posted in this issue. I can't remember, but I might've messed with the permissions a while back, so I wouldn't be surprised if that was the cause. Looking back through the thread a bit, I saw you posted the correct permission for the WindowsApps folder; could you please elaborate on (or send a link that explains) the Edit: I ran
|
Windows Terminal version (or Windows build number)
10.0.19042.0 1.7.1091.0
Other Software
Windows run dialog
Steps to reproduce
Expected Behavior
The application would launch normally when launched from a run dialog.
Actual Behavior
Open dialog closes, cursor goes to "loading" state, then everything turns back silent.
Running
Get-Command wt | Select-Object -ExpandProperty Definition
, it echoes back%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe
, and pasting this string into the run dialog actually opens the terminal.That path is already in the system AND user paths.
The text was updated successfully, but these errors were encountered: