

I would recommend doing this, in case anything goes wrong)

(I created a backup tar of my currently used distro with the wsl -export. So in short if someone has the same problem, you can try the following steps: After more googling I discovered the ps command Add-AppxProvisionedPackage that provides installing a package for all users:Īdd-AppxProvisionedPackage -Online -PackagePath ".\Microsoft.WSL_0.70.4.0_圆4_ARM64.msixbundle"Īfter a reboot I was finally able to call wsl -version from my user account! And even the Microsoft Store somehow realized the new installation, as it displays an "Open" button, instead of an "install" button on the Windows Subsystem for Linux Preview App page. So if I tiped wsl -version in the admin prompt it displayed the version 0.70.4.0, but if I type it in my own user account, it still used the old version, even after a reboot. As it only updates the version of the administrator user account.

Remove-AppxPackage -package MicrosoftCorporationII.WindowsSubsystemForLinuxĪnd after that I reinstalled it with the Add-AppPackage command. Get-AppxPackage MicrosoftCorporationII.WindowsSubsystemForLinux So yeah, theoretically if you look on the numbers this version is newer as the 0.70.4.0 that we want to install 😆 So I checked with the Get_AppxPackage command which version is installed and it outputs a version like 10.0.XX. That command also displayed a error message that said something like "A newer version is already installed". msixbundle file with the Add-AppPackage powershell command in an elevated prompt:Īdd-AppPackage. So in the next attempt I tried to install the. Even when I called it with administrator rights.Īfter that I disabled the Windows Subsystem for Linux Windows feature.

The App installer opened, but the installation did not work. At first I tried to install it by double clicking on the. So my next try was to install it manually by downloading a release from the releases github page of WSL (in my case release 0.70.4). Winget command: winget install "Windows Subsystem for Linux Preview" -verbose-logs Even if I call it from an elevated prompt. I even tried to install with the winget package installer, but the same error appears. But every time I tried to install, the error message 0x80240066 appeared. I tried to upgrade my very old WSL installation (10.0.XX, where wsl -version is not working) to the Windows Subsystem for Linux Preview from the Microsoft store (that has a version like 0.70.XX.X).
