Windows 10: Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu

Discus and support Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu in Windows 10 News to solve the problem; Even after getting all the requirements checked, you may experience issues while installing the Windows Subsystem for Linux. For instance, when you try... Discussion in 'Windows 10 News' started by WinClub, May 3, 2021.

  1. WinClub New Member

    Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu


    Even after getting all the requirements checked, you may experience issues while installing the Windows Subsystem for Linux. For instance, when you try to launch Ubuntu from the Microsoft Store, an error message may appear on your computer reading, WslRegisterDistribution failed with error: 0xc03a001a. The error occurs when launching Ubuntu, where it says the operation could not complete due to a virtual disk system limitation. The error message also asks to uncompress and encrypt the message.

    Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu WslRegisterDistribution-failed-with-error-0xc03a001a.png

    WslRegisterDistribution failed with error: 0xc03a001a
    Error: 0xc03a001a
    The requested operation could not be completed due to a virtual disk system limitation.
    Virtual hard disk files must be uncompressed and unencrypted and must not be sparse.​

    WslRegisterDistribution failed with error: 0xc03a001a


    Error: 0xc03a001a is usually followed by a message that reads, the requested operation could not be completed due to a virtual disk system limitation. Virtual hard disk files must be uncompressed and unencrypted and must not be sparse.

    There are two methods suggested to fix the problem on the official GitHub forums. The first allows you to disable encryption, and the second takes care of the compression issue.

    • Run FSUTIL Command
    • Uncheck Compress Contents for Ubuntu directory

    The fsutil tool is related to FAT and NTFS file system operations such as managing, preparing, or dismounting the volume.

    So basically, this problem can be fixed by following the steps below.

    1. Navigate to the following USERPROFILE path CanonicalGroupLimited.Ubuntu.
    2. Open the profile folder for your Linux distribution.
    3. LocalState folder.
    4. Right-click this folder and choose Properties.
    5. Hit the Advanced button.
    6. Deselect Compress contents to save disk space.
    7. Deselect Encrypt contents to secure data.
    8. Choose just this folder option.

    Let us look at the steps in detail.

    Run FSUTIL Command


    Open Run prompt (Win +R), type cmd, and press Shift + Enter to launch the command prompt with admin permission. Type and execute the following command

    fsutil behavior set disableencryption 1
    fsutil behavior set disablecompression 1

    Reboot the computer once done, and launch Ubuntu or any other Linux flavor.

    Uncheck Compress Contents for Ubuntu directory


    Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu uncompress-ununtu-folder.png

    The Ubuntu directory is located at the following path

    %localappdata%\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc

    It is possible a Windows Update has enabled compression and encryption for that folder. If that is so, then you need to disable it

    Go to %localappdata%\Packages\, right-click on the CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc folder, and select Properties.

    Under the General tab, click on the Advanced button. Uncheck the box for compression and encryption. Click on and save the changes. The process may take some time, depending on the size of the folder and files.

    When prompted to apply the changes to just the current folder or to all subfolders and files, select just this folder since you are only clearing the compress flag.

    Following this, the change, wsl --set-version command should work and allow you to run a Linux environment, including most command-line tools, utilities, and applications.

    Hereafter, your problem should be solved, and you should not see the WSL error 0xc03a001a again, says Microsoft.

    Hope it helps!

    Similar WslRegisterDistribution failed with errors: 0x80041002 | 0x800700b7 or 0x80080005 | 0x80070422 | 0x80370114 | 0x80370102 | 0x80070003 | 0x80070032 | 0x8007023e | 0x800701bc | 0x8007019e and 0x8000000d.

    Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu uncompress-ununtu-folder.png
    This article Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu first appeared on TheWindowsClub.com.

    read more...
     
    WinClub, May 3, 2021
    #1
  2. FredL_864 Win User
    FredL_864, May 3, 2021
    #2
  3. FredL_864 Win User
    Ubuntu - WslRegisterDistribution failed with error: 0x80070001

    On Windows Server 2019 Standard (64bit OS) - Build 17763.615, when trying to install Ubuntu on WSL (by following Install Linux Subsystem on Windows Server),
    I have this error:

    Installing, this may take a few minutes...

    WslRegisterDistribution failed with error: 0x80070001

    Error: 0x80070001 Incorrect function.

    Press any key to continue...

    any Idea to solve this issue?
     
    FredL_864, May 3, 2021
    #3
  4. Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu

    WslRegisterDistribution failed with error: 0x80004005

    Launching Ubuntu (or any other wsl system) i get such error: "WslRegisterDistribution failed with error: 0x80004005". Tried googling it, but nothing helps. I tried to restart Lxss, tried sfc, dism, etc., but no errors were found. And i still get this.


    Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu 14894248-111d-412b-8af4-855ec595eda1?upload=true.png
     
    Vladimir Novopashin, May 3, 2021
    #4
Thema:

Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu

Loading...
  1. Fix WslRegisterDistribution failed with error 0xc03a001a when launching Ubuntu - Similar Threads - Fix WslRegisterDistribution failed

  2. How to fix WslRegisterDistribution failed with error: 0x80370114

    in Windows 10 Gaming
    How to fix WslRegisterDistribution failed with error: 0x80370114: I have enabled the virtualization in my pc, WSL versionPS C:\WINDOWS\system32> wsl -v WSL version: 2.4.11.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5716 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows...
  3. How to fix WslRegisterDistribution failed with error: 0x80370114

    in Windows 10 Software and Apps
    How to fix WslRegisterDistribution failed with error: 0x80370114: I have enabled the virtualization in my pc, WSL versionPS C:\WINDOWS\system32> wsl -v WSL version: 2.4.11.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5716 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows...
  4. WslRegisterDistribution failed with error: 0x80004005 when running ubuntu, kalli or other...

    in Windows 10 Gaming
    WslRegisterDistribution failed with error: 0x80004005 when running ubuntu, kalli or other...: so i am trying to get the ubuntu linux app in the windows appstore to run on my virtual machine.it does work on the host machine but i need to get it to work on the VMi have windows 11 on both my host machine and hyper-v virtual machine same version Version 10.0.26100 Build...
  5. WslRegisterDistribution failed with error: 0x80004005 when running ubuntu, kalli or other...

    in Windows 10 Software and Apps
    WslRegisterDistribution failed with error: 0x80004005 when running ubuntu, kalli or other...: so i am trying to get the ubuntu linux app in the windows appstore to run on my virtual machine.it does work on the host machine but i need to get it to work on the VMi have windows 11 on both my host machine and hyper-v virtual machine same version Version 10.0.26100 Build...
  6. WslRegisterDistribution failed with error: 0x80370102

    in Windows 10 Software and Apps
    WslRegisterDistribution failed with error: 0x80370102: So I have tried all the solutions from this post: https://answers.microsoft.com/en-us/windows/forum/all/wslregisterdistribution-failed-with-error/5fdd8aa6-175e-4a14-8fe6-07673133fd15I have Hyper-V enabled, Virtual Machine Plateform enabled, and Virtualizationin my case, Intel...
  7. How to fix WslRegisterDistribution failed with error: 0x800106d9 ?

    in Windows 10 Software and Apps
    How to fix WslRegisterDistribution failed with error: 0x800106d9 ?: How to fix WslRegisterDistribution failed with error: 0x800106d9 ?My Windows Specifications :Edition Windows 10 Pro Version 20H2 Installed on ‎12/‎22/‎2020 OS build 19042.867 Experience Windows Feature Experience Pack 120.2212.551.0 I have enabled the "Windows Subsystem for...
  8. Fix WslRegisterDistribution failed with error 0x80070032

    in Windows 10 News
    Fix WslRegisterDistribution failed with error 0x80070032: When upgrading from one version of WSL to the next, you may receive WslRegisterDistribution failed with error 0x80070032. This primarily occurs because you may not have enabled the Virtual machine platform. While the older version of WSL would work, the latest may not. This...
  9. WslRegisterDistribution failed with error: 0xc03a001a

    in Windows 10 Installation and Upgrade
    WslRegisterDistribution failed with error: 0xc03a001a: I'm sure i opened all settings about WSL The requested operation could not be completed due to a virtual disk system limitation. Virtual hard disk files must be uncompressed and unencrypted and must not be sparse. [ATTACH] [ATTACH]...
  10. Ubuntu - WslRegisterDistribution failed with error: 0x80070001

    in Windows 10 Installation and Upgrade
    Ubuntu - WslRegisterDistribution failed with error: 0x80070001: On Windows Server 2019 Standard (64bit OS) - Build 17763.615, when trying to install Ubuntu on WSL (by following https://docs.microsoft.com/en-us/windows/wsl/install-on-server), I have this error: Installing, this may take a few minutes... WslRegisterDistribution failed...