Verify and install the WSL 2 kernel MSI safely

Published · Updated

Save

Use the installation path Microsoft documents for your Windows build. The standalone kernel MSI is part of the manual legacy process. On a supported modern build, use WSL’s normal installation and update commands.

Identify your installation path

In PowerShell run wsl --status, then wsl --version if supported. Use winver to confirm the Windows release and Settings to confirm the system architecture. New installations can usually use wsl --install. Use wsl --update for servicing and check the Microsoft instructions if access to the Store is restricted.

Handle a legacy installer deliberately

For a system covered by the manual instructions, follow Microsoft’s feature, restart and kernel steps in order and download the architecture-specific file from its linked source. Check the file’s Digital Signatures tab or run Get-AuthenticodeSignature .\wsl_update_x64.msi in PowerShell. Confirm Windows reports a valid signature from Microsoft before installing. Confirm the distribution’s actual version with wsl --list --verbose.

References

Microsoft WSL installation

Microsoft manual installation for older Windows versions

Discuss this answer