If you (like me) have this problem and find this thread, a short summary (not a Tutorial) so far ( as of 24.11.2023 ).
Please read the whole comment before trying any of it!
- Github Link to the problem is: https://github.com/microsoft/WSL/issues/10782
- Workaround:
- Start WSL from an Elevated Terminal
- So in "normal" language: Start your CMD/terminal with Admin Privileges then run the "WSL" command in this Terminal
- Manual Fix:
- Type "regedit" in the Windows search and start Windows Registry Editor
- Search and delete:
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PackagedCom\ClassIndex{A9B7A1B9-0671-405C-95F1-E0612CB4CE7E}
- Official Fix:
- In theory, there Is a fix pushed and live (Version 2.0.11)
- But for me and others "WLS --update" does not pick it up so you have to install it manually:
- https://github.com/microsoft/WSL/releases/tag/2.0.11
- You (probably (to 99%)) need wsl.2.0.11.0.x64.msi