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

Help! Three whole days. WSL is E... #11083

Closed
2 tasks done
GiantKs opened this issue Jan 26, 2024 · 9 comments
Closed
2 tasks done

Help! Three whole days. WSL is E... #11083

GiantKs opened this issue Jan 26, 2024 · 9 comments

Comments

@GiantKs
Copy link

GiantKs commented Jan 26, 2024

Windows Version

Microsoft Windows [版本 10.0.19045.3996]

WSL Version

WSL version: 2.1.1.0 core: 5.15.146.1-2

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1-2 default: 2

Distro Version

Ubuntu-20.04

Other Software

WSLg : 1.0.60 MSRDC version: 1.2.5105 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.19045.3996

Repro Steps

1: First of all, there is no hyper option in the startup or shutdown options, manually install hyper and other related components and restart the computer;
2: : WSL and virtual platform are selected and restarted
3: wsl --install -d Ubuntu-20.04
4: Perform numerous restarts and reinstallations
5: update Various updates have also been made

Expected Behavior

into linux ... input nikename ...

Actual Behavior

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8000000d
Error: 0x8000000d ???????????
or
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800070424

Diagnostic Logs

na

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

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. Thank you!

Closed similar issues:

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

@GiantKs
Copy link
Author

GiantKs commented Jan 26, 2024

Do I need to install hyper in the end? There is no Hyper. If not, how can I uninstall it..

@GiantKs
Copy link
Author

GiantKs commented Jan 26, 2024

CPU: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz 2.70 GHz; RAM : 4GB(3.87GB);

@GiantKs
Copy link
Author

GiantKs commented Jan 26, 2024

@echo off
net.exe session 1>NUL 2>NUL && (
goto as_admin
) || (
goto not_admin
)

:as_admin
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
echo xxx!

:not_admin
echo xxx

:end
pause

Use the above command to install hyper alone, so silly = =...

@GiantKs GiantKs closed this as completed Jan 26, 2024
@GiantKs GiantKs reopened this Jan 26, 2024
@GiantKs
Copy link
Author

GiantKs commented Jan 29, 2024

hello?

@sirredbeard
Copy link
Contributor

sirredbeard commented Jan 30, 2024

You do not need Hyper-V to run WSL 2, just WSL and Virtual Machine Platform.

I see you are getting errors:
WslRegisterDistribution failed with error: 0x8000000d and WslRegisterDistribution failed with error: 0x800070424.

How are you installing your WSL distro?

Are you running any third-party security software?

Can you please collect and post logs?

@OneBlue
Copy link
Collaborator

OneBlue commented Jan 30, 2024

/logs

Copy link
Contributor

Hello! Could you please provide more logs to help us better diagnose your issue?

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 wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue.

Thank you!

Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue.

Thank you!

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

3 participants