Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WslRegisterDistribution failed with error: 0x8007000d #6592

Closed
neoxeo opened this issue Feb 26, 2021 · 10 comments
Closed

WslRegisterDistribution failed with error: 0x8007000d #6592

neoxeo opened this issue Feb 26, 2021 · 10 comments
Labels
failure-to-launch failure to launch

Comments

@neoxeo
Copy link

neoxeo commented Feb 26, 2021

Environment

Windows build number: Microsoft Windows [version 10.0.20251.1]
Your Distribution version: Ubuntu 20.04

Steps to reproduce

wsl --update
Version du noyau : 5.4.72

wsl -l -o
Voici la liste des distributions valides qui peuvent être installées.
Installer à l’aide de « wsl--install-d  ».

NAME FRIENDLY NAME
Ubuntu Ubuntu
Debian Debian GNU/Linux
kali-linux Kali Linux Rolling
openSUSE-42 openSUSE Leap 42
SLES-12 SUSE Linux Enterprise Server v12
Ubuntu-16.04 Ubuntu 16.04 LTS
Ubuntu-18.04 Ubuntu 18.04 LTS
Ubuntu-20.04 Ubuntu 20.04 LTS

wsl -d Ubuntu-20.04
Il n’existe aucune distribution avec le nom fourni.

wsl --install -d Ubuntu-20.04
Ubuntu 20.04 LTS est déjà installé.
Lancement de Ubuntu 20.04 LTS...

WslRegisterDistribution failed with error: 0x8007000d
Error: 0x8007000d DonnÚes non valides.

Press any key to continue...

@therealkenc
Copy link
Collaborator

Please collect WSL logs and post the backlink to the feedback item here. Also please identify any third-party networking software that has been installed on Windows.

@therealkenc therealkenc added the failure-to-launch failure to launch label Feb 26, 2021
@neoxeo
Copy link
Author

neoxeo commented Feb 27, 2021

Logs posted on Hub.
The only third-party networking software present is VPN (Surfshark)
Here is the etl file get with "wpr -start wsl.wprp -filemode"
wsl_0x8007000d.zip

@neoxeo
Copy link
Author

neoxeo commented Mar 8, 2021

I think I have found the problem. My Insider version was expired. I don't know why update didn't work. I have downloaded the last ISO of dev version and update. Now, wsl2 works fine. Can you add a check to verify Insider "expiry date" when wsl2 is installing or when wsl2 is "launched". I can't confirm at 100% that the problem come from to that but I think.
Thanks.

@bpulliam bpulliam closed this as completed May 7, 2021
@heavyrick
Copy link

heavyrick commented Nov 3, 2021

How this problem was solved? I am facing the same situation. I thought docker was the problem, but then i realize it was something with wsl. I try everything: restarting, unistalling, checking / unchecking windows resources, cleaning processes, changing ubuntu 18 for 20... and i all got is this error when i start ubuntu.

I don't find anything usefull for this error WslRegisterDistribution failed with error: 0x8007000d
image

@Ragarnoy
Copy link

Same issue, had code 0xFFFFFFFF at first, now I'm getting this one after resetting my distribution, and Nothing can fix it. What the hell.

@juniormayhe
Copy link

juniormayhe commented Dec 12, 2021

as windows terminal admin you run

wsl --install

when finished reboot.

Then Windows 11 shows a Ubuntu terminal window with this message:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007000d
Error: 0x8007000d The data is invalid.

Press any key to continue...

is there a restriction to install WSL in Windows 11 Pro Insider distro? I already switched to stable update (release) channels and Windows was supposed to be a regular distribution by now. But maybe there's a restriction to switch to older versions when we already got high version updates from the Dev channel. Anyway, I expected the WSL installation to work.

My version

Edition	Windows 11 Pro Insider Preview
Version	Dev
Installed on	‎05/‎09/‎2021
OS build	22449.1000
Experience	Windows Feature Experience Pack 1000.22449.1000.0

@phelumie
Copy link

as windows terminal admin you run

wsl --install

when finished reboot.

Then Windows 11 shows a Ubuntu terminal window with this message:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8007000d
Error: 0x8007000d The data is invalid.

Press any key to continue...

is there a restriction to install WSL in Windows 11 Pro Insider distro? I already switched to stable update (release) channels and Windows was supposed to be a regular distribution by now. But maybe there's a restriction to switch to older versions when we already got high version updates from the Dev channel. Anyway, I expected the WSL installation to work.

My version

Edition	Windows 11 Pro Insider Preview
Version	Dev
Installed on	‎05/‎09/‎2021
OS build	22449.1000
Experience	Windows Feature Experience Pack 1000.22449.1000.0

I had this issue after I upgraded to windows 11..i fixed it by setting the time to before (20 October 2021) and then run Ubuntu or any other distribution .. I hope this helps

@thebugcreator
Copy link

Got the same problem installing on Windows 11 Insider.
Unfortunately, the solution provided by @phelumie doesn't work.
Longing for other solutions.

@phelumie
Copy link

phelumie commented May 6, 2022

Got the same problem installing on Windows 11 Insider. Unfortunately, the solution provided by @phelumie doesn't work. Longing for other solutions.

Please upgrade your windows 11 version.. Check windows update and upgrade your windows build.. Please choose beta version

@NSouza23
Copy link

I'm update to WSL2 in W11 Insider, and written comand in PowerShell7 (admin) : wsl --update
and : wsl --install -d (your-version) and check uncheck the option WSL for windows in Control Panel and delete all folder of kali in Windows Explorer and Restart my laptop!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failure-to-launch failure to launch
Projects
None yet
Development

No branches or pull requests

9 participants