Docker Desktop - WSL update failed, Docker Desktop 4.37.1 (178610) and Windows 11 pro version 24H2

I am getting the following error when I am trying to start my docker desktop:

wsl update failed: update failed: updating wsl: exit code: 4294967295: running WSL command wsl.exe C:\WINDOWS\System32\wsl.exe --update --web-download: Class not registered Error code: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG : exit status 0xffffffff

My system specification:

Windows 11 pro version 24H2

Docker Desktop 4.37.1 (178610)

I have tried the followings steps

  1. In CMD with admin:

wsl --update

Result:

Class not registered 
Error code: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG

wsl --update --web-download

Result:

Class not registered
Error code: Wsl/CallMsi/Install/REGDB_E_CLASSNOTREG

Havw you tried installing a newer WSL from the app store first? I remember it helped sometimes.

You can try a manual update: Release 2.3.26 · microsoft/WSL · GitHub ( wsl.2.3.26.0.x64.msi)

The error message looks like you don’t run the in-box version (installed by enabling the wsl feature), but rather run the app version (either from the Windows store or GitHub release). It looks like something is broken. This GitHub Issue has the same error code like your error message: https://github.com/microsoft/WSL/issues/5092, but as usual with wsl2 problems: it could be the same or a different problem…

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.