MagiskOnWSA/docs/Guides/MoveToExtDrive.md
This guide goes through a method by which you can install WSA from another disk and to store the data in that drive (instead of %LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe).
Note
If you want to preseve your data, make a backup of the
%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\userdata.vhdxfile. After uninstalling, copy the VHDX file back to the%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCachefolder.
To remove WSA installed through WSABuild:
1.) Make sure that Windows Subsystem For Android™ is not running
2.) Search for Windows Subsystem For Android™ Settings using the built-in Windows Search, or through Add and Remove Programs and press uninstall
3.) Delete the WSA folder that you extracted and Run.bat was run from to install WSA (MagiskOnWSA folder)
4.) Go to %LOCALAPPDATA%/Packages/ and delete the folder named MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe
To remove WSA installed from the Microsoft Store:
Windows Subsystem For Android™ Settings using the built-in Windows Search, or through Add and Remove Programs and press uninstallRun.bat1.) Go to %LOCALAPPDATA%\Packages\ and copy the folder named MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe to the desired drive/partition, making sure to delete the folder from %LOCALAPPDATA%\Packages\ after copying
2.) Open Command Prompt (Admin) through Windows Terminal (Admin) or directly and run the command:
mklink /J "%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe" "Location_Of_Folder_In_Other_Drive"
Replacing Location_Of_Folder_In_Other_Drive with the location of the folder named MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe, copied to the desired to the drive/partition in 1st point of Step 3