You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WSL 2 requires an update / The update only applies to machines with WSL #5014
Your Windows build number: Microsoft Windows [Version 10.0.19041.153]
What you're doing and what's happening:
I'm starting Ubuntu for Windows and I immediately receive the following message: WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel.
This has happened before, so I simply go to the website mentioned and download the update. No big deal. But when I run the update this message pops up: This update only applies to machines with the Windows Subsytem for Linux (there's a small typo in the message, by the way).
What do I do now? Seems I'm stuck between updates...
Reacted by Shaun Luttin, Marcel Garus, Robert923, Joel Mueller, Felipe Laprano, ozAnyvision, Supawat Tamsri, Marcus Kim, Dima Kolesnik, Sungwon Jung and 57 more
For WSL2 you will need 2 Windows components so make sure they are already enabled: Microsoft-Windows-Subsystem-Linux VirtualMachinePlatform
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.
Reacted by Takeshi Asahi, Victor Nahuel Chaves, Vadim Korotov, Kassio, Antti Rintala, Jiarca, fuchiao, Phil Godzin, Ethan Reker, Code Battle Community and 144 more
Reacted by Sven Mathieu, Gleb Lamm, Redix8, Paul Chen, Hyosang Ahn, MingOf, Dan Besu, Binod Nagarkoti, Pablo Aguiar, Alexie Popescu and 8 more
Reacted by Ajinkya Borade, Luginbash, salesawy1, César, Max Partenfelder, Jonas Scherer, Benjamin Saljooghi, Pietro-G, Noel Jacob, Martin Schütte and 14 more
Reacted by Supawat Tamsri, Bruno Machado, Braulio Coral, Girish Mahabir, salesawy1, Mauro Oliveira, Max Partenfelder, Youri Ackx, Jonas Scherer, Arslan Ahmed and 32 more
Reacted by Pietro-G, Yu-Ji Kim, Noel Jacob, nika mezvrishvili, nebojsa, Ivan Popov, Jake, Fedor Sorokin, cfw11, shortski and 9 more
Jonathan (@onomatopellan) I had WSL2 working already, so I have both enabled. After an update it asked me to update WSL2 manually by downloading and executing the MSI file. On a previous update that worked perfectly and WSL2 worked again after updating. On this update however I receive the error message I described when executing the MSI file.
Thanks for the workaround! I'll try it out next week, when I have the system with this issue available again.
ok - i figured out the issue. the new update does not uninstall the old one (the slow insider ring one).
I right clicked the old msi - uninstalled it. now i can install the new one .
Reacted by Jonathan, James Avery, nipungupta99, swaroop1, radutomy, H947, Etienne Leroy 🛩️, Manuel Baun, Michael Solomon, Alireza Salimi and 95 more
Reacted by nipungupta99, Kelvis da Gama Zangrossi, Gencer W. Genç, Trung Kien Nguyen - Ken Nguyen, Satyajit Ghana, Lebreton, Pavel Turovski, devbelly, Pablo Aguiar, Hiccup and 2 more
Reacted by nipungupta99, Kelvis da Gama Zangrossi, HammadHChandio, Gencer W. Genç, Satyajit Ghana, Lebreton, Purnendu Mukherjee, amanecer, yujenlee, devbelly and 2 more
Reacted by nipungupta99, Cihan Eran, Kelvis da Gama Zangrossi, Gencer W. Genç, Michał Papliński, Sergej Lopatkin, Filipe, Satyajit Ghana, Jon Vuri, Lebreton and 15 more
Reacted by Dismas Asiimwe, Cihan Eran, Kelvis da Gama Zangrossi, IRONHIDE, Gencer W. Genç, Savvy Raghuvanshi, Michał Papliński, Sergej Lopatkin, Satyajit Ghana, Jon Vuri and 13 more
ok - i figured out the issue. the new update does not uninstall the old one (the slow insider ring one).
I right clicked the old msi - uninstalled it. now i can install the new one .
Can you expand on this? I'm not sure where you found the MSI to uninstall.
I tried the recommended advice from Jonathan (@onomatopellan)
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
But I still cannot get it to work.
I don't have a kernel file after executing those commands, its just an MSI file and when I click the file it says "The specified account already exists" and fails.
Reacted by Martin Mose Facondini, Morgan Marshall, JMichael, Marco Lackovic, berzi, Max Sobol Mark, Raed, Shubham Sharma, windylion, Paul Chen and 11 more
ok - i figured out the issue. the new update does not uninstall the old one (the slow insider ring one).
I right clicked the old msi - uninstalled it. now i can install the new one .
"Right clicked the downloaded msi" would have been correct.
Thanks!!!
Solved issue for me. The problem was the path "C:\Users<UserName>\Downloads\wsl_update_x64.msi" to msi installation file.
I copied file to "C:\Temp\wsl_update_x64.msi", double-clicked and was installed OK.
Reacted by Adam Hammond, goOMG, dfoster-cb911, Igor, Gigabyte0x1337, Dmitrii Elkin, Hsueh-Min Chang, H.H. Ramamoorthy, İsmail Özbek, Agrover112 and 5 more
I should say thank you for posting a tool that help fixing issues for program improperly uninstalled. Long story for short, back in days when I first touched cli and tried to play with with cli on file removal. After applied rm to where adobe pdf reader installed (could not really remember why), found out neither the old pdf reader could not be removed nor the newer version could be installed, because of my false operation.
So, this problem sits for years because of my laziness, until I finally came across your answer for fixing wsl issue and tried this tool that brings pdf reader back to life again. I know this sounds really stupid to people who read this post, but at least I got lesson learned.
I'm starting Ubuntu for Windows and I immediately receive the following message:
"WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel."
sort out above problem by this command in PowerShell wsl --update
after this update everything is clear
it may help for this problem
This error happens to me also in Windows 11, this Manual Installation will fix it. Just make sure you enabled WSL on windows feature configuration. There's also included command there to enable virtual machine feature if ever you forgot to enable it.
Nice approach. I've tried a bunch of other solutions but no success at all. I just ran this troubleshooter, selected the subsystem and it uninstalled properly so I could run the wsl command again with success.
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Activity
Jimbles commentedon Mar 27, 2020
I have the same problem with build
19041.172, I have used WSL1 before switching to the insiders program without issueonomatopellan commentedon Mar 27, 2020
For WSL2 you will need 2 Windows components so make sure they are already enabled:
Microsoft-Windows-Subsystem-LinuxVirtualMachinePlatformAlso 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
kernelfile from C:\temp to C:\Windows\System32\lxss\toolsFinal version shouldn't have this problem since the install comes from Windows Update.
nphmuller commentedon Mar 28, 2020
Jonathan (@onomatopellan) I had WSL2 working already, so I have both enabled. After an update it asked me to update WSL2 manually by downloading and executing the MSI file. On a previous update that worked perfectly and WSL2 worked again after updating. On this update however I receive the error message I described when executing the MSI file.
Thanks for the workaround! I'll try it out next week, when I have the system with this issue available again.
sandys commentedon Mar 28, 2020
im having this exact same issue. im on release 2004 (19041.172)
I'm stuck between updates. and my dev system is down.
sandys commentedon Mar 28, 2020
ok - i figured out the issue. the new update does not uninstall the old one (the slow insider ring one).
I right clicked the old msi - uninstalled it. now i can install the new one .
Jimbles commentedon Mar 30, 2020
Sandeep Srinivasa (@sandys) Thanks! That worked for me :)
tasahi commentedon Apr 2, 2020
Jonathan (@onomatopellan) , thanks. It worked for me just fine. It seems that some Win update erases the kernel file.
friday963 commentedon Apr 4, 2020
Can you expand on this? I'm not sure where you found the MSI to uninstall.
I tried the recommended advice from Jonathan (@onomatopellan)
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
But I still cannot get it to work.
I don't have a kernel file after executing those commands, its just an MSI file and when I click the file it says "The specified account already exists" and fails.
onomatopellan commentedon Apr 4, 2020
friday963 Something is broken in your install. Follow this and try again: https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed
BTW the msi file you need is here https://aka.ms/wsl2kernel
friday963 commentedon Apr 4, 2020
You're right Jonathan (@onomatopellan) , I needed to uninstall with that tool. Thanks for the help!
swaroop1 commentedon Apr 6, 2020
Sandeep Srinivasa (@sandys) Thanks that worked for me!!
We need to uninstall " Windows Subsystem for Linux Update " just as we would uninstall a regular windows application
etdecode commentedon Apr 10, 2020
"Right clicked the downloaded msi" would have been correct.
Thanks!!!
jakemitchellxyz commentedon Apr 30, 2020
This solved it for me!
baoanhng commentedon Apr 30, 2020
Solved issue for me. We need to uninstall the latest one, then install it with downloaded kernel from the website.
skipper46 commentedon May 6, 2020
Solved issue for me. The problem was the path "C:\Users<UserName>\Downloads\wsl_update_x64.msi" to msi installation file.
I copied file to "C:\Temp\wsl_update_x64.msi", double-clicked and was installed OK.
95 remaining items
ilham76c commentedon Feb 3, 2023
thanks, I just downloaded the wsl2 kernel then installed it, and all problems solved.
schuberng commentedon Feb 19, 2023
I should say thank you for posting a tool that help fixing issues for program improperly uninstalled. Long story for short, back in days when I first touched cli and tried to play with with cli on file removal. After applied rm to where adobe pdf reader installed (could not really remember why), found out neither the old pdf reader could not be removed nor the newer version could be installed, because of my false operation.
So, this problem sits for years because of my laziness, until I finally came across your answer for fixing wsl issue and tried this tool that brings pdf reader back to life again. I know this sounds really stupid to people who read this post, but at least I got lesson learned.
neilwang0913 commentedon May 28, 2023
I think you might also need to run in admin for the 1st time.
sai-kumar2413 commentedon Aug 2, 2023
I'm starting Ubuntu for Windows and I immediately receive the following message:
"WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel."
sort out above problem by this command in PowerShell
wsl --updateafter this update everything is clear
it may help for this problem
drakem58 commentedon Aug 28, 2023
I am running Windows 11 not 10 and ran into the same display after installing Ubuntu, "WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel." Went to the website, downloaded the fix, ran it, then reran ubuntu and it works now.
kangarooo commentedon Dec 29, 2023
Removed Ubuntu, WSL update, WSL in Add windows features deselected WSL
Restart
Installed in Features WSL
Restart
Did https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
Installed update
Restart
Opened WSL
Didnt open
In store opened Ubuntu 22.04.3
Installed
WORKS
It should fix it all automatically instead of manually guessing and removing all
Lakshan-Madushanka commentedon Mar 25, 2024
Open the power shell and run the command
wsl.exe --installworked for me.goyaoyuanchun commentedon Jun 17, 2024
this works for me : https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
itsmejyv commentedon Jul 27, 2024
This error happens to me also in Windows 11, this Manual Installation will fix it. Just make sure you enabled WSL on windows feature configuration. There's also included command there to enable virtual machine feature if ever you forgot to enable it.
Harsh-1Byte commentedon Oct 12, 2024
Hey Folks,
I found my solution to my problem at this wonderful article below do check it out:
https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
wesandradealves commentedon Mar 26, 2025
Nice approach. I've tried a bunch of other solutions but no success at all. I just ran this troubleshooter, selected the subsystem and it uninstalled properly so I could run the wsl command again with success.
microsoft-github-policy-service commentedon Apr 2, 2026
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Thank you!