Software⏱️ 3 min read📅 2026-06-10

How to Fix 0x80040326 Error – Ubuntu crashes on windows: 0x80040326 Wsl error

Ubuntu crashes on windows with error code 0x80040326, Wsl/Service/0x80040326.

Quick Answer: Try reinstalling the Ubuntu app and ensuring the correct password is used during setup.

Ubuntu crashes on Windows with error code 0x80040326, which is related to the WSL (Windows Subsystem for Linux) service. This issue affects users who have installed Ubuntu as an app on top of Windows and are experiencing a crash when trying to start the application.

This error can be frustrating because it prevents users from accessing their Ubuntu installation, which may contain important files and applications. In this troubleshooting guide, we will explore possible causes and provide steps to resolve the issue.

⚠️ Common Causes

  • The primary reason for this error is a misconfiguration of the WSL service. When the WSL service is not properly configured or installed, it can cause errors like 0x80040326. This may be due to an outdated version of Windows or incorrect settings in the PowerShell.
  • Another possible cause is a conflict between Microsoft Office Home and the WSL service. The recent update to Microsoft Office (Build 22621) might have introduced compatibility issues with the WSL service, leading to this error.

🔧 Proven Troubleshooting Steps

Resetting the WSL Service

  1. Step 1: Open PowerShell as an administrator and type `wsl --unregister Ubuntu-22.04` to unregister the Ubuntu distribution from the WSL service.
  2. Step 2: Next, type `wsl --install` to reinstall the Ubuntu distribution with the latest version of the WSL service.
  3. Step 3: After installation, try running `wsl --list --verbose` to verify that the Ubuntu distribution is now recognized and working correctly.

Resetting PowerShell Settings

  1. Step 1: Open PowerShell as an administrator and type `Set-Location -Path $env:PROGRAMDATA -ChildPath 'Microsoft/Windows/Wsl`

✨ Wrapping Up

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions