wsl_update_x64.msi unable to run because "This update only applies to machines with the Windows Subsystem for Linux"
-
Your Windows build number: (Type
verat a Windows Command Prompt) Microsoft Windows [Version 10.0.19041.172] -
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
I am trying to run the kernal updater tool and I'm receiving an error that "This update only applies to machines with the Windows subsystem for Linux
- What's wrong / what should be happening instead:
I am unable to update the kernel and use WSL 2
I didn't mention this but I definitely have WSL 1 installed, I updated Windows with the intention of installing WSL 2. WSL 1 still runs fine.
See #5014
Thanks.
the same thing is happening to me I have WSL 1 already installed but WSL Update is not working
Same behaviour: WSL1 installed, unable to update. Error: "This update only applies to machines with the Windows Subsystem for Linux".
Same here, did someone succeed fixing this problem?
- Updated Windows, for 2004 version and Build 19041
- Ran the command "dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart" then restart the pc
- then installed the kernel update (https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel)
just as is instructed by MS https://docs.microsoft.com/en-us/windows/wsl/install-win10#update-to-wsl-2
https://github.com/MicrosoftDocs/WSL/issues/616#issuecomment-609574285
I have just got it working by running wsl_update_x64 from powershell with admin rights as opposed to double clicking.
Yep this the installer doesn't request admin..
MicrosoftDocs / WSL # 616 (comentario)
Acabo de hacerlo funcionar ejecutando wsl_update_x64 desde powershell con derechos de administrador en lugar de hacer doble clic.
Its works!
no funciona
I found the working solution, please try and let me know the result.
Procedure to fix the issue :-
- Open "turn windows features on or off"
- Uncheck both "Virtual Machine Platform" and "Windows subsystem for Linux"
- Press OK
- Reboot your system
- Open "turn windows features on or off" again
- Now check both "Virtual Machine Platform" and "Windows subsystem for Linux"
- Press OK
- Reboot your system again
- Now run the wsl_update_x64.msi again, it should install successfully now
- Go to powershell and run wsl command
Demo Video for graphical representation
https://youtu.be/4czn-4uu65c
@sonook comment is blatant spam
I don't know what @ultrawebmarketing is talking about. @sonook solved my problem.
@sonook 's solution worked for me. Thanks!
I got the issue today with 10.0.19042.685 (20H2) and the workaround proposed by sonook also worked for me. By the way a typo can be noticed in the error message : "This update only applies to machines with the Windows subsytem for Linux", with a missing "s" in subsystem.
@sonook 's solution works for me. Thanks!!
@sonook 's solution worked for me also. Thanks.
@sonook's solution worked for me.
+1 for @sonook 's solution, this error is hideous!
Edit: I've run the installer as admin, I've launched it from the powershell with admin rights, nothing worked except turning the features off and on.
Check your BIOS to ensure virtualization support is turned on...