Windows 10: Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

Discus and support Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102 in Windows 10 Gaming to solve the problem; Hi everyone! I have the following problem: I have to use Docker, and to do that I need to install at least one distribution on wsl2. The problem is... Discussion in 'Windows 10 Gaming' started by Sara Spena, Aug 1, 2023.

  1. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102


    Hi everyone! I have the following problem: I have to use Docker, and to do that I need to install at least one distribution on wsl2. The problem is that I can't install any of them on wsl 2 although yes on wsl 1 and it gives me this error : WslRegisterDistribution failed with error: 0x80370102.I followed millions of guides, but I didn't solve the problem.. Here is some useful info: - virtualization is activated by BIOS - I disabled hyper-v and hypervisor from windows features, leaving linux subsystem and virtual machine platform enabledin the past i tried to enable hyper-v or hypervisor bu

    :)
     
    Sara Spena, Aug 1, 2023
    #1

  2. Resolving WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2?

    # Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2

    I am currently on the `Windows 10 Pro Insider Preview build 18922.rs_prerelease`, and am trying to install a Linux distribution to access via Windows Subsystem for Linux (2). I have tried this for both the Ubuntu and Debian distros and have encountered the
    same error in each.

    I have successfully downloaded both distros from the Microsoft store, but when I try to first "run" the Ubuntu or Debian "app" the respective console comes up and prints the following text:

    Code:
    Installing, this may take a few minutes...
    
    WslRegisterDistribution failed with error: 0x80370102
    
    Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
    
    Press any key to continue...
    Pressing a key at this point automatically exits the console.
    ---

    ## Additional information:

    - Using the `wsl -l` command shows no installed distros.

    - I do have Hypervisor installed and running `bcdedit` does show that `hypervisorlaunchtype` is set to `Auto` in the `Windows Boot Loader` section.

    - I did previously have Ubuntu installed and working under WSL 1 before switching to the Windows Insider Program Fast Ring and gaining access to WSL 2, but I was encountering another issue when trying to have it use WSL 2. After
    trying to use the command `wsl --set-version Ubuntu 2` I was met with a request to "Enable the Virtual Machine Platform". I had already run `Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform` prior, according to the official microsoft
    tutorial here Install WSL, but for good measure I did it again and got the same error, and Ubuntu was still on version 1 (I haven't explicitly mentioned it but I was restarting/shutting down when requested/suggested
    by windows and tutorials, so I don't believe me not restarting is a cause). In hopes to find a workaround, I ended up uninstalling Ubuntu and hoping I could reinstall it and have it obey the default defined by the `wsl --set-default-version 2` command (suffice
    it to say, this did not go as I'd hoped).

    - This might be an unrelated issue, but when I initially attempted reinstalling Ubuntu, the Microsoft store had a bit of a fit and could not complete the download- encountering an 'unknown error'. I did a restart, tried again, and
    got the same error, but then after telling it to 'try again' it succeeded. I had no such issues installing Debian from the store.

    ---

    ## Suggestions Welcome

    I've searched for a bit and can't find mention of this error code in particular anywhere else.

    In addition, is there anywhere I can look up/access these error codes in any sort of documentation? Ideally so I can make a better informed work-around attempt before bothering you all on here.

    All help is appreciated!
     
    SamuelLudwig, Aug 1, 2023
    #2
  3. WslRegisterDistribution failed with error: 0x80370102

    Upon the upgrade from WSL 1 to WSL 2, the requirement to have the Hyper-V feature enabled created a conflict with VirtualBox that brought VirtualBox VMs to a crawl. Because I needed VirtualBox, I was forced to disable Hyper-V and so lose access to WSL 2. Eventually, VirtualBox fixed this problem in an update, and I am now trying to reenable WSL 2, so I reenabled Hyper-V and I am running into nonsensical errors. Like WslRegisterDistribution failed with error: 0x80370102.

    System Specs:

    Microsoft Windows 11 Pro

    10.0.22000 Build 22000.

    11th Gen Intel Core i7-11850H.

    BIOS: VT enabled.

    Windows Features

    Hyper-V: Enabled

    Virtual Machine Platform: Enabled

    Windows Hypervisor Platform: Enabled

    Windows Subsystem for Linux: Enabled

    I have tried using an admin privilege PowerShell to run wsl --install -d ubuntu, and it ran as if it were successful, but upon launch of ubuntu, I get the error:

    WslRegisterDistribution failed with error: 0x80370102

    Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

    I cannot seem to get any WSL to function at all.
     
    Ben Mordecai, Aug 1, 2023
    #3
  4. NickJP Win User

    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    Cannot upgrade installed distros in WSL to version 2

    After installing the Win10 2004 build 19041 update (running winver shows "version 2004 (OS build 19041.388)", I've tried to upgrade a couple of installed distros I had in WSL version 1 to WSL version 2 following the instructions at https://docs.microsoft.com/en-us/win.../install-win10. All the steps in the instructions compete successfully, up to the point where I try to change the WSL version of one of the installed distros to 2 at which point I see the messages below:

    Code:
    I have enabled the Virtual Machine Platform feature (it shows as on with a tick against it in Control Panel Windows features), Intel-vt virtualization is enabled in the BIOS, and running msinfo32 shows, at the bottom of the system summary listing:

    Code:
    I also tried installing another distro with the WSL default version set to 2, but attempting to launch it shows the error:

    Code:
    Any suggestions on how to get around this problem? From what I've read, WSL2 gives worthwhile speed increases over WSL1, and so is worth using if I can get it to work.
     
    NickJP, Aug 1, 2023
    #4
Thema:

Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

Loading...
  1. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102 - Similar Threads - Cannot install distros

  2. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Software and Apps
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hi everyone! I have the following problem: I have to use Docker, and to do that I need to install at least one distribution on wsl2. The problem is that I can't install any of them on wsl 2 although yes on wsl 1 and it gives me this error : WslRegisterDistribution failed with...
  3. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Installation and Upgrade
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hi everyone! I have the following problem: I have to use Docker, and to do that I need to install at least one distribution on wsl2. The problem is that I can't install any of them on wsl 2 although yes on wsl 1 and it gives me this error : WslRegisterDistribution failed with...
  4. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Gaming
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hello! I have this problem: i have to use docker, and to do that i need a distro installed on wsl 2. The problem is that i can install distros on wsl 1 but when i try with wsl 2 i got this error: WslRegisterDistribution failed with error: 0x80370102.I tried all the guides i...
  5. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Software and Apps
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hello! I have this problem: i have to use docker, and to do that i need a distro installed on wsl 2. The problem is that i can install distros on wsl 1 but when i try with wsl 2 i got this error: WslRegisterDistribution failed with error: 0x80370102.I tried all the guides i...
  6. Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Installation and Upgrade
    Cannot install any distros on WSL 2 with WslRegisterDistribution failed with error: 0x80370102: Hello! I have this problem: i have to use docker, and to do that i need a distro installed on wsl 2. The problem is that i can install distros on wsl 1 but when i try with wsl 2 i got this error: WslRegisterDistribution failed with error: 0x80370102.I tried all the guides i...
  7. Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL

    in Windows 10 Installation and Upgrade
    Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL: I am trying to install Ubuntu WSL on Windows 10.I used the command wsl --installand it appeared to be working, but when I opened up Ubuntu, I saw this screen:Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370102 Please enable the...
  8. Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL

    in Windows 10 Gaming
    Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL: I am trying to install Ubuntu WSL on Windows 10.I used the command wsl --installand it appeared to be working, but when I opened up Ubuntu, I saw this screen:Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370102 Please enable the...
  9. Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL

    in Windows 10 Software and Apps
    Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL: I am trying to install Ubuntu WSL on Windows 10.I used the command wsl --installand it appeared to be working, but when I opened up Ubuntu, I saw this screen:Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370102 Please enable the...
  10. Resolving WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2?

    in Windows 10 Software and Apps
    Resolving WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2?: # Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL 2 I am currently on the `Windows 10 Pro Insider Preview build 18922.rs_prerelease`, and am trying to install a Linux distribution to access via Windows Subsystem for Linux (2). I...