Troubleshooting Error 0x80070520 During WSL Installation

OS| LINUX | WSL

An error occurred during installation 0x80070520

Photo by Gabriel Heinzer on Unsplash

Encountering error 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:


  • Open PowerShell as Administrator and run the following command to stop all running WSL instances:
wsl --shutdown

  • If you’ve had any distributions (like Ubuntu) that didn’t install properly or are causing conflicts, unregister them:
wsl --unregister Ubuntu
  • After resetting WSL, try installing the Ubuntu distribution again by running:
wsl --install -d Ubuntu

Leave a Reply