Yesterday I ran the last available update of Windows 11 and today when I opened the WSL2 console with Ubuntu it showed me the error Error code: Wsl/Service/0x80040326
and no matter how much I closed the console and reopened it, the error was still there (the reboot thing doesn’t always work).
It is very easy to solve it. Simply update WSL and close it. All this executed from PowerShell.
We execute the following commands to complete the task:
wsl --update
wsl --shutdown
We reopen our WSL2 console and it will be as if nothing had happened, no errors, so easy and fast.