WSL kernel component update not working
Windows build: 2004 (19041.264)
- Enabled the optional feature:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart - Enabled the "Virtual Machine Platform" optional feature:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart - Restarted the machine
- Intalled the latest WSL2 Linux kernel update package for x64
- I can see "Windows Subsystem for Linux Update" under programs and features.
- Again restarted the machine
Still, I see this message:
PS C:\WINDOWS\system32> wsl --set-default-version 2
WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel
Can you see the kernel file in C:\Windows\System32\lxss\tools?
Can you see the
kernelfile in C:\Windows\System32\lxss\tools?
No
Try the msiexec workaround from here https://github.com/MicrosoftDocs/WSL/issues/591#issuecomment-599330026.
Thanks tried, your this comment works: https://github.com/microsoft/WSL/issues/5014#issuecomment-605243281
You can also use 7zip to extract the MSI file and then manually copy across the FID_LXSS_KERNEL file.