WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WslRegisterDistribution failed with error: 0x8007000d

Open neoxeo opened this issue 5 years ago • 10 comments

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...

neoxeo avatar Feb 26 '21 15:02 neoxeo

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 avatar Feb 26 '21 19:02 therealkenc

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 avatar Feb 27 '21 09:02 neoxeo

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.

neoxeo avatar Mar 08 '21 06:03 neoxeo

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

ricardofilho6 avatar Nov 03 '21 19:11 ricardofilho6

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.

Ragarnoy avatar Nov 11 '21 22:11 Ragarnoy

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

juniormayhe avatar Dec 12 '21 12:12 juniormayhe

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

phelumie avatar Mar 30 '22 08:03 phelumie

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

thebugcreator avatar May 06 '22 11:05 thebugcreator

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

phelumie avatar May 06 '22 14:05 phelumie

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!!

NSouza23 avatar Oct 11 '23 18:10 NSouza23