WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WslRegisterDistribution failed with error: 0x800706d9

Open jeffreyulatan opened this issue 6 years ago • 6 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:

Virtual Machine Platform Enabled via Control Panel
Windows Subsystem for Linux Enabled via Control Panel
Installed WSL2 MSI Update from https://aka.ms/wsl2kernel
Set WSL to WSL2 via Powershell wsl --set-default-version 2
V-TD Enabled via Bios
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!

jeffreyulatan avatar Oct 06 '20 07:10 jeffreyulatan

Have you tried to start service ICS(Internet Connection Sharing)? You may collect wsl log and I can take a initial investigation.

licanhua avatar Oct 06 '20 16:10 licanhua

Have you tried to start service ICS(Internet Connection Sharing)? You may collect wsl log and I can take a initial investigation.

For the WSL log, I'm unable to create it as the OS is hardened, and feedback and diagnostics are strictly disabled.

Yes I've tried starting ICS however it always fails to start.

ICS

I've also tried netcfg –u vms_pp

Trying to uninstall vms_pp ...

... failed. Error code: 0x80071779.

Get-HNSNetwork | Remove-HNSNetwork

I've also used the Windows automatic troubleshooter https://docs.microsoft.com/en-us/troubleshoot/windows-client/virtualization/cannot-create-hyper-v-virtual-switch

I also edited the bootup bcd to ensure the hypervisorplatform is started.

I can't seem to get it working :(

jeffreyulatan avatar Oct 07 '20 00:10 jeffreyulatan

@jeffreyulatan have you try to in-place upgrade? If not then try it first, it could probably fix many error like missing registry or missing wsl2 file that lead to this error.

benyaminl avatar Feb 07 '21 08:02 benyaminl

Facing the same issue with wsl2 while installing Ubuntu 20.04. Windows version 1909, OS build 18363.1916.

Able to install Ubuntu 20.04, when the version is changed to wsl1.

qnikil7 avatar Dec 02 '21 17:12 qnikil7

Same issue here, I also seem not able to start the ICS server giving me the same error message "Access is denied"

OneTuskedMario avatar Jan 02 '23 15:01 OneTuskedMario

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!