WSL: Windows Store installed Ubuntu fails to launch - Invalid parameter (french canadian)
- Your Windows build number: (Type
verat a Windows Command Prompt)
Microsoft Windows [version 10.0.16299.19]
- What you’re doing and what’s happening: (Copy&paste specific commands and their output, or include screen shots)
I just installed the Windows 10 Fall Creator Update and I was thrilled at the fact that I could install Ubuntu.
However, all my attempts resulted in the following error: From the UI (attempt to launch from Windows Store, I simply Ctrl-C, Ctrl-V the Dialog box here)
[Window Title]
C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc\ubuntu.exe
[Content]
C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc\ubuntu.exe
Paramètre incorrect.
[OK]
Power Shell (both as regular user and as administrator)
PS C:\WINDOWS\system32> ubuntu install
Le programme « ubuntu.exe » n’a pas pu s’exécuter : Paramètre incorrectAu caractère Ligne:1 : 1
+ ubuntu install
+ ~~~~~~~~~~~~~~.
Au caractère Ligne:1 : 1
+ ubuntu install
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
+ FullyQualifiedErrorId : NativeCommandFailed
(Sorry for the french…)
What I did was this:
- Installed Ubuntu from the Windows Store and then realized I also need “Windows Subsystem for Linux”
- Installed “Windows Subsystem for Linux” using PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Restarted my PC
- Attempted to start Ubuntu both from Windows Store and PowerShell (ubuntu) -> Failed
- Uninstalled Ubuntu (right-click on Ubuntu in Start Menu -> Uninstall)
- Reinstalled Ubuntu from Windows Store
- Once more attempted to start Ubuntu both from Windows Store and PowerShell (ubuntu) -> Failed
- Uninstalled Ubuntu (right-click on Ubuntu in Start Menu -> Uninstall)
- Disabled “Windows Subsystem for Linux” using PowerShell: Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Restarted my PC
- Reinstalled “Windows Subsystem for Linux” using PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Restarted my PC
- Reinstalled Ubuntu from Windows Store
- Once more attempted to start Ubuntu both from Windows Store and PowerShell (ubuntu) -> Failed
- Ran http://aka.ms/diag_apps10 and fixed a potential cache issue
- Once more attempted to start Ubuntu both from Windows Store and PowerShell (ubuntu) -> Failed
- Uninstalled Ubuntu (right-click on Ubuntu in Start Menu -> Uninstall)
- Reinstalled Ubuntu from Windows Store
- Once more attempted to start Ubuntu both from Windows Store and PowerShell (ubuntu) -> Failed
I am now out ouf ideas…
About this issue
- Original URL
- State: open
- Created 9 years ago
- Reactions: 5
- Comments: 56 (7 by maintainers)
Same problem, found “a” workaround:
@benhillis Do you have a communication channel to the Windows Store team? I can confirm the issue is still present with Windows 10 1903. Two years seems like an awfully long time for this bug to persist.
Your user profile could be damaged. I’d try to create a new user account with admin rights and after enabling WSL install Ubuntu from the store.
today a colleague of mine did an update from wsl on 1703 to 1709. same result. we are still able to use legacy bash, but a solution would be desirable…
On Fri, Jan 19, 2018 at 11:24 AM, Oliver Hanappi notifications@github.com wrote:
Any progress on this?
What’s the status on this? The old product on 1703 worked. On 1709 , I got “the parameter is incorrect”. Now on 1803, I get the same message “the parameter is incorrect”. Please someone!
@mdentremont Don’t worry, it’s still on the radar, even though I apparently forgot to mark it as a bug. My bad. It is on the radar though 😃
I found a solution how to fix this, following the tips by @rohatsu .
this happened to me because my windows store is broken, so what I did is I downloaded WSL(ubuntu) manually from this link this. After I installed it, it occurs the error like the description of the problem, and I follow the guides form @rohatsu has mentioned. however, I couldn’t see the directory of the Ubuntu which has been installed since I cannot access
C:\Program Files\WindowsApps\folder.so what I did is, first I make my PC current user as administrator to get the ownership of files which is private, I followed step no.2 on this website to get it website. after I am getting the ownership of the administrator to my local user (pc user), now I can open
C:\Program Files\WindowsApps\folder. from there I copied the content inside the Ubuntu folder (in my case its name is CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2018.817.0_x64__79rhkp1fndgsc) and paste it onC:\Ubuntuwhich is the folder I made it myself, and run the.exefrom there and somehow it works.I did a shortcut on my desktop of ubuntu.exe file from problematic path and no problem. Runing it from Start menu is still the problem.