terminal: "The parameter is incorrect" on First Run
Environment
Windows build number: 10.0.18362.0
Windows Terminal version (if applicable): 0.7.3451.0
Any other software? Not that I can think of to cause this application to crash.
Steps to reproduce
Install from Microsoft Store or download from Releases Tab. Open Program
Expected behavior
First Run default profile loaded for configuring
Actual behavior
Upon opening program, the following error happens:
[C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.7.3451.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe]
C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_0.7.3451.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
The parameter is incorrect.
This doesn’t happen on my laptop which is weird. Other UWP(style) programs do run like the Camera App, Calculator, etc. It’s just this particular program that doesn’t like my copy of Windows.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 36 (9 by maintainers)
Fixed the problem moving terminal installation folder. Just change the directory like say %USERPROFILE%\Terminal folder and Voyla. It looks like a security issue in Program Files\WindowsApps directory. Another behavior is the icon that disappears from a shortcut created in desktop or toolbar. There is no need for running sfc /scannow. Sorry for my poor English. Cheers.
Still happening for me, but doesn’t seem to be limited to only Windows Terminal. I installed Ubuntu 20.04 for WSL and get the same issue.
I found one ‘solution’ which is letting me use Terminal - that being to move the entire install folder out of the WindowsApps folder and into C:\Terminal (any other folder location works, and this fixes Ubuntu as well).
I was going to do a “Upgrade in Place” style repair, but couldn’t select the choice to leave all of my programs and files in place, so I decided not to go any further. I saw reports from other forums that this solution worked.
I’m mostly just ignoring it for now, as I have the work-around, and I plan on re-formatting this PC once I purchase a new one later this summer.
Unfortunately, we haven’t really been able to reproduce this. Is it still happening for you folks?
I also have run into this issue. The problem started after I enabled my Administrator account and switched over to use it. I wanted to use Terminal, so I installed it from the Store, thinking it would then entitle me to Launch. It seemed to re-install, and worked fine. When I switch back to the only User account on my PC, I run into the “The parameter is incorrect” error. Note: if I switch to my Administrator account, Terminal opens without any error. I have attempted a number of uninstall/re-install variations between the two accounts, but it seems no matter what I try, my Administrator account can open Terminal, and my User account cannot.
Yikes, that’s not what I was hoping for. @Blizzardo1 Could you try repro’ing this with the Feedback hub? That’ll give us more detailed diagnostics (hopefully).
/feedback