You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installing: Windows Subsystem for Linux stuck at 0.0% #9390
Also attempted --web-download flag, which gave the following:
C:\Windows\System32>wsl --install --web-download
Downloading: Windows Subsystem for Linux
Installing: Windows Subsystem for Linux
The provided package is already installed, and reinstallation of the package was blocked. Check the AppXDeployment-Server event log for details.
Reacted by zerooooooooooooooo, Dzaky Badawi, jae-kyeonggg, AliReza Rezazadeh, Chang Koi, Huzaifa Khilawala, Duy Khanh Le, Marekgr7, Wenhao Ding, Charles Dias and 28 more
Reacted by Vinayak Verma, Mohammad Zbib, Raj Mharnur, LeadDev and Phillip Peach
I removed the package mentioned in AppXDeployment-Server event log by doing Remove-AppxPackage -package MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.3.0_neutral_~_8wekyb3d8bbwe in Powershell, and then reinstalled it via wsl --install --web-download which installed WSL but stuck at installing Ubuntu. But then again wsl --install Ubuntu --web-download completed the installation. I guess Microsoft Store was borked at the time .
Reacted by kaiwizz, Andy Wu, Toshiyuki Bandai, Thomas Roule, candraburhanudin15, Banyar Shin, Tomás Fidalgo, TimbakTwo, Matheus Santos, Marco De Freitas and 9 more
I uninstalled wsl , ubuntu due to issues with docker desktop .
and after running
wsl --install . wsl is installed properly, but ubuntu installation is stuck. please help with this issue
Reacted by HN Thap, Song Yang, madhawa priyashantha, Sahil Shaikh, Vedavrat Patwardhan, Aishwarya Verma, Pratik Phadte, pedronastasi, Isaac Santos, Rubén and 6 more
wsl --install Ubuntu --web-download
Ubuntu is already installed.
Launching Ubuntu...
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: user
uNew password:
Retype new password:
passwd: password updated successfully
The operation completed successfully.
Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 4.4.0-22621-Microsoft x86_64)
for some reason it is shown as Ubuntu instead of `Ubuntu-22.04
C:\Windows\System32>wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu-18.04 (Default)
Ubuntu
Reacted by pouya samie, Taein KIM, Wilken Steiner, Raphael Ferrand, MageshSrinivasulu, Caio Amaral, John Barbero, daniel-lou18, Jiajun Li, Song Yang and 27 more
Reacted by Song Yang, shivaprak16, Leonard, Rahul Vadaga, Ayoub Touba, CodingMike, GafarRisky, Abdulrahman Mushref, Aditya and Ho5te4
wsl --install Ubuntu --web-download
Ubuntu is already installed.
Launching Ubuntu...
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: user
uNew password:
Retype new password:
passwd: password updated successfully
The operation completed successfully.
Installation successful!
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 4.4.0-22621-Microsoft x86_64)
for some reason it is shown as Ubuntu instead of `Ubuntu-22.04
C:\Windows\System32>wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu-18.04 (Default)
Ubuntu
web download option worked for me
Reacted by Taein KIM, SukJu Hong, Wilken Steiner, 0dminnimda, daniel-lou18, Song Yang, Leonard, thiepmoi-sinhnhat, Olawale Oyeyipo and GafarRisky
I'm in same situation, but --web-download just causes wsl to print its arguments and does nothing
Reacted by HN Thap, Daniel Price, magnus-bakke, David Anderle, Matt Sielecki, James Hutchins, saharasgari, stephanmo, madhawa priyashantha, jibAkhan and 15 more
For me when trying to wsl --install it was stuck on "installing" for like 1 hour so I canceled it and tried wsl --update --web-download and it fixed it
Reacted by castro, George Batt, Draconian, Nemezko, Sandesh Tangade, Viktor Penelski, David Anderle, Toto, Bennet Hölscher, zeeshan-memon and 31 more
Reacted by Вячеслав Полтавский and Kush
Reacted by math_reich, GafarRisky, RAJAT KUMAR, imfm, Вячеслав Полтавский , hugo73cr and Yassine Derbel
Reacted by Michał Gajek, RoadBlack, math_reich, GafarRisky, RAJAT KUMAR, imfm, Вячеслав Полтавский , Kévin Abraham, Mr_World_AR and hugo73cr
Reacted by Вячеслав Полтавский and Macbrandon Numfor Nden
For me when trying to wsl --install it was stuck on "installing" for like 1 hour so I canceled it and tried wsl --update --web-download and it fixed it
I had the Problem with Ubuntu install being stuck at 0%. I waited for some time thinking it might just show 0% but be downloading still. I then tried to type some command when it was still showing the progress bar at 0%. As I struck the "c" key to type "cancel" it jumped to 100% and finished the install. I have no Idea why.
More or less the same here. First, I tried to install on my laptop using wsl --install but the loading indicator stuck at 0%. I saw no CPU or Internet usage inside Task Manager, so I cancelled and use --web-download option.
Today I made another attempt to install it on another laptop and it stuck at 27%. I waited for a while and found your comment. Instead of c I pressed Enter (I guess anything except Ctrl-C will do) and voila, it showed 100% completed. What a bug =))
go to microsoft store search for ubuntu and resume the download there.
This worked for me, after trying the suggestion of typing wsl --install -d Ubuntu --web-download, which gave me an error because --web-download is unrecognized on my OS.
The exception is that I'm using a laptop and the install was stuck at 0.0% because it wanted my laptop charger to be plugged in! So lame. Anyway, once I plugged my computer cable in, Ubuntu installation went to 100% within a few seconds in Windows PowerShell and the rest of the download worked.
wsl installed but ubuntu not installing i tried everything
it just prints the arguments as below:
"""
Arguments for managing distributions in Windows Subsystem for Linux:
--export <Distro> <FileName>
Exports the distribution to a tar file.
The filename can be - for standard output.
--import <Distro> <InstallLocation> <FileName> [Options]
Imports the specified tar file as a new distribution.
The filename can be - for standard input.
Options:
--version <Version>
Specifies the version to use for the new distribution.
--list, -l [Options]
Lists distributions.
Options:
--all
List all distributions, including distributions that are
currently being installed or uninstalled.
--running
List only distributions that are currently running.
--quiet, -q
Only show distribution names.
--verbose, -v
Show detailed information about all distributions.
--online, -o
Displays a list of available distributions for install with 'wsl --install'.
--set-default, -s <Distro>
Sets the distribution as the default.
--set-version <Distro> <Version>
Changes the version of the specified distribution.
--terminate, -t <Distro>
Terminates the specified distribution.
--unregister <Distro>
Unregisters the distribution and deletes the root filesystem.
use the cmd to install wsl or distros.
then go to micosoft store and go to downloads section then pause and resume .
the download will start thats it !
When we type wsl --install and it does not work, this is because we are opting for the default download. wsl is basically Linux which has distros, therefore many a times, our machines/ configurations may clash with the default version. Similarly, the default version may not be available all the time due to open source.
In that case, its better to explicitly mention which distro of Linux we want to download.
This can be done by first listing all the available distros with the command: wsl --list --online or in short wsl --l --o
and we shall get something like this:
NAME FRIENDLY NAME AlmaLinux-8 AlmaLinux OS 8 AlmaLinux-9 AlmaLinux OS 9 AlmaLinux-Kitten-10 AlmaLinux OS Kitten 10 AlmaLinux-10 AlmaLinux OS 10 Debian Debian GNU/Linux FedoraLinux-43 Fedora Linux 43 FedoraLinux-42 Fedora Linux 42 SUSE-Linux-Enterprise-15-SP7 SUSE Linux Enterprise 15 SP7 SUSE-Linux-Enterprise-16.0 SUSE Linux Enterprise 16.0 Ubuntu Ubuntu Ubuntu-24.04 Ubuntu 24.04 LTS archlinux Arch Linux kali-linux Kali Linux Rolling openSUSE-Tumbleweed openSUSE Tumbleweed openSUSE-Leap-16.0 openSUSE Leap 16.0 Ubuntu-20.04 Ubuntu 20.04 LTS Ubuntu-22.04 Ubuntu 22.04 LTS OracleLinux_7_9 Oracle Linux 7.9 OracleLinux_8_10 Oracle Linux 8.10 OracleLinux_9_5 Oracle Linux 9.5 openSUSE-Leap-15.6 openSUSE Leap 15.6 SUSE-Linux-Enterprise-15-SP6 SUSE Linux Enterprise 15 SP6
If I were to choose any one version, in my example let's say Ubuntu 24.04 LTS
I'd type: wsl --install -d Ubuntu-24.04
The available and popular fix above is to include --web-download but that is a simple reroute of the greater issue, which can in this way be navigated with much more control.
Activity
ogvolkov commentedon Dec 23, 2022
Also attempted --web-download flag, which gave the following:
C:\Windows\System32>wsl --install --web-download
ogvolkov commentedon Dec 23, 2022
I removed the package mentioned in AppXDeployment-Server event log by doing
Remove-AppxPackage -package MicrosoftCorporationII.WindowsSubsystemForLinux_1.0.3.0_neutral_~_8wekyb3d8bbwein Powershell, and then reinstalled it viawsl --install --web-downloadwhich installed WSL but stuck at installing Ubuntu. But then againwsl --install Ubuntu --web-downloadcompleted the installation. I guess Microsoft Store was borked at the time .rohan2734 commentedon Apr 24, 2023
even i am stuck at installing ubuntu
I uninstalled
wsl,ubuntudue to issues with docker desktop .and after running
wsl --install. wsl is installed properly, butubuntuinstallation is stuck. please help with this issuethatux commentedon May 1, 2023
ubuntu-22.04 install borked, now I'm stuck at 0,0%
any way to recover from this?
thatux commentedon May 1, 2023
Not sure why but this worked:
for some reason it is shown as
Ubuntuinstead of `Ubuntu-22.04pouyaSamie commentedon May 4, 2023
web download option worked for me
Youjin1985 commentedon Jun 4, 2023
I'm in same situation, but --web-download just causes wsl to print its arguments and does nothing
Sinnyssi commentedon Jun 6, 2023
wsl --install -d Ubuntu --web-downloadShould be the correct command, if you haven't figured it out by now :)
fmg-nickjardine commentedon Jun 21, 2023
This worked for me. Had same thing - could install wsl, but not ubuntu, would just sit there doing nothing.
Nate-Agbara commentedon Jun 23, 2023
Did you find a way around the ubuntu not installing? I'm having the same.
castrosu commentedon Jun 23, 2023
For me when trying to
wsl --installit was stuck on "installing" for like 1 hour so I canceled it and triedwsl --update --web-downloadand it fixed itlvpx commentedon Jul 11, 2023
I had to do it in two steps,
wsl --install --web-downloadand then
wsl --install -d Ubuntu --web-downloadcastrosu commentedon Jul 11, 2023
yeah that also works
Ni-011 commentedon Jul 14, 2023
any update on why the classic
wsl --install -d ubuntudoesn't work and we need to download using --web-download ?
17 remaining items
umardy commentedon Dec 24, 2024
Adding
--web-downloadworked for me. Full command: wsl --install -d ubuntu --web-downloadmetadol commentedon Jan 8, 2025
🛐
metadol commentedon Jan 9, 2025
wsl.exe --install -d Ubuntuthis is the one from the microsoft docswhimian commentedon Jan 14, 2025
WSL document:

hajigur69 commentedon Feb 18, 2025
very helpful thanks all
lesik248 commentedon Mar 2, 2025
don't forget to restart your computer after the first step
vuxuanhungg commentedon Mar 10, 2025
More or less the same here. First, I tried to install on my laptop using
wsl --installbut the loading indicator stuck at 0%. I saw no CPU or Internet usage inside Task Manager, so I cancelled and use--web-downloadoption.Today I made another attempt to install it on another laptop and it stuck at 27%. I waited for a while and found your comment. Instead of
cI pressedEnter(I guess anything except Ctrl-C will do) and voila, it showed 100% completed. What a bug =))hinkleal commentedon Apr 6, 2025
This worked for me, after trying the suggestion of typing wsl --install -d Ubuntu --web-download, which gave me an error because --web-download is unrecognized on my OS.
The exception is that I'm using a laptop and the install was stuck at 0.0% because it wanted my laptop charger to be plugged in! So lame. Anyway, once I plugged my computer cable in, Ubuntu installation went to 100% within a few seconds in Windows PowerShell and the rest of the download worked.
ugintl commentedon Apr 20, 2025
Only this method worked
propgsp commentedon Apr 26, 2025
Nothing worked for me :(
wsl installed but ubuntu not installing i tried everything
it just prints the arguments as below:
"""
Arguments for managing distributions in Windows Subsystem for Linux:
""""
propgsp commentedon Apr 26, 2025
update :
use the cmd to install wsl or distros.
then go to micosoft store and go to downloads section then pause and resume .
the download will start thats it !
enjoy linux!
jeffrade commentedon Jun 3, 2025
Steps I tried in order (you can probably skip the middle two). Was failing for me as well until I specified the full version
Ubuntu-22.04LycorisChisatoo commentedon Oct 10, 2025
it works, thanks very much
TecoTurtle commentedon Oct 29, 2025
for me it sat at 0.0% for a while then it started to install
hamzaskhan commentedon Nov 6, 2025
When we type wsl --install and it does not work, this is because we are opting for the default download. wsl is basically Linux which has distros, therefore many a times, our machines/ configurations may clash with the default version. Similarly, the default version may not be available all the time due to open source.
In that case, its better to explicitly mention which distro of Linux we want to download.
This can be done by first listing all the available distros with the command:
wsl --list --onlineor in shortwsl --l --oand we shall get something like this:
NAME FRIENDLY NAME AlmaLinux-8 AlmaLinux OS 8 AlmaLinux-9 AlmaLinux OS 9 AlmaLinux-Kitten-10 AlmaLinux OS Kitten 10 AlmaLinux-10 AlmaLinux OS 10 Debian Debian GNU/Linux FedoraLinux-43 Fedora Linux 43 FedoraLinux-42 Fedora Linux 42 SUSE-Linux-Enterprise-15-SP7 SUSE Linux Enterprise 15 SP7 SUSE-Linux-Enterprise-16.0 SUSE Linux Enterprise 16.0 Ubuntu Ubuntu Ubuntu-24.04 Ubuntu 24.04 LTS archlinux Arch Linux kali-linux Kali Linux Rolling openSUSE-Tumbleweed openSUSE Tumbleweed openSUSE-Leap-16.0 openSUSE Leap 16.0 Ubuntu-20.04 Ubuntu 20.04 LTS Ubuntu-22.04 Ubuntu 22.04 LTS OracleLinux_7_9 Oracle Linux 7.9 OracleLinux_8_10 Oracle Linux 8.10 OracleLinux_9_5 Oracle Linux 9.5 openSUSE-Leap-15.6 openSUSE Leap 15.6 SUSE-Linux-Enterprise-15-SP6 SUSE Linux Enterprise 15 SP6If I were to choose any one version, in my example let's say
Ubuntu 24.04 LTSI'd type:
wsl --install -d Ubuntu-24.04The available and popular fix above is to include --web-download but that is a simple reroute of the greater issue, which can in this way be navigated with much more control.