Windows 10: "Error" Installing Linux distro in windows 10 pro wsl2

Discus and support "Error" Installing Linux distro in windows 10 pro wsl2 in Windows 10 Installation and Upgrade to solve the problem; WslRegisterDistribution failed with error: 0x80370102 Error: 0x80370102 The virtual machine could not be started because a required feature is not... Discussion in 'Windows 10 Installation and Upgrade' started by paressh30, Jun 17, 2020.

  1. paressh30 Win User

    "Error" Installing Linux distro in windows 10 pro wsl2


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

    :)
     
    paressh30, Jun 17, 2020
    #1

  2. 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 non-LTS version if possible (though it's alright if it's not possible too).
     
    OsmanZakir, Jun 17, 2020
    #2
  3. Windows Subsystem for Linux 2 (WSL2)

    Can anybody know when ''Windows Subsystem for Linux 2 (WSL2)''
    is expected to launch?
     
    Debabrata Ganguly, Jun 17, 2020
    #3
  4. "Error" Installing Linux distro in windows 10 pro wsl2

    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 Windows Subsystem for Linux (WSL) on Windows 10, 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, Jun 17, 2020
    #4
Thema:

"Error" Installing Linux distro in windows 10 pro wsl2

Loading...
  1. "Error" Installing Linux distro in windows 10 pro wsl2 - Similar Threads - Error Installing Linux

  2. Windows Subsystem for Linux WSL will not install any Linux Distro

    in Windows 10 Gaming
    Windows Subsystem for Linux WSL will not install any Linux Distro: I am using a Windows PC with the following specs:Edition: Windows 11 HomeVersion: 23H2OS build: 22631.2338Experience: Windows Feature Experience Pack 100.22674.1000.0 Processor: IntelR CoreTM i5-9400F CPU @ 2.90GHz 2.90 GHzInstalled RAM: 16.0 GBSystem type: 64-bit operating...
  3. Windows Subsystem for Linux WSL will not install any Linux Distro

    in Windows 10 Software and Apps
    Windows Subsystem for Linux WSL will not install any Linux Distro: I am using a Windows PC with the following specs:Edition: Windows 11 HomeVersion: 23H2OS build: 22631.2338Experience: Windows Feature Experience Pack 100.22674.1000.0 Processor: IntelR CoreTM i5-9400F CPU @ 2.90GHz 2.90 GHzInstalled RAM: 16.0 GBSystem type: 64-bit operating...
  4. 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...
  5. 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...
  6. Error 0x80070490 trying to install distro with WSL2

    in Windows 10 Installation and Upgrade
    Error 0x80070490 trying to install distro with WSL2: I'm trying to install ubuntu 20.04 LTS to use WSL2 but I get this error:WslRegisterDistribution failed with error: 0x80070490 Error: 0x80070490 Element not found.I tried some of the answers I've found online but none of them worked. I'm trying to install Docker and Laravel...
  7. Installing Linux apps on WSL2

    in Windows 10 Ask Insider
    Installing Linux apps on WSL2: I recently started using WLS2 with Ubuntu. I configured everything the way Microsoft's documentation. I want to have Linux apps alongside Windows apps as shortcuts. I also don't need a desktop environment. Is there a way to do that? submitted by /u/m_beps [link]...
  8. Which distro for Windows Services for Linux?

    in Windows 10 Installation and Upgrade
    Which distro for Windows Services for Linux?: Moderators: If this thread belongs in another forum, please move. So someone gave me some scripts that run under Linux, and he uses Linux under WSL. Seems like a good idea, but I have no idea which Linux distro I should use. Install Windows Subsystem for Linux (WSL) on on...
  9. 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...
  10. Sideloading Custom Linux Distro to Windows 10 Subsystem for Linux

    in Windows 10 News
    Sideloading Custom Linux Distro to Windows 10 Subsystem for Linux: We are happy to announce that we have open sourced a WSL (Windows Subsystem for Linux) sample for Linux distribution maintainers. This sample allows distro maintainers to build WSL distro packages for the Microsoft Store and developers to create custom Linux distro packages...