When trying to install wsl I get this message: An error occurred during installation.…
- User
When trying to install wsl I get this message: An error occurred during installation. Distribution Name: 'Ubuntu 22.04 LTS' Error Code: 0x80070520
Assistant
The error code 0x80070520 you received while trying to install WSL (Windows Subsystem for Linux) might be related to a corrupted update file or a bad install state. To resolve this issue, you can try the following steps:
-
Run the troubleshooter for Windows apps:
- Go to Start > Settings > Update & security > Troubleshoot.
- Scroll down on the right and find the "Windows Store Apps" troubleshooter, then run it.
-
Ensure that WSL is enabled and properly installed:
- Check if the Windows Subsystem for Linux Optional Component is installed.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.