I have two Windows 10 machines.
The first machine had WSL version 1 installed and I was able to successfully update it version 2 with the following commands in PowerShell:
wsl --update
wsl --shutdown
wsl --set-version Ubuntu-22.04 2
But when I tried the same command on the second machine
wsl --set-version Ubuntu-22.04 2
I got:
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion in progress, this may take a few minutes.
The operation could not be started because a required feature is not installed.
Error code: Wsl/Service/CreateVm/HCS_E_SERVICE_NOT_AVAILABLE
what can cause this?
The both Windows 10 version are 22H2.
And the output of the commands
wsl --list --online
wsl -l -v
is exactly the same on the both machines.