WslRegisterDistribution failed with error: 0x80004005
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 Unspecified error
Press any key to continue...
This happens on Ubuntu, Ubuntu 1804, and 2004. I haven't tested any other repos I have Windows Subsystem for Linux on and I can't find anything online about this error I downloaded all repos I used from Windows Store Sorry if this is stupid, I'm inexperienced with WSL and Linux
Possibly #4003.
Please post the output of the following from powershell:
PS> [System.Environment]::OSVersion
PS> Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntivirusProduct
@JitterDev Did you activate the "Virtual Machine Platform" Windows feature? When I didn't, I recieved the same error.
@Erik-Sovereign Yes, still get the error @therealkenc This is what I get when I type that:
PS C:\Users\xdc20> [System.Environment]::OSVersion
Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.18362.0 Microsoft Windows NT 10.0.18362.0
PS C:\Users\xdc20> Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntivirusProduct
displayName : Windows Defender
instanceGuid : {D68DDC3A-831F-4fae-9E44-DA132C1ACF46}
pathToSignedProductExe : windowsdefender://
pathToSignedReportingExe : %ProgramFiles%\Windows Defender\MsMpeng.exe
productState : 397568
timestamp : Sat, 20 Jun 2020 17:14:46 GMT
PSComputerName :
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80004005 Error: 0x80004005 ??????
Press any key to continue...
so is me
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.
https://aka.ms/AAaaqz1
Ubuntu 18.04 was installed and working as intended prior to move to Insiders
Platform ServicePack Version VersionString
Win32NT 10.0.20251.0 Microsoft Windows NT 10.0.20251.0
**NOTE:** I have removed the orphaned Norton entry as the product was no longer installed prior to upgrade to Insiders DEV
displayName : Norton Security Online
instanceGuid : {1122B19A-E671-38EC-8EAC-87048FD4528D}
pathToSignedProductExe : C:\Program Files\Norton Security\Engine\22.20.2.57\WSCStub.exe
pathToSignedReportingExe : C:\Program Files\Norton Security\Engine\22.20.2.57\nsWscSvc.exe
productState : 331776
timestamp : Tue, 27 Oct 2020 01:58:09 GMT
PSComputerName :
**NOTE:** I also removed/uninstalled the Kaspersky product to no avail - it was installed prior to Insiders DEV
displayName : Kaspersky Security Cloud
instanceGuid : {0AB30972-4BAC-7BEE-CBCA-B8F9E68797D8}
pathToSignedProductExe : C:\Program Files (x86)\Kaspersky Lab\Kaspersky Security Cloud 21.1\wmiav.exe
pathToSignedReportingExe : C:\Program Files (x86)\Kaspersky Lab\Kaspersky Security Cloud 21.1\avp.exe
productState : 266240
timestamp : Wed, 11 Nov 2020 14:07:21 GMT
**NOTE:** Defender is now the only remaining AV product
displayName : Windows Defender
instanceGuid : {D68DDC3A-831F-4fae-9E44-DA132C1ACF46}
pathToSignedProductExe : windowsdefender://
pathToSignedReportingExe : %ProgramFiles%\Windows Defender\MsMpeng.exe
productState : 393472
timestamp : Wed, 11 Nov 2020 01:14:58 GMT
PSComputerName :
Magically started working again. I don't know why, how, or when.
Windows is weird, man.
Still an issue for me. On latest (as of this post) Build 20257
Also check if there is enough of free space on your system drive.
I am using AMD CPU 3950x and windows are running inside qemu-kvm with nested vm enabled. But still doesn't working.
@maxsharov, bare/base Linux shouldn't require more than (a very generous) 8GB when installing all the server components. Ubuntu states 2.5GB minimum for server. The WSL VHD is set to 256GB (dynamic), though, typical install for Ubuntu is less than 2GB. Do you have a MS recommended minimum?
I am using AMD CPU 3950x and windows are running inside qemu-kvm with nested vm enabled. But still doesn't working.
This error is usually caused by not having enough disk space. In my experience you need quite a bit more than the recommended minimum
I'm having the same error here.
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80004005
No events registered in Windows Logs and Virtualization is possible (if I enable and run hyper-V, I'm able to create a VM with Ubuntu 20.04 and run it).
Microsoft Windows 10.0.21313.1000
I'm having the same error here.
Installing, this may take a few minutes...WslRegisterDistribution failed with error: 0x80004005No events registered in Windows Logs and Virtualization is possible (if I enable and run hyper-V, I'm able to create a VM with Ubuntu 20.04 and run it).
Microsoft Windows 10.0.21313.1000
I "fixed" my system creating a .wslconfig and disabling nested virtualization:
[wsl2]
nestedVirtualization=false
AMD processor; the following allowed WSL2 with AMD processor. Seems nestedVirtualization is broken with AMD processors (https://github.com/microsoft/WSL/issues/5440#issuecomment-778660156)
%userprofile%.wslconfig
[wsl2]
nestedVirtualization=false
AMD processor; the following resolved (#5440 (comment))
%userprofile%.wslconfig
[wsl2] nestedVirtualization=false
well。we want nest virtualization
Agreed; not saying the larger issue is resolved. However, until that is fixed, you will have to use that config to use WSL2 on AMD processors.
I got same error 0x80004005, restart the same process but with Administrative privilege and installation run successfully.
This happens to me too where it wont install the distro. But it will only happen when I try to install a distro under WSL2. When default version is set to WSL1, it will install fine. I don't know what's happening to cause this nonsense.
finally the problem error 0x8004005 is solved you have to run as administrator your kali linux app i found this article https://windowsreport.com/unspecified-error-windows-10/ this article about need priviledge app