WSL registration crash: Ubuntu setup fails with error 0x80004005 on Windows

Sophia Waller 0 Reputation points

I am trying to deploy Ubuntu on my PC using the Windows Subsystem for Linux feature. During the initialization phase, the console stops working and throws the code WslRegisterDistribution failed with error: 0x80004005. After that, it just tells me to push any key. How can I bypass this deployment failure on my OS? Thank you for the advice.

0 comments No comments

Sign in to comment

Answer accepted by question author

Domic Vo 24,370 Reputation points Independent Advisor

Hi Sophia,

That error means WSL couldn’t properly register Ubuntu because the subsystem or virtualization support isn’t set up correctly. Make sure both “Windows Subsystem for Linux” and “Virtual Machine Platform” are enabled in Windows Features, then reboot. Update to the latest Windows build and install the newest WSL kernel package from Microsoft. Run wsl --set-default-version 2 to ensure you’re on WSL 2, and if Ubuntu was partially installed, remove it with wsl --unregister Ubuntu and reinstall from the Microsoft Store. Also check that the LxssManager service is running and that virtualization is enabled in BIOS. These steps usually clear the 0x80004005 error and let Ubuntu initialize normally.

If the above response helps answer your question, please hit "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

Domic V.

0 comments No comments

Sign in to comment

1 additional answer

  1. Domic Vo 24,370 Reputation points Independent Advisor

    Hi Sophia Waller,

    Has your issue been resolved yet? If it has, please consider accepting the answer as it helps others sharing the same problem benefit too. Thank you :)

    Domic V.

    0 comments No comments

    Sign in to comment
Sign in to answer

Your answer