How to Fix 0x80070091 Error – Error 0x80070091 on WSL (windows subsystem for linux) install on Win10
Error 0x80070091 occurs during WSL installation on Win10, causing issues with lxrun commands.
📋 Table of Contents
Error 0x80070091 is an error code that occurs when trying to install or uninstall the Windows Subsystem for Linux (WSL) on Windows 10. This error affects users who have previously installed WSL and are now experiencing issues with its uninstallation or reinstallation.
This error can be frustrating because it prevents users from using WSL, which is a valuable tool for developers and power users. In this guide, we will walk you through the steps to troubleshoot and fix Error 0x80070091 on WSL installation.
🔍 Why This Happens
- The primary reason for Error 0x80070091 is due to incomplete uninstallation of WSL. When using lxrun /uninstall, it may not always remove all the necessary files and settings required for WSL to function properly. This can cause conflicts during reinstallation.
- Another possible cause is a corrupted registry entry or a conflicting system file that prevents WSL from installing correctly.
🚀 How to Resolve This Issue
Reinstalling WSL using lxrun /install with additional options
- Step 1: Open the Command Prompt as an administrator and navigate to the directory where lxrun is installed (usually C:\Program Files (x86)\LXRun).
- Step 2: Run the command lxrun /install --force to reinstall WSL, which will overwrite any existing files and settings.
- Step 3: Wait for the installation process to complete. This may take a few minutes.
Manually uninstalling WSL using Disk Cleanup and Rebuilding
- Step 1: Open Disk Cleanup and select the drive where lxrun is installed (usually C:).
- Step 2: Under the 'Files to delete' section, select the files associated with WSL (lxrun.exe, lxrun.dll, etc.) and click 'OK'.
✨ Wrapping Up
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Fix Pc crashes shortly after launching game (rainbow six siege). Compl
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: New PC build- no signal and no clue
Fix New PC build- no signal and no clue. Complete troubleshooting guid