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.
PowerShell (run as admin) doesn't even recognise wsl
as a command, returning:
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 wsl CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException
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) 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.
WindowsApps
. Maybe this tool will undo the damage.