Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WslRegisterDistribution failed with error: 0xc03a0014 #10101

Closed
1 of 2 tasks
earlbellinger opened this issue May 13, 2023 · 11 comments
Closed
1 of 2 tasks

WslRegisterDistribution failed with error: 0xc03a0014 #10101

earlbellinger opened this issue May 13, 2023 · 11 comments

Comments

@earlbellinger
Copy link

Windows Version

Microsoft Windows [Version 10.0.22621.1702]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND

Distro Version

Ubuntu

Other Software

No response

Repro Steps

Every time I open my Ubuntu shell I get

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

[process exited with code 1 (0x00000001)]

Expected Behavior

My ubuntu shell

Actual Behavior

It does not load at all

Diagnostic Logs

WslLogs-2023-05-13_16-55-38.zip

Also, I noticed while filling out the above:

wsl.exe --status
Default Version: 2
WSL1 is not supported with your current machine configuration.
Please enable the "Windows Subsystem for Linux" optional component to use WSL1.

@Doc94
Copy link

Doc94 commented May 15, 2023

Same issue here i remove all instances and create a new one but the instalation fails with this error.

@karimMogh
Copy link

same

@ghost
Copy link

ghost commented May 23, 2023

Did any of the virtualization features get disabled?

In powershell: What's the output of Get-WindowsOptionalFeature -online | Where-Object { $_.FeatureName -match "hyper" -or $_.FeatureName -match "linux"} ?

I rather dislike suggesting this: Disable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform, followed by Enable-WindowsOptionalFeature -Online -All -FeatureName VirtualMachinePlatform

The underlying api is failing to create the virtual disk.

@earlbellinger
Copy link
Author

> Get-WindowsOptionalFeature -online | Where-Object { $_.FeatureName -match "hyper" -or $_.FeatureName -match "linux"}


FeatureName : HypervisorPlatform
State       : Disabled

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

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

FeatureName : Microsoft-Hyper-V
State       : Disabled

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

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

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

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

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

@ghost
Copy link

ghost commented May 23, 2023

You're gonna need to have something. Was that ouput after running the disable command?

You need Enable-WindowsOptionalFeature -Online -All -FeatureName VirtualMachinePlatform

@ghost
Copy link

ghost commented May 23, 2023

I'm going to close this out seeing that virtualization features are disabled.

@ghost ghost closed this as completed May 23, 2023
@karimMogh
Copy link

after executing this (Get-WindowsOptionalFeature -online | Where-Object { $.FeatureName -match "hyper" -or $.FeatureName -match "linux"}), I got same output as @earlbellinger,
I tried disable and enable VirtualMachinePlatform, with restart after every step and still getting same result.

@karimMogh
Copy link

any update on this?

@neokofg
Copy link

neokofg commented Feb 12, 2024

  1. Open the "Device Manager."

  2. Look for "System devices."

  3. Locate and enable the following devices related to virtualization:

    Microsoft Hyper-V Virtualization Infrastructure Driver
    Composite Bus Enumerator
    Microsoft Virtual Disk Enumerator
    UMBus Root Bus Enumerator
    Microsoft Virtual Network Adapter Enumerator NDIS
    Device Redirector Bus Enumerator (if applicable)

Please note that the actual names might slightly vary depending on the language localization of your Windows system (This names was translated from russian). Ensure you enable the corresponding devices related to virtualization.

@biosaio
Copy link

biosaio commented Mar 4, 2024

  1. Open the "Device Manager."

    1. Look for "System devices."

    2. Locate and enable the following devices related to virtualization:
      Microsoft Hyper-V Virtualization Infrastructure Driver
      Composite Bus Enumerator
      Microsoft Virtual Disk Enumerator
      UMBus Root Bus Enumerator
      Microsoft Virtual Network Adapter Enumerator NDIS
      Device Redirector Bus Enumerator (if applicable)

Please note that the actual names might slightly vary depending on the language localization of your Windows system (This names was translated from russian). Ensure you enable the corresponding devices related to virtualization.

I also have the same issue. I tried this but I have all those devices already installed.
I also tried uninstalling and reinstalling WSL2 and Ubuntu but nothing changed. I tried to disable and re-enable all the options that I thoight relevant like hyper-v, virtual machine platform and Windows Subsistem for Linux but nothing changes.

@SJ-prog
Copy link

SJ-prog commented Jul 24, 2024

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants
@earlbellinger @Doc94 @neokofg @karimMogh @SJ-prog @biosaio and others