WSL: WSL2 Install Stopped working and now errors out with 0x800706d9 : WslRegisterDistributionFailed

Environment

Windows build number: Windows 10 Home x64, Build 2004
Your Distribution version: Ubuntu 20.04 
Whether the issue is on WSL 2 and/or WSL 1: WSL 2 

Steps to reproduce

Install WSL components from Programs and Features on Windows 10 Install the WSL 2 Upgrade from Microsoft and the Kernel Upgrade. Install any WSL2 distribution from the Microsoft Store. Attempt to open it (using in Powershell - wsl command or opening Ubuntu from the Start Menu

Expected behavior

The WSL Distro installs and prompts for a username/password and has network access. Becomes usable within less than 10 minutes.

Actual behavior

I get the message Installing, this may take a few minutes Then WslRegisterDistribution failed with error code 0x800706d9 : There are no endpoints available from the endpoint mapper

Have tried the workarounds mentioned in #5331 but no dice, the same error occurs. Have tried rebooting and reinstalling WSL2 components. Same configuration works on my other Windows 10 machine and WSL 2 ubuntu works with no issues.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16

Most upvoted comments

Hey there, I’m bumping this up as I was able to reproduce the exact problem on my end.

Error:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800706d9
Error: 0x800706d9 There are no more endpoints available from the endpoint mapper.

Press any key to continue...

Microsoft Windows 10 Enterprise 10.0.19041 Build 19041

Steps I’ve done to replicate the error:

  1. Virtual Machine Platform Enabled via Control Panel
  2. Windows Subsystem for Linux Enabled via Control Panel
  3. Installed WSL2 MSI Update from https://aka.ms/wsl2kernel
  4. Set WSL to WSL2 via Powershell wsl --set-default-version 2
  5. V-TD Enabled via Bios
  6. Distro Ubuntu 20.04 LTS via Microsoft Store

Solutions I’ve tried

via Powershell Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux. dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart wsl --set-default-version 2

If anyone has any suggestions feel free to reply!

Issue got resolve after a microsoft update, I was able to install it

For those still having a problem I fixed the problem by manually updating via DISM the newest source utilizing Microsoft USB creation tool.

DISM /Online /Cleanup-Image /RestoreHealth Source:WIM:X:/sources/install.wim

I use powershell admin shell to run this command, it failed:

DISM /Online /Cleanup-Image /RestoreHealth Source:WIM:X:/sources/install.wim

You have to replace X: with your mounted DISM image path. Alternatively just download the official Microsoft USB creation media tool and click Update this Computer, it does the same thing.