Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wsl_update_x64.msi unable to run because "This update only applies to machines with the Windows Subsystem for Linux" #5035

Closed
resigned opened this issue Apr 2, 2020 · 34 comments

Comments

@resigned
Copy link

resigned commented Apr 2, 2020

  • 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

@resigned
Copy link
Author

resigned commented Apr 2, 2020

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.

@onomatopellan
Copy link

See #5014

@resigned
Copy link
Author

resigned commented Apr 2, 2020

Thanks.

@resigned resigned closed this as completed Apr 2, 2020
@DeathNet123
Copy link

the same thing is happening to me I have WSL 1 already installed but WSL Update is not working

@simonpfeifhofer
Copy link

Same behaviour: WSL1 installed, unable to update. Error: "This update only applies to machines with the Windows Subsystem for Linux".

@gbr5
Copy link

gbr5 commented Jun 25, 2020

Same here, did someone succeed fixing this problem?

just as is instructed by MS https://docs.microsoft.com/en-us/windows/wsl/install-win10#update-to-wsl-2

@ultrawebmarketing
Copy link

MicrosoftDocs/WSL#616 (comment)

I have just got it working by running wsl_update_x64 from powershell with admin rights as opposed to double clicking.

@streaky
Copy link

streaky commented Jun 26, 2020

Yep this the installer doesn't request admin..

@ofaaoficial
Copy link

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!

@cristianaxion
Copy link

no funciona

@sonook
Copy link

sonook commented Nov 18, 2020

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

@ultrawebmarketing
This comment has been minimized.
@Opus4210
Copy link

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

@darer
Copy link

darer commented Nov 26, 2020

@sonook 's solution worked for me. Thanks!

@t-vert
Copy link

t-vert commented Dec 27, 2020

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.

@vincentkenny
Copy link

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

@MattConrad
Copy link

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

@pe-pan
Copy link

pe-pan commented Feb 4, 2021

@sonook's solution worked for me.

@m-dz
Copy link

m-dz commented Feb 12, 2021

+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.

@muhnick
Copy link

muhnick commented Mar 6, 2021

Check your BIOS to ensure virtualization support is turned on...

@mimranfaruqi
Copy link

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

@kozak127
Copy link

kozak127 commented May 9, 2021

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

@hasan-retrace
Copy link

Just restarting worked for me.

@supersciencegrl
Copy link

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

@mortroguez
Copy link

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

@meadlai
Copy link

meadlai commented Jul 14, 2021

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.

@weilonggggg
Copy link

worked for me!

@viajandee
Copy link

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

@bawantha
Copy link

bullshit product wsl

@YuRuiii
Copy link

YuRuiii commented Aug 16, 2021

I just solved the problem by enabling "BIOS Back Flash". For those who have never installed WSL before this might work.

@yadangdaxia
Copy link

The solution from @sonook worked for me!

@april211
Copy link

april211 commented Jul 18, 2022

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

@Rafat97
Copy link

Rafat97 commented Jul 24, 2022

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)

@soraia653
Copy link

This did not work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests