WSL2 Linux Kernel Update (wsl_update_x64.msi) Fails with "This update only applies to machines with the Windows Subsystem for Linux" despite feature being enabled.
Posted by Commercial-Basil7859@reddit | linux | View on Reddit | 6 comments
I am attempting to set up Docker Desktop's WSL2 backend on Windows 11 (x64) and am consistently blocked by an error when trying to install the wsl_update_x64.msi Linux kernel update package.
The specific error message is: "This update only applies to machines with the Windows Subsystem for Linux" (followed by "Windows Subsystem for Linux Update Setup Wizard ended prematurely").
This occurs even after rigorously ensuring the following prerequisites are met:
- Windows Version: Windows 11.
- Virtualization: Enabled in BIOS/UEFI (confirmed via Task Manager showing "Enabled").
- WSL Features Enabled (Contradictory Results):
- I have repeatedly run dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart which reports "The operation completed successfully" (100%).
- I have also run dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart which also reports "The operation completed successfully" (100%).
- I have verified their state using Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | Select-Object State and Get-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform | Select-Object State, both of which report State : Enabled.
- I have also tried Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux, VirtualMachinePlatform -NoRestart which reports RestartNeeded : True and Online : True.
- Crucially, I have performed a full system reboot after each feature enablement attempt.
- System Health: I have successfully run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth to rule out core Windows corruption.
- WSL State: I have run wsl --shutdown and wsl --unregister
for all listed WSL distributions (Ubuntu, docker-desktop, docker-desktop-data) to ensure a completely clean slate before reinstalling. - WSL Default Version: wsl --set-default-version 2 runs successfully.
Despite all these successful prerequisite checks and reboots, the wsl_update_x64.msi installer continues to fail with the exact same error, indicating it cannot detect the WSL feature.
This is preventing me from proceeding with Docker Desktop and its WSL2 backend.
What could possibly be preventing the wsl_update_x64.msi installer from detecting the "Windows Subsystem for Linux" feature, when Windows itself reports it as enabled via DISM and PowerShell?
thumb_upthumb_down
AutoModerator@reddit
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
sns8447@reddit
Read the rules before posting.
Level-Suspect2933@reddit
windoze detected. skill issue probable.
dinosaursdied@reddit
This is also not a help subreddit so you would want to try a sub that answers questions. This sub is for Linux discussion in a broader sense.
hexdump74@reddit
I don't really understand why you're posting that in linux. Clearly a Windows problem.
FrostyDiscipline7558@reddit
This isn't real Linux. Please ask a Microsoft subreddit or something.