WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WslRegisterDistribution failed with error: 0x80040324 Error

Open fabiovin70 opened this issue 4 years ago • 4 comments

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

immagine immagine

Diagnostic Logs

No response

fabiovin70 avatar Sep 27 '22 11:09 fabiovin70

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.

fabiovin70 avatar Sep 28 '22 11:09 fabiovin70

I have tried reinstalling these things, but it still doesn't work. Did you do something else to solve this problem?

zrz-orz avatar Mar 13 '23 14:03 zrz-orz

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 avatar Mar 19 '23 05:03 deus-est-machina

@deus-est-machina Jesus man, thanks a lot hahahahaha

abnerfreitas avatar Aug 08 '24 01:08 abnerfreitas