F5F Stay Refreshed Software Operating Systems Installation failed due to a Windows error code. Check your setup and try again.

Installation failed due to a Windows error code. Check your setup and try again.

Installation failed due to a Windows error code. Check your setup and try again.

M
MinecratBoss1
Member
107
01-24-2023, 09:33 AM
#1
Hello, I'm struggling to set up Linux on my Windows PC through the Windows Store for NextCloud. I've tried Ubuntu but haven't managed to install Ubuntu 20.04 LTS or 18.04 LTS. I enabled the Linux file system and spent around 45 minutes adjusting folder permissions to get full access. Since I'm very new to Linux, I'm unsure what I'm doing and have encountered issues with the ubuntu2004.exe file not launching properly, showing an error about access being denied. I've looked online for solutions but found only complicated threads that end when someone doesn't respond. Any advice or guidance would be greatly appreciated!
M
MinecratBoss1
01-24-2023, 09:33 AM #1

Hello, I'm struggling to set up Linux on my Windows PC through the Windows Store for NextCloud. I've tried Ubuntu but haven't managed to install Ubuntu 20.04 LTS or 18.04 LTS. I enabled the Linux file system and spent around 45 minutes adjusting folder permissions to get full access. Since I'm very new to Linux, I'm unsure what I'm doing and have encountered issues with the ubuntu2004.exe file not launching properly, showing an error about access being denied. I've looked online for solutions but found only complicated threads that end when someone doesn't respond. Any advice or guidance would be greatly appreciated!

B
Bmaster5026
Member
229
01-24-2023, 11:41 AM
#2
Run an update for Windows using the command prompt or PowerShell
B
Bmaster5026
01-24-2023, 11:41 AM #2

Run an update for Windows using the command prompt or PowerShell

L
60
01-24-2023, 05:22 PM
#3
The Linux distro you're setting up is already present. Launching the command prompt and running wsl.exe --list will display the installed distributions. It seems you've added the Virtual Machine feature under the Optional Features panel.
L
lovelydisaster
01-24-2023, 05:22 PM #3

The Linux distro you're setting up is already present. Launching the command prompt and running wsl.exe --list will display the installed distributions. It seems you've added the Virtual Machine feature under the Optional Features panel.

L
Lostrack
Junior Member
5
01-24-2023, 05:44 PM
#4
The WSL --list command shows no installed distributions. Yes, the virtual machine component wasn’t installed when you enabled WSL.
L
Lostrack
01-24-2023, 05:44 PM #4

The WSL --list command shows no installed distributions. Yes, the virtual machine component wasn’t installed when you enabled WSL.

O
OelMsi_10
Junior Member
39
01-24-2023, 08:26 PM
#5
It made a change, but it didn't execute afterward...
O
OelMsi_10
01-24-2023, 08:26 PM #5

It made a change, but it didn't execute afterward...

M
moe160
Member
150
01-24-2023, 10:28 PM
#6
Activate Virtual Machine. You require both options. If you prefer the current modern approach still in preview, simply enable Virtual Machine, then obtain WSL2 from the Store: https://www.microsoft.com/store/productId/9P9TQF7MRM4R. Choose your Linux distribution from the Store. The updated feature in preview aims to be more suitable for enterprises, letting WSL updates occur independently from Windows.
M
moe160
01-24-2023, 10:28 PM #6

Activate Virtual Machine. You require both options. If you prefer the current modern approach still in preview, simply enable Virtual Machine, then obtain WSL2 from the Store: https://www.microsoft.com/store/productId/9P9TQF7MRM4R. Choose your Linux distribution from the Store. The updated feature in preview aims to be more suitable for enterprises, letting WSL updates occur independently from Windows.

M
mikeltxi1
Member
190
01-31-2023, 01:26 AM
#7
I've turned on the Virtual Machine Platform, restarted and tried to launch it but the same error persists. Searching for Ubuntu in the Windows search shows all three Microsoft Store versions, yet clicking repeatedly yields no results. Would it be wise to try an alternative approach? Edit: Reviewing the link you mentioned, the system currently running isn't compatible with Windows 11 (i5 7600K), which seems required for it to function.
M
mikeltxi1
01-31-2023, 01:26 AM #7

I've turned on the Virtual Machine Platform, restarted and tried to launch it but the same error persists. Searching for Ubuntu in the Windows search shows all three Microsoft Store versions, yet clicking repeatedly yields no results. Would it be wise to try an alternative approach? Edit: Reviewing the link you mentioned, the system currently running isn't compatible with Windows 11 (i5 7600K), which seems required for it to function.

Y
yJaaoxD
Member
203
02-01-2023, 01:16 PM
#8
Consider this unusual approach. Try launching the command prompt and running: wsl --shutdown. Uninstall any installed distro via Settings > Apps Disable Windows Subsystem for Linux from Optional Features. If prompted, restart the system. Next, access the Store to get Windows Subsystem for Linux Preview at the provided link. Then, install Ubuntu from the Store using the same link. After installation, open the Start menu and run Ubuntu following the on-screen steps. Proceed with the update commands: sudo apt update and sudo apt upgrade. This should prepare your system for use.
Y
yJaaoxD
02-01-2023, 01:16 PM #8

Consider this unusual approach. Try launching the command prompt and running: wsl --shutdown. Uninstall any installed distro via Settings > Apps Disable Windows Subsystem for Linux from Optional Features. If prompted, restart the system. Next, access the Store to get Windows Subsystem for Linux Preview at the provided link. Then, install Ubuntu from the Store using the same link. After installation, open the Start menu and run Ubuntu following the on-screen steps. Proceed with the update commands: sudo apt update and sudo apt upgrade. This should prepare your system for use.