WSL 2 update error 0x80070643, WSL 2 cannot be deleted
Windows Build Number
Microsoft Windows [Version 10.0.19044.1151]
WSL Version
- [X] WSL 2
- [ ] WSL 1
Kernel Version
5.4.72
Distro Version
Any Distro
Other Software
No response
Repro Steps
Try to update wsl 2 by any way, either by Windows Update (In that case you will got error (0x80070643)) or by manual installation (In that case you will face pop-up window saying that wsl installation file cannot be found and ask to show msi file location even if the file location is in separate folder)
Expected Behavior
I expected to see successful windows update in windows update center or at least be able to succesfull update wsl manualy.
Actual Behavior
So small story before the problem. I am using Win 10 Insider version Release Preview Version and everything worked fine. Than I tried Win 11 dev channel (experience was bad), and got used system option (in update center win 11) to restore back system to the time before win11 and dev channel and I did it without any problem. Updates keeps coming everithing worked just fine as before. Than suddenly I got 0x80070643 error message. I pressed update again button and saw Windows update installing: Windows Subsystem for Linux Update - 5.10.16 And in like 40-60% of completion the 0x80070643 error pop up. At first, I thought It is just my problem and tried to google solution for this error and did some steps like running sfc /scannow (it actualy found some minor bugs nothing about windows update and auto fixed it), problem was not fixed, that I tried those commands: Dism /Online /Cleanup-Image /CheckHealth Dism /Online /Cleanup-Image /ScanHealth Everithing is ok. Dism /Online /Cleanup-Image /RestoreHealth (just ot be sure) That is strange, cause error 0x80070643 must be fixed by those steps already. So I tried manual installation got wsl_update_x64.msi as from here from wsl documentation link :https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi As from https://www.catalog.update.microsoft.com/ During manual installation I got pop-up window with OK Cancel and Brouse Source buttons telling me that : The needed file is on the net source that is not available. Press OK to try again or show another location to the folder consisting install package "wsl_update_x64.msi" Than I use Brouse button to show the location of this msi and got another error pop-up: ! File "C:\Users....\wsl_update_x64.msi" not the right package for instalation Windows Subsystem for Linux Update. Try to find package "wsl_update_x64.msi" in the folder from which the installation of Windows Subsystem for Linux Update is perfoming. If close that: Old version Windows Subsystem for Linux Update cannot be deleted please call tech support.
I've tried many folders in different locations but those didn't help. I got administrator privileges on the computer.
Sorry for not adding screenshots. My system is in another language, so I do not want to bother everyone with the translation, so I just typed all translated text here.
Sorry, If I post this problem not in the right place. I just cannot solve this by myself. Thank you for the understanding.
Diagnostic Logs
No response
If I understand correctly, you upgrade windows 10 to 11, then rollback to 10. and finally run into problem on Windows 10 and you have problem to update windows kernel. If yes, I'm wondering if you are already using an newer kernel which stops the update.
You can check your current kernel version with wsl --status, and you may see
D:\repo\>wsl --status
Kernel version: 5.10.43
or check from Check version number of apps & programs in Settings
You can only update to 5.10.16 if it's less than 5.10.16
First of all, thank you, sir, for trying to help me. You got me right, and I should specify that this update problem that occured on Win 10 wasn't day one after restore. I got several updates (so after restore to win10 system worked fine) and only than this problem occured. I've checked kernel version (wsl --status) again and it still shows 5.4.72 version. But manual installation working very strange, always asking me to show the proper wsl msi installation directory. Like an infinite loop msi file asks me to direct it to itself and after that telling me that installation file is not the right one. I've been almost sure that it is just an error with Windows Update but due to the fact the problem stayed even after some procedures I've listed above I started thinking into wsl direction. I think maybe I got something wrong with my WSL2. (I got fedora remix for WSL and two Ubuntu versions, everything installed from Microsoft Store). Maybe I should try to delete wsl 2 manually and than install fresh version if there are any proper way to do this. Maybe use some commands to do this in pwsh. Anyway, thanks for trying to help me!
Before re-install, you may try this:
- backup the Linux kernel file: %SystemRoot%\system32\lxss\tools\kernel
- uninstall
Windows Subsystem for Linux Updatefromapps & programsin settings - run
wsl --updateor install wsl_update_x64.msi directly. This should enable you to install the latest kernel update correctly. If not, copy kernel back to %SystemRoot%\system32\lxss\tools\kernel
I got the problem the day before update to win11.
PS C:\Users\${MyUserName}> wsl --status
默认分发:Ubuntu
默认版本:2
适用于 Linux 的 Windows 子系统最后更新于 2021/2/20
WSL 自动更新启用。
内核版本: 5.4.72
I have tried to delete WSL but got same issue. Pop - up window asking me to show direction to the proper wsl x64 msi file location and when i do so telling me that this msi file is not the right one. I literally cannot delete WSL. Moreover, I got new updates in Microsoft update center and coputer installed them without any problems but 0x80070643 error still persists. I think this is the confirmation that the problem with the deleting old wls version in order to install new one.
Before re-install, you may try this:
- backup the Linux kernel file: %SystemRoot%\system32\lxss\tools\kernel
- uninstall
Windows Subsystem for Linux Updatefromapps & programsin settings- run
wsl --updateor install wsl_update_x64.msi directly. This should enable you to install the latest kernel update correctly. If not, copy kernel back to %SystemRoot%\system32\lxss\tools\kernel
Before re-install, you may try this:
- backup the Linux kernel file: %SystemRoot%\system32\lxss\tools\kernel
- uninstall
Windows Subsystem for Linux Updatefromapps & programsin settings- run
wsl --updateor install wsl_update_x64.msi directly. This should enable you to install the latest kernel update correctly. If not, copy kernel back to %SystemRoot%\system32\lxss\tools\kernel
When I tried to run wsl --update,I got this pop-up too.

I used Fix problems that block programs from being installed or removed troubleshouter to remote WSL 2 completely from my system and did a "Retry" on windows update. Worked for me
I used Fix problems that block programs from being installed or removed troubleshouter to remote WSL 2 completely from my system and did a "Retry" on windows update. Worked for me
Worked for me too. Many thanks!
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Thank you!