2.4 KiB
WSABuilds
Backup and Restore Userdata
Backing Up Your Userdata
In order to make a backup of your WSA data you must copy the Userdata.vhdx
(which includes, but is not limited Android Apps and their data, settings etc.), located at %LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\userdata.vhdx
, to a safe location
Restoring Your Backup
Before attempting to restore your backup, you must remove WSA if installed. Then before you run the Run.bat
script (to reinstall WSA after removing it), you need to remove these lines from Install.ps1
, located in the your extracted WSA folder:
The Lines (as shown below) that you need to remove in
Install.ps1
may vary depending on the type of WSA Build that you are trying to install.
Android Settings:
Start-Process "wsa://com.android.settings"
Official Magisk:
Start-Process "wsa://com.topjohnwu.magisk"
Magisk Delta:
Start-Process "wsa://io.github.huskydg.magisk"
Magisk Alpha:
Start-Process "wsa://io.github.vvb2060.magisk"
Google Play Store:
Start-Process "wsa://com.android.vending"
Amazon Appstore:
Start-Process "wsa://com.amazon.venezia"
After removing the lines above, run the script.
When the Powershell window states "Press any key to quit", at that time multiple dialogue boxes will open:
<-- -->
Important
Ignore these and do not click on anything or close these popups
Go to %localappdata%\Packages
and (if these folders/directory do not exist, create them) in MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\
paste the userdata.vhdx
Now close the popups and run WSA and your userdata should hopefully be restored