OS| LINUX | WSL
An error occurred during installation 0x80070520
Encountering error 0x80070520 while installing Ubuntu on Windows Subsystem for Linux (WSL) can be frustrating. However, this error is usually a result of specific issues within your system’s configuration. Luckily, there are several steps you can take to resolve the problem and successfully complete the installation. Follow this guide to troubleshoot and fix the issue.
1. Check and Reset the WSL Configuration
Conflicting settings within the WSL configuration can sometimes cause installation errors. Resetting the WSL environment could help. Here’s how to do it:
- Stop Running WSL Instances
Open PowerShell as Administrator and run the following command to stop all running WSL instances:
wsl --shutdown
- Unregister Existing WSL Distributions
If you’ve had any distributions (like Ubuntu) that didn’t install properly or are causing conflicts, unregister them:
wsl --unregister Ubuntu
- Reinstall Ubuntu After resetting WSL, try installing the Ubuntu distribution again by running:
wsl --install -d Ubuntu
