microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.16k stars 803 forks source link

WslRegisterDistribution failed with error: 0xc03a0014 #10139

Open Doc94 opened 1 year ago

Doc94 commented 1 year ago

Windows Version

Microsoft Windows [Versión 10.0.22621.1702]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

wsl --install ubuntu

Expected Behavior

Install and run ubuntu in WSL

Actual Behavior

Install but return a error for provider. Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0xc03a0014 Error: 0xc03a0014 No se encontr¾ un proveedor de compatibilidad con disco virtual para el archivo especificado.

also i use (Get-WindowsOptionalFeature -online | Where-Object { $_.FeatureName -match "hyper" -or $_.FeatureName -match "linux"})

FeatureName : HypervisorPlatform
State       : Enabled

FeatureName : Microsoft-Windows-Subsystem-Linux
State       : Enabled

FeatureName : Microsoft-Hyper-V-All
State       : Enabled

FeatureName : Microsoft-Hyper-V
State       : Enabled

FeatureName : Microsoft-Hyper-V-Tools-All
State       : Enabled

FeatureName : Microsoft-Hyper-V-Management-PowerShell
State       : Enabled

FeatureName : Microsoft-Hyper-V-Hypervisor
State       : Enabled

FeatureName : Microsoft-Hyper-V-Services
State       : Enabled

FeatureName : Microsoft-Hyper-V-Management-Clients
State       : Enabled

Note: i used WSL in the past.. for not reason this error happen i try reinstall WSL but the error still show.

Diagnostic Logs

No response

karimMogh commented 1 year ago

same

aya-bjoseph commented 1 year ago

same

joe-mit commented 1 year ago

Same here: This Ubuntu issue seems to result because a previously working WSL has failed to mount the required virtual machine.

The 'WSL fails to start' error is described in this unresolved issue: 9178: https://github.com/microsoft/WSL/issues/9178

MY SETUP: Windows 10 Enterprise 10.0.19045 on ASRock B450 Pro4 motherboard with Hyper-V and 'Virtual Machine Platform' turned on using: WSL 1.2.5.0_x64 Kernel 5.15.90.1 with "ubuntu-18.04" or "ubuntu 20.04"

PROBLEM: in PowerShell as Admin, I get:

PS C:\WINDOWS\system32> wsl Failed to attach disk 'C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.2.5.0_x64__8wekyb3d8bbwe\system.vhd' to WSL2: The request is not supported. Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/0x80070032 PS C:\WINDOWS\system32>

<<< also >>>

PS C:\WINDOWS\system32> bash Failed to attach disk 'C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.2.5.0_x64__8wekyb3d8bbwe\system.vhd' to WSL2: The request is not supported. Error code: Bash/Service/CreateInstance/CreateVm/MountVhd/0x80070032 PS C:\WINDOWS\system32>

<<< running download for Ubuntu instance yields >>> Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0xc03a0014 Error: 0xc03a0014 A virtual disk support provider for the specified file was not found.

Press any key to continue...

neokofg commented 6 months ago

https://github.com/microsoft/WSL/issues/10555#issuecomment-1937980344