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: 0x80370102 Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS. #11674

Closed
1 of 2 tasks
jkupchanko opened this issue Jun 9, 2024 · 16 comments
Labels

Comments

@jkupchanko
Copy link

jkupchanko commented Jun 9, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3593]

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

2

Distro Version

No response

Other Software

No response

Repro Steps

I have been through so many videos trying to fix this - I have downloaded Ubuntu and I get an error saying "WslRegisterDistribution failed with error: 0x80370102 - Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS." - I got into the BIOS from "Turn Windows features on or off" and turn on the new subset for Linux on Windows Home "Virtual Machine Platform". Of course, this makes me reset the computer and I check again and nothing. ..

I see one of the possible issues is of a possible CPU issue but I have a very nice computer: "LYTE Venom X PC - Ryzen 7 5700x | RTX 4070TI | 16GB DDR4 | B550 | NVME + HDD"

Also, I have turned on the hypervisor using bcdedit /set hypervisorlaunchtype auto or BCDEDIT /Set {current} hypervisorlaunchtype auto

Also, I used the "Enable virtualization on Windows 11 PC's" and I accessed the BIOS and resetted it, nothing has help.
( https://support.microsoft.com/en-us/windows/enable-virtualization-on-windows-11-pcs-c5578302-6e43-4b4b-a449-8ced115f58e1 )

I am not sure what to do... please help!

Expected Behavior

issue-help

image

Actual Behavior

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.
For information please visit https://aka.ms/enablevirtualization
Press any key to continue...

Diagnostic Logs

No response

Tasks

Preview Give feedback
No tasks being tracked yet.
Copy link

github-actions bot commented Jun 9, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@jkupchanko
Copy link
Author

jkupchanko commented Jun 9, 2024

/question, how do I remove the "WslRegisterDistribution failed with error: 0x80370102 - Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS" to use Ubuntu.

Copy link

github-actions bot commented Jun 9, 2024

Diagnostic information
Found '/question', adding tag 'question'

@jkupchanko
Copy link
Author

/question, how do I remove the "WslRegisterDistribution failed with error: 0x80370102 - Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS" to use Ubuntu.

Copy link

github-actions bot commented Jun 9, 2024

Diagnostic information
Found '/question', adding tag 'question'

@jkupchanko jkupchanko reopened this Jun 9, 2024
@jkupchanko
Copy link
Author

Sorry, that was on accident - this has NOT been resolved

@OneBlue
Copy link
Collaborator

OneBlue commented Jun 11, 2024

/logs

@jkupchanko
Copy link
Author

WslLogs-2024-06-11_16-45-12.zip

here is the logging information

Copy link

The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.

Diagnostic information
Appx package is not installed
Found no WSL traces in the logs

@jkupchanko
Copy link
Author

jkupchanko commented Jun 12, 2024 via email

@OneBlue
Copy link
Collaborator

OneBlue commented Jun 12, 2024

@jkupchanko: You need to reproduce the issue while the log collection is running so it can capture the error.

/logs

@jkupchanko
Copy link
Author

I showed where I am having the issue
WslLogs-2024-06-11_17-20-55.zip

Copy link

Diagnostic information
Appx package is not installed

@jkupchanko
Copy link
Author

I ran the code and I don't see anything tripping the issue - I am not sure what you want me to do.

@jkupchanko
Copy link
Author

@OneBlue Any updates?

@jkupchanko
Copy link
Author

Figured it out, I needed to go into my BIOS and Enable Virtualization on my AMD (Look in the CPU settings).

https://www.youtube.com/watch?v=HkI4ibCdlxg

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

No branches or pull requests

2 participants