windows update broke windows subsystem for linux 2

3

I have been using Windows Subsystem for Linux 2, however after applying a Windows Update that had been waiting for a while, now when I open the Ubuntu terminal app, it is blank and I cannot type:

  • After leaving it open, it eventually outputs:
    Installing, this may take a few minutes...
    
      WslRegisterDistribution failed with error: 0x80080005
      Error: 0x80080005 Server execution failed
    
      Press any key to continue...
    
  • ver&wsl --list --all -v
    
      Windows [Version 10.0.18362.1139]
      Server execution failed
    

I can't seem to find any information on it yet; does anyone have any idea what to do about this?

windows
windows-subsystem-for-linux
wsl2
asked on Super User Oct 17, 2020 by fffrost • edited Oct 17, 2020 by JW0914

1 Answer

1

As commented by JosefZ, following procedure fixes the issue:

  • Run (Win+R) optionalfeatures.exe
  • untick Windows Subsystem for Linux and click OK Allow the system to restart if prompted
  • Run (Win+R) optionalfeatures.exe again
  • tick Windows Subsystem for Linux and click OK

This will effectively uninstall the WSL and install it again.

The existing WSL installations seem not affected by this procedure in any way (they look exactly like before).

answered on Super User Jan 4, 2021 by Suma

User contributions licensed under CC BY-SA 3.0