How to Root Windows Subsystem for Android (WSA)

The Windows Subsystem for Android (WSA) allows Windows 11 users to run Android apps directly on their PC. It creates a virtual Android environment integrated with Windows, enabling you to install apps from the Amazon Appstore or sideload APK files.

However, by default, WSA does not provide root access, which means you cannot modify system files or use apps that require root privileges. Rooting WSA gives you advanced control over the Android environment, allowing you to install root-only apps, modify system settings, and customize the subsystem more deeply.

Rooting WSA typically involves installing a pre-rooted version of WSA that includes tools such as Magisk, which provides systemless root access.

If you want to root Windows Subsystem for Android, follow the steps below.

How to Root Windows Subsystem for Android

Follow these steps carefully to install a rooted version of WSA on Windows 11.

1. Uninstall the Existing Windows Subsystem for Android

Before installing a rooted version, remove the existing WSA installation.

  1. Press Windows + I to open Settings.
  2. Go to Apps > Installed apps.
  3. Locate Windows Subsystem for Android.
  4. Click the three-dot menu and select Uninstall.

This ensures there are no conflicts with the modified version.

2. Enable Required Windows Features

WSA requires certain virtualization features to run.

  1. Press Windows + S and search for Turn Windows features on or off.
  2. Enable the following features:
    • Virtual Machine Platform
    • Windows Hypervisor Platform
  3. Click OK.
  4. Restart your computer.

These features allow Windows to run the Android subsystem.

3. Download a Pre-Rooted WSA Package

To root WSA, you need a modified package that includes Magisk.

  1. Visit a trusted repository such as GitHub WSA builds with Magisk.
  2. Download the WSA with Magisk root package.
  3. Extract the downloaded ZIP file to a folder on your computer.

This version of WSA includes root support.

4. Install the Rooted WSA Package

You will install the modified WSA using PowerShell.

  1. Open the extracted WSA folder.
  2. Right-click inside the folder.
  3. Select Open in Terminal or Open PowerShell window here.
  4. Run the installation script included with the package.

The script will install the modified WSA with root access.

5. Enable Developer Mode in WSA

Once WSA is installed, enable developer mode.

  1. Open Windows Subsystem for Android Settings.
  2. Turn Developer mode On.
  3. Copy the IP address displayed in the settings.

Developer mode allows you to connect Android debugging tools.

6. Connect Using ADB

ADB (Android Debug Bridge) is used to communicate with the Android subsystem.

  1. Open Command Prompt or Windows Terminal.
  2. Run the command:
adb connect 127.0.0.1:58526
  1. Press Enter.

This connects your system to the Android subsystem.

7. Install and Use Magisk

Magisk provides root management inside WSA.

  1. Open the Magisk app in the Android subsystem.
  2. Complete the setup if prompted.
  3. Restart the subsystem.

You now have root access in Windows Subsystem for Android.

Conclusion

Rooting the Windows Subsystem for Android (WSA) allows advanced users to gain full control over the Android environment running inside Windows 11. By installing a modified version of WSA with Magisk, you can run root-only apps, modify system components, and customize the Android subsystem.

However, rooting WSA may reduce system stability or security, so it is recommended mainly for developers and advanced users who need deeper control over the Android environment.

Posted by Raj Bepari

I’m a digital content creator passionate about everything tech.