WslRegisterDistribution failed with error: 0x80040324 Error
Version
Versione WSL: 0.67.6.0 Versione kernel: 5.15.62.1 Versione WSLg: 1.0.44 Versione MSRDC: 1.2.3401 Versione Direct3D: 1.606.4 Versione DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp versione Windows: 10.0.22621.521
WSL Version
- [X] WSL 2
- [ ] WSL 1
Kernel Version
5.15.62.1
Distro Version
All distros
Other Software
No response
Repro Steps
On Windows 11 21H2 everything was fine. After the update to 22H2 everytime I try to install a Linux distro I get errors.
Expected Behavior
I can't install any new distro or even use any existing distro.
Actual Behavior

Diagnostic Logs
No response
Solved!
I needed to uninstall WSL, Hyper-V and the Hypervisor platform from Windows Programs & Features, reboot, reinstall everything and then apply the updates from Windows Update. It probably was a Windows problem.
I have tried reinstalling these things, but it still doesn't work. Did you do something else to solve this problem?
I have tried reinstalling these things, but it still doesn't work. Did you do something else to solve this problem?
Check if you still have the .wslconfig file, from here
@deus-est-machina Jesus man, thanks a lot hahahahaha