WslRegisterDistribution failed with error: 0xffffffff

1

Unable to install Ubuntu 20.04 LTS in WSL 2. I have enabled all the required things for WSl. It is resulting following error. Error message

docker
windows-subsystem-for-linux
wsl-2
asked on Stack Overflow Oct 4, 2020 by Rupak

1 Answer

7

Please try the following:

  1. Go to System Tools => Resource Monitor GUI for windows
  2. Check which service is using port 53,
  3. Once you identify it, kill the process as follows: taskkill /f /pid [PID].
  4. Go to Users/[youruser]/AppData/Local/Packages/ and look for a folder called CanonicalGroupLimitedUbuntu... then right click on it, go to Properties => Advanced Options and disable compression for the folder, then click accept and also apply this change for subfolders.

[Note] Windows uses Compression for the installation folders so is not possible to run it.

Once this is done, try to run your installation and should be working.

Hope it helps. Regards

answered on Stack Overflow Oct 5, 2020 by horacioesco • edited Dec 5, 2020 by horacioesco

User contributions licensed under CC BY-SA 3.0