WSL: Windows Subsystem for Linux error

Discussion in 'Windows Virtual Machine' started by DarrellR2, Feb 20, 2022.

  1. DarrellR2

    DarrellR2 Bit poster

    Messages:
    2
    Is it possible to run Windows 10 with WSL on a Parallels vm?
    I'm running Windows 10 and Ubuntu Linux as separate virtual machines already on my iMac 5k 2015 quad-core i7 4 GHz 32 Gb with half of the resources for the vm. The error message below suggests I enable virtualization in the BIOS? Google search for explanation suggests I run the PowerShell command that does not exist?
    wsl --install
    <reboot vm>
    Ubuntu: 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.

    Suggested Fix to problem 1 command not found
    Set-VMProcessor -VMName Win10_2016 -ExposeVirtualizationExtensions $true

    Suggested Fix to problem 2 didn't work either from admin PowerShell prompt
    Install-WindowsFeature -Name Hyper-V -IncludeAllSubFeature -IncludeManagementTools -Restart
     
  2. Mikhail Ushakov

    Mikhail Ushakov Parallels Team

    Messages:
    499
    hi,
    just for the record: execute the command below in PowerShell to enable the Windows Subsystem for Linux feature in Windows:

    dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
     

Share This Page