WSL Setup Guide (Beginner Friendly)

  1. 1. Remove Unwanted Software

    Go to Control PanelUninstall a Program and remove unused apps.

  2. 2. Install Windows Terminal Preview

    Open Microsoft Store and search for "Windows Terminal Preview" → Install it.

  3. 3. Enable WSL Features

    Open PowerShell as Administrator and run each of the following commands:

    dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
    dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
  4. 4. Download WSL Update

    Click to download WSL update file (.msi)
  5. 5. Enable Optional Feature (Again)

    Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
  6. 6. Install Ubuntu via WSL

    wsl --install -d Ubuntu-24.04
    
  7. 7. Open Ubuntu

    Search "Ubuntu" in the Windows search bar and open it. Wait for about 3 minutes.

    It will prompt you to create a username and password. The password will not be visible while typing.

    Tip: Keep both username and password the same. For example:

    username: suhail
    password: suhail
  8. 8. Setting Up Ubuntu

    Ensure that Ubuntu asks for username and password on first launch.

    If it doesn't, you may have made a mistake in the setup.

    Also, confirm that your prompt in the terminal shows your username in green.