Windows 10: Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL

Discus and support Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL in Windows 10 Installation and Upgrade to solve the problem; 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... Discussion in 'Windows 10 Installation and Upgrade' started by Fab49er, Nov 23, 2022 at 8:07 PM.

  1. Fab49er Win User

    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 Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS. For information please visit https://aka.ms/enablevirtualization Press any key to continue...at which point I press any key, and the window closes.Things I tried:I enabled virtualization from the BIOS, as you can see in this screens

    :)
     

  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 | Microsoft Learn, 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, Nov 23, 2022 at 8:09 PM
    #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, Nov 23, 2022 at 8:09 PM
    #3
  4. Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL

    WslRegisterDistribution failed with error: 0x80040324

    Whenever I try to install any Linux distro on WSL I get this error:

    WslRegisterDistribution failed with error: 0x80040324

    Error: 0x80040324 (null)
    Press any key to continue...

    This is my setup:

    Versione WSL: 0.67.6.0
    Versione kernel: 5.15.62.1
    Versione WSLg: 1.0.44
    Versione MSRDC: 1.2.3401
    Versione Direct3D: 1.606.4
    Versione DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
    versione Windows: 10.0.22621.521

    The Ubuntu distro is not listed in the installed distro:

    wsl --list --all

    Sottosistema Windows per Linux non ha distribuzioni installate.

    Usare 'wsl.exe --list --online' per elencare le distribuzioni disponibili e 'wsl.exe --install ' per l'installazione.

    È anche possibile installare le distribuzioni visitando il Microsoft Store: Weihnachtsmarkt-Bummel

    Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND

    Anyway if I try to install Ubuntu I get this message:

    wsl --install -d Ubuntu

    Ubuntu è gi installato. (Ubuntu is alreday installed)
    Avvio di Ubuntu in corso...

    An then I get this message:

    Installing, this may take a few minutes...
    WslRegisterDistribution failed with error: 0x80040324
    Error: 0x80040324 (null)
    Press any key to continue...

    and here it stops.

    Hype-V is installed without adding any virtual machine or virtual switch in the control panel.

    Is someone having any clue?

    Thank you for any help.
     
Thema:

Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL

Loading...
  1. Encountering WslRegisterDistribution error 0x80370102 when installing Linux Distro for WSL - Similar Threads - Encountering WslRegisterDistribution error

  2. 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...
  3. 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...
  4. WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Gaming
    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,...
  5. WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Software and Apps
    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,...
  6. WSL 2 distro installation failure

    in Windows 10 Ask Insider
    WSL 2 distro installation failure: Installation of WSL 2 distros fails with error 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. I also cannot run Hyper-V...
  7. WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 News
    WslRegisterDistribution failed with error: 0x80370102: When installing WSL, if you receive an error saying—WslRegisterDistribution failed with error: 0x80370102—then this post will help you resolve it. The Error occurs for a couple of reasons. Nested Virtualization, a limit on the CPUID, Virtualization support, and more....
  8. 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...
  9. Alternatives to using Windows Store to install Linux distro on WSL

    in Windows 10 Software and Apps
    Alternatives to using Windows Store to install Linux distro on WSL: I just wanted to ask what alternatives there are to using the Windows 10 to install Linux distros on WSL. Also, it seems like Ubuntu 19 isn't available for the WSL. Is there a chance that we'll be able to install it when WSL2 is released? And I'd like to get the latest...
  10. Install Windows Subsystem for Linux (WSL) Distros in Windows 10

    in Windows 10 Tutorials
    Install Windows Subsystem for Linux (WSL) Distros in Windows 10: How to: Install Windows Subsystem for Linux (WSL) Distros in Windows 10 How to Install Windows Subsystem for Linux (WSL) Distros in Windows 10 The Windows Subsystem for Linux (WSL) is a new Windows 10 feature that enables you to run native Linux command-line tools...