AnsiblePilot — Master Ansible Automation

AnsiblePilot is the leading resource for learning Ansible automation, DevOps, and infrastructure as code. Browse over 1,400 tutorials covering Ansible modules, playbooks, roles, collections, and real-world examples. Whether you are a beginner or an experienced engineer, our step-by-step guides help you automate Linux, Windows, cloud, containers, and network infrastructure.

Popular Topics

About Luca Berton

Luca Berton is an Ansible automation expert, author of 8 Ansible books published by Apress and Leanpub including "Ansible for VMware by Examples" and "Ansible for Kubernetes by Example", and creator of the Ansible Pilot YouTube channel. He shares practical automation knowledge through tutorials, books, and video courses to help IT professionals and DevOps engineers master infrastructure automation.

Ansible troubleshooting - Windows 11 Error 0x80370102 WSL: Windows Subsystem for Linux — Video Tutorial

How to troubleshoot the Windows 11 WSL: Windows Subsystem for Linux - Error: 0x80370102 The virtual machine could not be started because a required feature.

Watch Video

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

What You'll Learn

Full Tutorial Content

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 ``` workaround execution output ```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 --update Checking for updates... Downloading updates... Installing updates... This change will take effect on the next full restart of WSL. To force a restart, please run 'wsl --shutdown'. Kernel version: 5.10.60.1 PS C:\Users\user> wsl --set-default-version 1 The operation completed su

About This Tutorial

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

Topics Covered

Related Video Tutorials