Closed ebrocoli closed 1 year ago
I have same problem with Kali Linux, but I found a solution is installing WSL from Microsoft Store.
can you post a link to which WSL you used from the Microsoft store?
can you post a link to which WSL you used from the Microsoft store?
Here is the link: https://apps.microsoft.com/store/detail/windows-subsystem-for-linux/9P9TQF7MRM4R
im also having this issue, with kali linux. tried all the fixes online but none works.
im also having this issue, with kali linux. tried all the fixes online but none works.
Have you try to install WSL from MS Store?
yeah it worked thank you so much! for others what i did was (after installing WSL from MS store): in the windows power shell: "wsl.exe --list --online" it returns a list of the distros avaible. then 'wsl.exe --install (distro name)'
yeah it worked thank you so much! for others what i did was (after installing WSL from MS store): in the windows power shell: "wsl.exe --list --online" it returns a list of the distros avaible. then 'wsl.exe --install (distro name)'
No problem I glad to help you!
for me wsl --update
and also setting LxssManager to automatic (via services or regedit) worked.
yeah it worked thank you so much! for others what i did was (after installing WSL from MS store): in the windows power shell: "wsl.exe --list --online" it returns a list of the distros avaible. then 'wsl.exe --install (distro name)'
i tried to install kali linux as you methode but don't work with me.
wsl --install -d kali-linux
but after few second show same problem, error "WslRegisterDistribution failed with error: 0x80004005"
what i do for solving this problem is editing registry lxssManager to value 2, manual install with powershell, and direct install from microsoft store.
oh btw i use windows 11.
yeah it worked thank you so much! for others what i did was (after installing WSL from MS store): in the windows power shell: "wsl.exe --list --online" it returns a list of the distros avaible. then 'wsl.exe --install (distro name)'
i tried to install kali linux as you methode but don't work with me.
wsl --install -d kali-linux
but after few second show same problem, error "WslRegisterDistribution failed with error: 0x80004005"
what i do for solving this problem is editing registry lxssManager to value 2, manual install with powershell, and direct install from microsoft store.
oh btw i use windows 11.
first use wsl.exe --update
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed.
wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Press any key to continue...
i keep getting error
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed.
wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Press any key to continue...
i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
This worked for me also. Thanks
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
Thanks a ton!!! This worked for me. Thanks again
yeah it worked thank you so much! for others what i did was (after installing WSL from MS store): in the windows power shell: "wsl.exe --list --online" it returns a list of the distros avaible. then 'wsl.exe --install (distro name)'
tha
yeah it worked thank you so much! for others what i did was (after installing WSL from MS store): in the windows power shell: "wsl.exe --list --online" it returns a list of the distros avaible. then 'wsl.exe --install (distro name)'
thanks it works
Windows Version
Version 10.0.22000.2295
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
- [x] WSL 2
- [ ] WSL 1
Kernel Version
5.10.16
Distro Version
Kali Linux
Other Software
No response
Repro Steps
I was enabling WSL with the steps that Microsoft already listed Then i tried to install Kali Linux, which the installation is succesfull But when i typed
kali
it started to showInstalling, this may take a few minutes...
And then the error happened, but this only happens with Kali and not other distros I tried Ubuntu and Debian which worked fine so farExpected Behavior
Installing, this may take a few minutes... Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username:
Actual Behavior
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Diagnostic Logs
No response
Hi, I try "wsl --update" and then "wsl --install -d (distribution)" Its worked for me
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
This worked for me also. Thanks
pour mi toujour pas
PS C:\Windows\system32> wsl --update Installation en cours : Sous-système Windows pour Linux Sous-système Windows pour Linux a été installé. PS C:\Windows\system32> kali Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80072746 Error: 0x80072746 Une connexion existante a d¹ Ûtre fermÚe par l?h¶te distant.
Press any key to continue... PS C:\Windows\system32>
semua tips yang anda berikan tidak berhasil untuk saya, entah apa yang terjadi, saya tidak tahu
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all
wsl --set-default-version 2
wsl --install --distribution kali-linux
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
thanks a lot dude!
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
help me it didnt work for me, still says error
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
help me it didnt work for me, still says error
Make sure to unregistered your old kali (or uninstall it), and follow these steps : https://github.com/microsoft/WSL/issues/10424#issuecomment-1807888925
( Unregistration
wsl --unregister <DistributionName>
Replace <DistributionName>
with the name of the distribution you want to unregister. For example, if you want to unregister the "Ubuntu" distribution, the command would be:
win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2 run powershell in administrator mode -> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Wait for the PC to reboot and check if it works.
WSL 2.1.5.0 fails to install Kali Linux directly as WSL1 on two of my computers with WslRegisterDistribution failed with error: 0x80004005
, one Windows 10 and another Windows 11.
The only workaround I can find is to first run wsl --set-default-version 2
and then install Kali Linux. (The installed version is 2024.1.) After that, it can be converted to WSL1 with wsl --set-version kali-linux 1
, or exported to a different location, etc.
can you post a link to which WSL you used from the Microsoft store?
Here is the link: https://apps.microsoft.com/store/detail/windows-subsystem-for-linux/9P9TQF7MRM4R
I've tried every possible way to solve the problem for the past few hours, and this worked for me, thank you :)
this worked for me too
can you post a link to which WSL you used from the Microsoft store?
Here is the link: https://apps.microsoft.com/store/detail/windows-subsystem-for-linux/9P9TQF7MRM4R
THANK YOUUUUU BROOOO THANKSSSZSS TYSMMMMMMMMMMMMM
WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error can anyone help me with this error when I run Kali in cmd?
WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error can anyone help me with this error when i run kali in cmd
Just remove the distribution, and reinstall it using PowerShell as administrator
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
help me it didnt work for me, still says error
dude were u able to fix it? pls help me too i am also facing same problem as u :(
I have same problem with Kali Linux, but I found a solution is installing WSL from Microsoft Store.
Thx
can you post a link to which WSL you used from the Microsoft store?
Here is the link: https://apps.microsoft.com/store/detail/windows-subsystem-for-linux/9P9TQF7MRM4R
thx bld
wsl --update Installing: Windows Subsystem for Linux Windows Subsystem for Linux has been installed. wsl --install -d kali-linux Installing: Kali Linux Rolling Kali Linux Rolling has been installed. Launching Kali Linux Rolling... Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error Press any key to continue... i keep getting error
Did you try to edit registry lxssManager to value 2? What I did:
- win + R -> regedit -> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager -> click the start option -> edit the value to 2
- run powershell in administrator mode -> wsl --update
- kali
- then it worked!
help me it didnt work for me, still says error
Make sure to unregistered your old kali (or uninstall it), and follow these steps : #10424 (comment)
( Unregistration
wsl --unregister <DistributionName>
Replace
<DistributionName>
with the name of the distribution you want to unregister. For example, if you want to unregister the "Ubuntu" distribution, the command would be:
still just isnt working
I actually took my 2nd laptop and installed kali without any error :)
- Make sure to use Powershell (as adminstrator) instead of cmd
Type these two commands :
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all
- Download and install the WSL 2 Linux Kernel from here: aka.ms/wsl2kernel
- Restart
- Open again Powershell
- Type :
wsl --set-default-version 2
- Install KALI :
wsl --install --distribution kali-linux
Thank you. İt Works!!
can you post a link to which WSL you used from the Microsoft store?
Here is the link: https://apps.microsoft.com/store/detail/windows-subsystem-for-linux/9P9TQF7MRM4R
Thank you for the link. I tried to search for it in the store, but it was not to be found. This link brought me right to it.
for me
wsl --update
and also setting LxssManager to automatic (via services or regedit) worked.
This worked for me as well.
can you post a link to which WSL you used from the Microsoft store?
Here is the link: https://apps.microsoft.com/store/detail/windows-subsystem-for-linux/9P9TQF7MRM4R
Thank so much bro. It worked
Thank you so much everyone!
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Press any key to continue...
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Press any key to continue...
I used this too wsl --set-default-version 2 For information on key differences with WSL 2 please visit https://aka.ms/wsl2 The operation completed successfully. PS C:\Windows\system32> wsl --install --distribution kali-linux Kali Linux Rolling is already installed. Launching Kali Linux Rolling... PS C:\Windows\system32>
Friend you just need to install " wsl --set-default-version 2 "
Friend you just need to install " wsl --set-default-version 2 "
https://learn.microsoft.com/pt-br/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package still got error saying Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Press any key to continue...
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Press any key to continue...
can you post a link to which WSL you used from the Microsoft store?
Here is the link: https://apps.microsoft.com/store/detail/windows-subsystem-for-linux/9P9TQF7MRM4R
Works for me, thanks a lot.
bro cmd admin "wsl --set-default-version 2" Enter
bro cmd admin "wsl --set-default-version 2" Enter
not working still bro
Use these commands in powershell with admin right
yeah it worked thank you so much! for others what i did was (after installing WSL from MS store): in the windows power shell: "wsl.exe --list --online" it returns a list of the distros avaible. then 'wsl.exe --install (distro name)'
Thank you, it works for me now.
Windows Version
Version 10.0.22000.2295
WSL Version
0.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.10.16
Distro Version
Kali Linux
Other Software
No response
Repro Steps
I was enabling WSL with the steps that Microsoft already listed Then i tried to install Kali Linux, which the installation is succesfull But when i typed
kali
it started to showInstalling, this may take a few minutes...
And then the error happened, but this only happens with Kali and not other distros I tried Ubuntu and Debian which worked fine so farExpected Behavior
Installing, this may take a few minutes... Please create a default UNIX user account. The username does not need to match your Windows username. For more information visit: https://aka.ms/wslusers Enter new UNIX username:
Actual Behavior
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Diagnostic Logs
No response