[Fixed] update only applies to machines with the windows subsystem for Linux | WSL error
Описание
Menu:
Overview: 00:00
Fixing WSL2 installation error: 01:08
Check WSL2 status: 02:47
Done: 03:23
WSL2 installation error Windows subsystem for Linux update setup that this update only applies to machines with the windows subsystem for Linux.
Dism command are ran successfully but wsl_update_x64.msi giving error and setup failed
Procedure to fix the issue :-
1. Open "turn windows features on or off"
2. Uncheck both "Virtual Machine Platform" and
"Windows subsystem for Linux"
3. Press OK
4. Reboot your system
5. Open "turn windows features on or off" again
6. Now check both "Virtual Machine Platform" and "Windows subsystem for Linux"
7. Press OK
8. Reboot your system again
9. Now run the wsl_update_x64.msi again, it should install successfully now
10. Go to powershell and run wsl command
Full article URL:-
https://docs.microsoft.com/en-us/windows/wsl/install-win10
Windows Subsystem for Linux Installation Guide for Windows 10
Install Windows Subsystem for Linux
Step 1 - Enable the Windows Subsystem for Linux
Step 2 - Update to WSL 2
Step 3 - Enable Virtual Machine feature
Step 4 - Download the Linux kernel update package
Step 5 - Set WSL 2 as your default version
Step 6 - Install your Linux distribution of choice
Step 7 - Set up a new distribution
Install Windows Terminal (optional)
Step 1 - Enable the Windows Subsystem for Linux
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Step 3 - Enable Virtual Machine feature
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart up
wsl_update_x64.msi unable to run because "This update only applies to machines with the Windows Subsystem for Linux"
No it's not working after following below
Also it seems some people have problems with the installer extracting the kernel.
You can always extract it manually with:
msiexec /a "wsl_update_x64.msi" /qb TARGETDIR="C:\temp"
and then copy the kernel file from C:\temp to C:\Windows\System32\lxss\tools
Final version shouldn't have this problem since the install comes from Windows Update.
I right clicked the old msi - uninstalled it. now i can install the new one .(not working)
"The specified account already exists" and fails.
We need to uninstall " Windows Subsystem for Linux Update " just as we would uninstall a regular windows application
I solved my issue by elevating a command line and executing wsl_update_x64.msi from there.
If wsl --set-default-version results as an invalid command, enter wsl --help. If the --set-default-version is not listed, it means that your OS doesn't support it and you need to update to version 1903, Build 18362 or higher.
WSL2
Windows 10
Windows Version
Ubuntu 16.04
Ubuntu 18.04
Debian
WSL Setup
Рекомендуемые видео



















