Windows Subsystem for Linux (WSL) will not install any Linux Distro

Will James 0 Reputation points
2023-09-17T12:57:45.4233333+00:00

I am using a Windows PC with the following specs:

Edition: Windows 11 Home

Version: 23H2

OS build: 22631.2338

Experience: Windows Feature Experience Pack 100.22674.1000.0

Processor: Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz 2.90 GHz

Installed RAM: 16.0 GB

System type: 64-bit operating system, x64-based processor

I have been unable to successfully install any Linux distribution, either via the Microsoft Store or from command prompt. On command prompt (run as admin), the command 'wsl --install -d <distro>' returns the error code "0x80070005". Same for Microsoft Store.

I managed to successfully install Ubuntu by downloading the .AppxBundle file (link from https://learn.microsoft.com/en-us/windows/wsl/install-manual, specific link https://aka.ms/wslubuntu),,"aka.ms") but when I try to run it I get the error message:

"Windows cannot access the specified device, path or file. you may not have the appropriate permissions to access the item".

I have tried updating the permissions of the root folder ("C:\Program Files\WindowsApps\CanonicalGroupLimited.Ubuntu_2204.1.7.0_x64__79rhkp1fndgsc") to no avail.

I have ensured that the "Windows Subsystem for Linux" and "Virtual Machine Platform" Windows Features are enabled and made sure that the WSL version is set to '2' with the command "wsl --set-default-version 2" in admin command prompt.

I even went into the BIOS settings of my PC ensured that my Intel CPU has the setting for allowing 'virtualisation' enabled.

I'm open to any suggestions.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
6,055 questions
0 comments No comments
{count} votes