Loading...

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

How to troubleshoot the Windows 10 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 10.0.19043 Build 19043.

error code

  • error reproducer WSL installation

`PowerShell

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.Try the new cross-platform PowerShell https://aka.ms/pscore6

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

`

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.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\user> wsl --set-default-version 1

The operation completed successfully.

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

Checking for updates...

The Windows Subsy

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