After doing that, everything works fine again.We have received 3 new computers with Windows 8.1. Then I toggled it back on and wt.exe reappeared in that folder. I opened that and toggled the switch off, at which point I saw the %USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe file disappear. My path environment variable was in order and I didn't have the Windows Terminal Preview installed-just Windows Terminal.Īfter Googling around some, I found something that mentioned the "App execution aliases" settings page in windows 10. If I manually clicked Windows Terminal in the start menu or opened the Microsoft Store page for it and clicked the "Launch" button, then it would work. I'm not sure if this is exactly the same issue as in the original question, but I randomly just had issues with the wt command not working (either when I typed it into the Start Menu and pressed enter, or when I typed it into the address bar of File Explorer to try to open a terminal in the current directory). TLDR: Try opening the App execution aliases settings page in Windows 10 and toggle the switch for Windows Terminal off and then back on again. FullyQualifiedErrorId : NativeCommandFailedĮdit 3: in cmd.exe, typing full path to wt.exe launches it OK:Ĭ:\Users\sr>C:\Users\sr\AppData\Local\Microsoft\WindowsApps\wt.exe CategoryInfo : ResourceUnavailable: (:), ApplicationFailedException Program 'wt.exe' failed to run: The file cannot be accessed by the systemAt line:1 char:1 FullyQualifiedErrorId : CommandNotFoundException CategoryInfo : ObjectNotFound: (wt:String), CommandNotFoundException Or if a path was included, verify that the path is correct and try again. Wt : The term 'wt' is not recognized as the name of a cmdlet, function, script file, or operable program. How do I open Windows Terminal from cmd.exe using wt.ext from non-admin account?Įdit: all commands are run from within cmd.exeĮdit 2: wt.exe also fails to launch from Powershell, both standard and admin: INFO: Could not find files for the given pattern(s). 'wt' is not recognized as an internal or external command, Outputs of where and echo from within cmd.exe: C:\Users\sr>wt Clicking on it in Explorer opens Windows Terminal. PATH variable has the non-admin user's relevant entry: %USERPROFILE%\AppData\Local\Microsoft\WindowsApps which has wt.exe in it. Running wt.exe in cmd.exe from admin account opens it successfully. Running Windows Terminal from the Start using short-cut opens it OK. Installed Windows Terminal from Microsoft Windows Apps.Ĭalling wt.exe from cmd.exe can't find it. Windows 10 with a non-admin user account.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |