WSL: 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 ver at 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

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 20
  • Comments: 38

Most upvoted comments

I found the working solution, please try and let me know the result.

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

Demo Video for graphical representation

https://youtu.be/4czn-4uu65c

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.

@sonook comment is blatant spam

I don’t know what @ultrawebmarketing is talking about. @sonook solved my problem.

bullshit product wsl

@sonook 's solution worked for me. Thanks!

I found the working solution, please try and let me know the result.

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

Demo Video for graphical representation

https://youtu.be/4czn-4uu65c

It worked for me

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

I found the working solution, please try and let me know the result.

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

Demo Video for graphical representation

https://youtu.be/4czn-4uu65c

Worked for me

Only @sonook’s solution worked for me! @ultrawebmarketing is blatant spam (username checks out)

Just restarting 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.

@sonook 's solution worked for me also. Thanks.

@sonook 's solution works for me. Thanks!!

The good old “Have you tried turning it off an on again?”…

@sonook thanks man, after trying everything your solution worked, now i can use docker finally.

I found the working solution, please try and let me know the result.

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

Demo Video for graphical representation

https://youtu.be/4czn-4uu65c

It works for me. Windows 10 pro
Version 21H1 (OS build 19043.928)

It turns out that “Windows subsystem for Linux” was not automatically checked after installing WSL2 wsl --install. After checking this item and rebooting Windows, it worked!

@sonook

The solution from @sonook worked for me!

I found the working solution, please try and let me know the result.

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

Demo Video for graphical representation

https://youtu.be/4czn-4uu65c

This worked for me, cheers

I found the working solution, please try and let me know the result.

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

Demo Video for graphical representation

https://youtu.be/4czn-4uu65c

awesome, it did fix this issue.

@sonook It worked for me. Microsoft Windows [Version 10.0.19041.928]

@sonook’s solution worked for me.

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!