👋

How to fix Class not registered Error code: Wsl/CallMsi/REGDB_E_CLASSN

2024/07/10に公開

発生した現象

I attempted to install WSL on my new desktop PC, but encountered the following error.

$wsl --install
Class not registered Error code:
Wsl/CallMsi/REGDB_E_CLASSNOTREG

解決策

https://github.com/microsoft/WSL/releases
I resolved the issue by accessing the site, downloading wsl-xxx.x64.msi (the current version in July 2024 is 2.2.4), and reinstalling WSL.

Discussion