WSL: Error: 0x80070570 The file or directory is corrupted and unreadable.

Windows Version

Microsoft Windows [Version 10.0.22631.2861]

WSL Version

WSL version: 2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Ubuntu (all versions)

Other Software

Docker Desktop (desktop/desktop-data disabled) Podman Desktop (machine disabled)

Repro Steps

Just had an update with wsl --update, and poof… started getting this issue

Expected Behavior

wsl should launch/install properly

Actual Behavior

wsl isn’t getting installed properly

~
❯ wsl --install
Ubuntu is already installed.
Launching Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070570
Error: 0x80070570 The file or directory is corrupted and unreadable.

Press any key to continue...
The operation completed successfully.

Diagnostic Logs

Email sent to wsl-gh-logs@microsoft.com

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 21 (9 by maintainers)

Most upvoted comments

Okay, I was able to fix the issue without reinstalling my OS be deleting everything I could in C:\Program Files\WSL except 2 files that were being used by a program. I then uninstalled Ubuntu. Next, I disabled the Windows Features Windows Subsystem for Linux, Windows Hypervisor Platform, and Virtual Machine Platform. I rebooted once that was done. Then I enabled the features again(and I think rebooted again), and finally reinstalled Ubuntu from the MS Store- and it worked again.

Okay, I was able to fix the issue without reinstalling my OS be deleting everything I could in C:\Program Files\WSL except 2 files that were being used by a program. I then uninstalled Ubuntu. Next, I disabled the Windows Features Windows Subsystem for Linux, Windows Hypervisor Platform, and Virtual Machine Platform. I rebooted once that was done. Then I enabled the features again(and I think rebooted again), and finally reinstalled Ubuntu from the MS Store- and it worked again.

This worked for me, I was facing the same issue

I am also experiencing the same error.

When you are saying that you deleted the C:\Program Files\WSL folder how did you manage to run wsl --install again @AidanWelch? If I delete the folder it does not reappear and I get the path not found error below.

image

Really do not want reinstall Windows again because one of its apps got corrupted…