Can't install WSL, open Windows Installer window .

Edward Jorge Pacheco Gomes 0 Reputation points
2025-03-06T21:56:01.8066667+00:00

User's image

User's image

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,835 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mars Shan-MSFT 235 Reputation points Microsoft External Staff
    2025-03-07T02:25:26.7766667+00:00

    Hello,

    You are encountering issues while trying to install the Windows Subsystem for Linux (WSL). Below are some recommendations and steps to help you resolve this issue:

    1.Enable WSL Feature:

    Open PowerShell as Administrator.

    Run the following command to enable the WSL feature:

    dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

    2.Enable Virtual Machine Platform:

    In the same PowerShell window, run:

    dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

    Restart your computer after running these commands.

    3.Install WSL from Microsoft Store:

    Open the Microsoft Store and search for "Windows Subsystem for Linux".

    Install a Linux distribution like Ubuntu, which will also install WSL if it is not already installed.

    4.Update to WSL 2:

    After installing a Linux distribution, you can update to WSL 2 by running:

    wsl --set-default-version 2

    Check Windows Version:

    5.Ensure your Windows version supports WSL 2. You need at least Windows 10, version 1903 or higher.

    If the Windows Installer window opens but does not proceed, ensure that your system meets all the requirements and that there are no conflicting software or corrupted system files. Running a system file check might help:

    sfc /scannow


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.