Prerequisites
Backup Your Data
If you want to preserve your apps and data, backup this file before uninstalling:After reinstalling, copy the VHDX file back to the same location.
Process Overview
The process involves three main steps:- Remove existing WSA installation
- Install WSA from the desired partition
- Create a symbolic link to redirect AppData
Step 1: Remove Previous WSA Installation
- WSABuilds Installation
- Microsoft Store Installation
Stop WSA
Ensure Windows Subsystem for Android is not running:
- Open WSA Settings
- Click Turn off in the shutdown section
- Wait for WSA to completely stop
Uninstall WSA
- Search for Windows Subsystem For Android Settings in Windows Search
- Right-click and select Uninstall
- Open Settings > Apps > Installed apps
- Find Windows Subsystem for Android
- Click the three dots and select Uninstall
Delete Installation Folder
Delete the WSA folder where you extracted the build and ran
Run.bat (usually named MagiskOnWSA or similar).Step 2: Install WSA on Target Drive
Download WSA Build
Download the latest WSABuilds package according to your Windows version and CPU architecture from the Downloads page.
Extract to Target Drive
Extract the downloaded WSA build to your desired partition or drive.Example locations:
D:\WSA\E:\Programs\WSA\F:\Android\WSA\
Run Installation
- Navigate to the extracted folder
- Right-click Run.bat
- Select Run as administrator
- Wait for the installation to complete
Step 3: Move AppData to Target Drive
Even though WSA is installed on another drive, Windows still creates AppData (including the VHDX) on your C: drive by default. Use symbolic links to redirect this.Copy AppData Folder
- Press Win + R and navigate to:
- Copy the folder named:
- Paste it to your target drive (e.g.,
D:\WSA\AppData\) - Important: After copying successfully, delete the original folder from
%LOCALAPPDATA%\Packages\
Step 4: Verify Everything Works
Check Storage Location
- Navigate to your target drive location
- Go to the AppData folder you copied
- Check the
LocalCachesubfolder - Verify
userdata.vhdxis present and growing as you use WSA
Install a Test App
Install an app using your preferred sideloading method to confirm everything is working correctly.
Understanding the Setup
After completing this guide, your WSA installation will be split across drives:Storage Tips
Monitor VHDX size
Monitor VHDX size
The
userdata.vhdx file grows as you install apps and store data. Monitor its size:- Navigate to your target drive AppData location
- Go to
LocalCache\folder - Right-click
userdata.vhdxand check Properties
Cleaning up space
Cleaning up space
To free up space within WSA:
- Uninstall unused apps
- Clear app caches
- Delete downloaded files in Android
- Empty Android trash/recycle bin
Multiple WSA installations
Multiple WSA installations
You cannot run multiple WSA installations simultaneously, but you can:
- Keep different builds in different folders
- Switch between them by uninstalling and reinstalling
- Swap VHDX files to switch between different data sets
Backup strategy
Backup strategy
Regular backups of
userdata.vhdx are recommended:- Turn off WSA completely
- Copy
userdata.vhdxto a backup location - Store with a date identifier (e.g.,
userdata_2024-01-15.vhdx)
Troubleshooting
Can't delete AppData folder
Can't delete AppData folder
- Ensure WSA is completely stopped
- Close any File Explorer windows showing WSA folders
- Restart your computer and try again
- Use Task Manager to end any remaining WSA processes
Symbolic link creation failed
Symbolic link creation failed
- Ensure you’re running Command Prompt as Administrator
- Verify the original folder was deleted first
- Check path syntax (use quotes if path contains spaces)
- Confirm target drive is NTFS formatted
Performance issues on new drive
Performance issues on new drive
- Verify target drive is not fragmented (defrag if HDD)
- Check drive health using CrystalDiskInfo or similar
- Consider moving back to SSD if using HDD
- Ensure drive connection is not bottlenecked (USB 2.0 vs USB 3.0)
WSA Settings crashes after move
WSA Settings crashes after move
Start over carefully:
- Uninstall WSA again
- Delete the symbolic link:
rmdir "%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe" - Delete target drive folders
- Follow the guide again step-by-step
Need Help?
Join the WSA Community Discord for assistance if you get stuck
