-
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
Windows Terminal WT.exe not working anymore after latest update 22509.1000.211119-1136.RS_PRERELEASE #11886
Comments
Huh so the app execution alias from
That would seem to suggest that There's a pile of issues already tracking this particular error message:
Please follow up in #9452 if none of the solutions in those threads work for you. |
For me, this issue is weirder. (system version is 22000.348) 1: Win+X -> [Windows Terminal] or Windows Terminal {Admin} |
Your responses are much appreciated.
Yes! I did also suspect its to do with permissions. I suspect that it could also be related to Win32 and it's path issues as I have to suddenly add Win32 programs that worked before to the environment path to get it to work? There is also WSL Ubuntu links that won't work from start but they work ok if opened directly from store.
Is reinstallation my only best choice!
Thank you!
|
I happened to find some solutions to fix this problem.
Then
And just wait for it to finish. 2:
from the Right-click menu is another issue(#10119). |
I also just came across an older thread discussing a similar effect: #7188 You might be able to quick fix this by just toggling the "App Execution Alias" for the Terminal in the Settings App: (if that didn't help, then maybe reboot after toggling it) Any chance that resolved it? |
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. |
AFAICT, updating the appexec alias doesn't update the "wt.exe" entry in "HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths". The "App Paths" entry is meant to allow running "wt.exe" via If the "App Paths" entry is wrong, you can either fix it or remove it. If you opt to fix it, you can change it to run the appexec alias instead of the executable. Butchering the ACLs on "%ProgramFiles%\WindowsApps" is an over the top response to a simple problem.
In particular, the access token contains the app's "WIN://SYSAPPID" attribute. A conditional ACE on the executable file grants execute access in this case. For example, |
Hi everyone. If there is anyting else you want me to do to test or feed back info please advise and I will attend to it pronto. My PC Windows version is currently in the process of updating to Windows 11 Insider Preview 2253.1000 (rs_prerelease). I hope all ends well and nothing breaks again. Edit: Fixed some spelling and added text to add hopefully some better clarity. English is not my native language. |
Hi, |
Yes. I long ago took ownership of the /WindowsApps folder for some reason I cannot now remember and never experienced any problems until a recent Insiders update then everything slowly but surely broke mostly after windows store installs or insiders updates. Now everything seems to mostly work again after your option 1, although wt.exe broke again after reboot with different errors, which the latest powershell update 7.2.1 fixed. Now testing various other apps to see if their shortcuts also works. |
Have you tried: - get-appxpackage Microsoft.WindowsTerminal -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} |
this worked for me. i was getting "Windows cannot find wt.exe" when doing "right-click Start menu > left-click Windows Terminal". i'd only just performed a fresh install of windows 10 home, followed by an upgrade to windows 11 the next day. i don't have any weird permissions and wasn't messing with any system settings or file permissions, so it seems like a bug. |
2nd solution solved it. |
@el-chazmo
Solved the problem. Thanks. The problem comes after the lately update in Windows 11. |
This one works!!! Thanks |
Windows Terminal version
wt -v not working for win+r , Works from cmd! Windows Terminal Preview 1.12.2931.0
Windows build number
Microsoft Windows [Version 10.0.22509.1011] worked fine in build 22509.1000 prior to upgrade.
Other Software
No response
Steps to reproduce
1: Right click "start" Windows logo, Click within context menu on [Windows Terminal] or Windows Terminal {Admin}
or
2: win+r, then type "wt" or "wt -v" (no quotes) in dialog box.

Expected Behavior
Should be opening Powershell
Works fine when I type win +r, then type cmd in run dialog box, then wt or wt -v in cmd.exe terminal box on which PowerShell 7.2.0 terminal opens correctly as per above picture..
Actual Behavior
An error notification popup appears instead.
Seems to me there is problem with shortcut not finding correct path?
The text was updated successfully, but these errors were encountered: