Solved WSL installation error

Buster20

Member
Local time
8:41 AM
Posts
5
Hi all,
I'm running Windows 11 and I tried to install WSL. Everything seemed to be going well until I got this message"
WslRegisterDistribution failed with error: 0x80370102
When I try to run Ubuntu, I get the following:
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

What required feature am I supposed to have installed? I looked at WSL posts on this forum but didn't see anything resembling my problem.

Regards,
Buster20
 
Windows Build/Version
Windows 11, version 21H2, OS Build 22000.258

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    AMD Ryzen 9 3900X
    Motherboard
    Asus TUF Gaming X570-Plus (WiFi)
    Memory
    16 GB
    Graphics Card(s)
    AMD Radeon RX 5600 XT
    Sound Card
    Incorporated
    Monitor(s) Displays
    BenQ 28" 4K
    Screen Resolution
    2560X1440 (Recom. Res. is 3840X2160)
    Hard Drives
    Samsung EVO 970 500 GB
    PSU
    ? 650 Watts
    Case
    Corsair
    Cooling
    AMD Wraith Prism LED cooler
    Keyboard
    AZIO Mechanical KB501
    Mouse
    Logitech M325c
    Internet Speed
    400 Mb/sec
    Browser
    Google Chrome
    Antivirus
    Windows

FreeBooter

Active member
Member
VIP
Local time
3:41 PM
Posts
164
Are you executing Wsl.exe --install command?
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    HP Pavilion Gaming Desktop TG01-2019nt
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Buster20

Member
Thread Starter
Local time
8:41 AM
Posts
5

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    AMD Ryzen 9 3900X
    Motherboard
    Asus TUF Gaming X570-Plus (WiFi)
    Memory
    16 GB
    Graphics Card(s)
    AMD Radeon RX 5600 XT
    Sound Card
    Incorporated
    Monitor(s) Displays
    BenQ 28" 4K
    Screen Resolution
    2560X1440 (Recom. Res. is 3840X2160)
    Hard Drives
    Samsung EVO 970 500 GB
    PSU
    ? 650 Watts
    Case
    Corsair
    Cooling
    AMD Wraith Prism LED cooler
    Keyboard
    AZIO Mechanical KB501
    Mouse
    Logitech M325c
    Internet Speed
    400 Mb/sec
    Browser
    Google Chrome
    Antivirus
    Windows

FreeBooter

Active member
Member
VIP
Local time
3:41 PM
Posts
164
WSL will install the Ubuntu distribution by default using the wsl --install command.
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    HP Pavilion Gaming Desktop TG01-2019nt
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

pparks1

Active member
Member
VIP
Local time
8:41 AM
Posts
126
Did you happen to enable the Windows Subsystem for Linux using the Microsoft Store? I tried that last night and ran into this exact issue.

Go to Start, Windows Features and tick the box for WIndows Subsystem for Linux and Virtual Machine Platform. Restart the computer. Then try your Ubuntu install again...I bet it works this time.
 

My Computer

Buster20

Member
Thread Starter
Local time
8:41 AM
Posts
5
WSL will install the Ubuntu distribution by default using the wsl --install command.
When I used that command, it didn't work. The command I used installed ubuntu but when I clicked on the ubuntu icon, I got the message you see in the op. It seems that there's "required feature" that isn't installed. I tried 'wsl update' and it updated but ubuntu still gives me the same error message. Weird.
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    AMD Ryzen 9 3900X
    Motherboard
    Asus TUF Gaming X570-Plus (WiFi)
    Memory
    16 GB
    Graphics Card(s)
    AMD Radeon RX 5600 XT
    Sound Card
    Incorporated
    Monitor(s) Displays
    BenQ 28" 4K
    Screen Resolution
    2560X1440 (Recom. Res. is 3840X2160)
    Hard Drives
    Samsung EVO 970 500 GB
    PSU
    ? 650 Watts
    Case
    Corsair
    Cooling
    AMD Wraith Prism LED cooler
    Keyboard
    AZIO Mechanical KB501
    Mouse
    Logitech M325c
    Internet Speed
    400 Mb/sec
    Browser
    Google Chrome
    Antivirus
    Windows

FreeBooter

Active member
Member
VIP
Local time
3:41 PM
Posts
164
If you prefer to enable the features via the command line then launch an elevated prompt of your choice (for example, Command Prompt) and enter the following commands:

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


dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Once these commands have completed, reboot your machine and you will be ready to install the Linux kernel.
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    HP Pavilion Gaming Desktop TG01-2019nt
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Buster20

Member
Thread Starter
Local time
8:41 AM
Posts
5
Did you happen to enable the Windows Subsystem for Linux using the Microsoft Store? I tried that last night and ran into this exact issue.

Go to Start, Windows Features and tick the box for WIndows Subsystem for Linux and Virtual Machine Platform. Restart the computer. Then try your Ubuntu install again...I bet it works this time.
Yes, I went to the store and tried it that way, but I haven't tried your other suggestion. Will do.
If you prefer to enable the features via the command line then launch an elevated prompt of your choice (for example, Command Prompt) and enter the following commands:

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


dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Once these commands have completed, reboot your machine and you will be ready to install the Linux kernel.
Tried that but it didn't work, I still get the following message:
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
Could it be that the VM isn't loading, or isn't installed?
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    AMD Ryzen 9 3900X
    Motherboard
    Asus TUF Gaming X570-Plus (WiFi)
    Memory
    16 GB
    Graphics Card(s)
    AMD Radeon RX 5600 XT
    Sound Card
    Incorporated
    Monitor(s) Displays
    BenQ 28" 4K
    Screen Resolution
    2560X1440 (Recom. Res. is 3840X2160)
    Hard Drives
    Samsung EVO 970 500 GB
    PSU
    ? 650 Watts
    Case
    Corsair
    Cooling
    AMD Wraith Prism LED cooler
    Keyboard
    AZIO Mechanical KB501
    Mouse
    Logitech M325c
    Internet Speed
    400 Mb/sec
    Browser
    Google Chrome
    Antivirus
    Windows

FreeBooter

Active member
Member
VIP
Local time
3:41 PM
Posts
164

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    HP Pavilion Gaming Desktop TG01-2019nt
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

LeLibran

Active member
Member
Local time
1:41 PM
Posts
91

My Computers

System One System Two

  • Operating System
    MacOS (plus VirtualBox VMs: Windows 7/10 Pro/11 Pro, Linux - Debian & Variants)
    Computer type
    Laptop
    Manufacturer/Model
    Apple MacBook Pro 2019 (Intel)
    CPU
    i9
    Memory
    16GB
    Hard Drives
    1TB SSD
    Browser
    Safari/MS Edge/Vivaldi
    Antivirus
    -
  • Operating System
    Windows 11 Pro (plus VirtualBox VMs: Windows 10 & Linux - Debian & Variants)
    Computer type
    Laptop
    Manufacturer/Model
    Microsoft Surface Book 2
    CPU
    i7
    Memory
    16GB
    Hard Drives
    1TB SSD
    Browser
    MS Edge/Vivaldi
    Antivirus
    Defender

Buster20

Member
Thread Starter
Local time
8:41 AM
Posts
5

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    AMD Ryzen 9 3900X
    Motherboard
    Asus TUF Gaming X570-Plus (WiFi)
    Memory
    16 GB
    Graphics Card(s)
    AMD Radeon RX 5600 XT
    Sound Card
    Incorporated
    Monitor(s) Displays
    BenQ 28" 4K
    Screen Resolution
    2560X1440 (Recom. Res. is 3840X2160)
    Hard Drives
    Samsung EVO 970 500 GB
    PSU
    ? 650 Watts
    Case
    Corsair
    Cooling
    AMD Wraith Prism LED cooler
    Keyboard
    AZIO Mechanical KB501
    Mouse
    Logitech M325c
    Internet Speed
    400 Mb/sec
    Browser
    Google Chrome
    Antivirus
    Windows

FreeBooter

Active member
Member
VIP
Local time
3:41 PM
Posts
164
BINGO! I was reading some article at the MS Windows KB site and happened to fall upon that solution, activating SVM in the UEFI settings, and it worked. Thank you everyone, especially FreeBooter and LeLibran who also hit upon the solution. WSL Ubuntu is now working.
We are glad to know problem resolved!
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    HP Pavilion Gaming Desktop TG01-2019nt
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Top Bottom