Comments (3)
Hi, I also had this error code/problem and resolved by running wsl --install Ubuntu --web-download in admin powershell prompt. without admin, I received error you mention. with admin but no web-download flag, installation hangs at 0.0%.
this issue helped me solve: #9390
as well as this learn article: https://learn.microsoft.com/en-us/windows/wsl/install#install-wsl-command
my ps log:
PS C:\Users\user> wsl --install Ubuntu-22.04 --web-download
Downloading: Ubuntu 22.04 LTS
The operation timed out
Error code: Wsl/InstallDistro/0x80072ee2
PS C:\Users\User> wsl --install Ubuntu --web-download
Downloading: Ubuntu
Installing: Ubuntu
Ubuntu has been installed.
Launching Ubuntu...
Installing, this may take a few minutes...
(window title changes to 'Ubuntu' waiting for some minutes, 30-60)
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 The operation could not be started because a required feature is not installed.
Press any key to continue...
The installation process for distribution 'Ubuntu' failed with exit code: 1.
Error code: Wsl/InstallDistro/WSL_E_INSTALL_PROCESS_FAILED
(I think 114 error is caused by hypervisor optional component enabled, so disable and retry without restart)
PS C:\Users\user> wsl --install --web-download
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
(wait some time again, fails so restart)
open ubuntu profile in powershell:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x8000000d
Error: 0x8000000d An illegal state change was requested.
Press any key to continue...
disable all optional features: hyper-v, windows hypervisor, wsl, virtual machine, restart.
attempt wsl -d Ubuntu-22.04 --web-download
wsl --install -d Ubuntu-22.04 --web-download
The requested operation requires elevation.
Installing: VirtualMachinePlatform
Deployment Image Servicing and Management tool
Version: 10.0.22621.2792
Image Version: 10.0.22631.3155
Enabling feature(s)
[==========================100.0%==========================]
The operation completed successfully.
The requested operation is successful. Changes will not be effective until the system is rebooted.
Failed to fetch the list distribution from 'https://raw.githubusercontent.com/microsoft/WSL/master/distributions/DistributionInfo.json'. The server name or address could not be resolved
Error code: Wsl/InstallDistro/WININET_E_NAME_NOT_RESOLVED
(actually lost wifi, retry)
wsl --install -d Ubuntu-22.04 --web-download
Downloading: Ubuntu 22.04 LTS
Installing: Ubuntu 22.04 LTS
Ubuntu 22.04 LTS has been installed.
The requested operation is successful. Changes will not be effective until the system is rebooted.
(okay, Reboot. Ubuntu 22.04 powershell profile appears, launching without admin)
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370114
Error: 0x80370114 The operation could not be started because a required feature is not installed.
Press any key to continue...
[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.
(press enter, read https://superuser.com/questions/1736443/wsl-2-installing-linux-failed-error-code-0x80370114 and enable code flow for both programs, without reboot)
Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: rogally
New password:
Retype new password:
passwd: password updated successfully
Installation successful!
windows 11 home does not allow hyper-v feature, but you should not need for wsl2. of course read here if you want it: https://www.makeuseof.com/install-hyper-v-windows-11-home/
i read a few places that content decoding issues are related to administrative rights. ensure you are not using the built-in Administrator account.
Hope I helped you solve it!
from wsl.
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!
Open similar issues:
- WSL --install fails with unknown error code (0x80240066) (#9385), similarity score: 0.91
Closed similar issues:
- wsl --install fails with Error Code: 0x80245006 (#9480), similarity score: 0.92
- wsl install error for 0x80072eff, 0x80072ee7 (#8784), similarity score: 0.90
- wsl install failed with error 0x80240438 (#10226), similarity score: 0.89
- WSL installing error with error code 0x80073701 (#3675), similarity score: 0.89
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
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!
from wsl.
Related Issues (20)
- Cannot uninstall WSL any more HOT 6
- wsl high latency HOT 2
- Cannot start WSL after 2 weeks every time HOT 1
- cannot ssh into wsl2, system feezes HOT 3
- Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified HOT 2
- Class not registered Error code: Wsl/CallMsi/REGDB_E_CLASSNOTREG HOT 2
- Unable to add mount for Development Drive attached as Junction HOT 2
- wsl --install: WslRegisterDistribution failed with error: 0x80070002 HOT 1
- Register WSL without importing HOT 5
- wsl --update错误。查看了https://github.com/microsoft/WSL/discussions/8383, 但是我无法更改系统设置 HOT 3
- SSH connection hangs and stops responding after some time, effectively freezing WSL HOT 5
- Disk Letter description Changed and Ubuntu disk appeared in Task Manager When Using a File Outside of WSL HOT 2
- Can't show SDL window HOT 3
- we need to restricting root access for users using WSL2. HOT 4
- Suspect installed Windows 11 June 11, 2024—KB5039212 (OS Builds 22621.3737 and 22631.3737) cause the WSL can't access host's TCP port HOT 1
- Enabling systemd should automatically set / to shared HOT 3
- WslRegisterDistribution failed with error: 0x8007023e HOT 6
- /etc/hosts not getting generated with the contents of the windows hosts file HOT 7
- Unable to connect to server on Windows from WSL HOT 3
- Multiple BadZipFile errors while installing any project HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.