Loading...

Watch: Ansible troubleshooting - Windows 11 Error 0x80370102 WSL: Windows Subsystem for Linux

How to troubleshoot the Windows 11 WSL: Windows Subsystem for Linux - Error: 0x80370102 The virtual machine could not be started because a required feature is not installed. How to verify the Windows Feature and workaround using the Windows Subsystem for Linux version 1.

Today we're going to talk about Ansible troubleshooting, specifically about Windows Subsystem for Linux error 0x80370102.

I'm Luca Berton and welcome to today's episode of Ansible Pilot.

Windows Subsystem for Linux - Ubuntu distribution

``PowerShell

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...

`

This is the full error message that you might encounter whether you run the Windows Subsystem for Linux - Ubuntu distribution.

## Playbook

The best way of talking about Ansible troubleshooting is to jump in a live Playbook to show you practically the error 0x80370102 Windows Subsystem for Linux and how to solve it!

Live Playbook of Error 0x80370102 Windows Subsystem for Linux and fix on Windows version 11 Build 22000 release 210604-1624.

error code

  • error reproducer WSL installation

`PowerShell

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Users\user> wsl --install

Installing: Virtual Machine Platform

Virtual Machine Platform has been installed.

Installing: Windows Subsystem for Linux

Windows Subsystem for Linux has been installed.

Downloading: WSL Kernel

Installing: WSL Kernel

WSL Kernel has been installed.

Downloading: GUI App Support

Installing: GUI App Support

GUI App Support has been installed.

Downloading: Ubuntu

The requested operation is successful. Changes will not be effective until the system is rebooted.

PS C:\Users\user>

`

  • error reproducer Ubuntu WSL

`PowerShell

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...

`

Windows Subsystem for Linux version 2 need enabled Windows features:

`bash

Windows Subsystem for Linux

Hyper-V Platform

Hyper-V Hypervisor

`

If unsupported CPU or Virtualization environment you got the error:

`PowerShell

"Hyper-V cannot be installed: The processor does not support second level address translation (SLAT)"

`

workaround

  • workaround for unsupported CPU or Virtualization environment

`PowerShell

wsl --update

wsl --set-default-version 1

wsl --list -o

wsl --install -d Ubuntu

``

workar

Read the full tutorial: Ansible troubleshooting - Windows 11 Error 0x80370102 WSL: Windows Subsystem for Linux