This article teaches you how to move Windows 11 Subsystem for Android installing path for system partition to other partition. Follow the tutorial, you’ll able to move all files of Windows 11 Subsystem for Android from one partition to another.
Since I installed Windows 11 Subsystem for Android, and then installed two Android games, my system partition free size turned to 9GB from 30GB. And then I dare not to install any more Android applications, unless using the partition software to resize the system partition for more free disk space. However, my computer has only two SSDs, one is 120GB and another is 240GB. All of them are not big enough.
But if I can move the default installation path of Windows 11 Subsystem for Android to another partition, that would be much better. And now, after the continuous study, I finally find the way to move the default installation path of Windows 11 Subsystem fro Android to another partition. Let’s see how to do it.
Windows 11 Subsystem for Android installing path customization Tutorial
The Android subsystem WSA user data is stored in the form of virtual disk vhdx in the following path: C:\Users\db\AppData\Local\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\userdata.vhdx. (Notice: Users\db db is your Windows 11 username, please change it) Someone suggests to move it in the application and function in the settings , But this operation only moved the wsa system files. These files are under C:\Program Files\WindowsApps. I am not sure if the user data is also moved to other disks. The installation software is installed in the path I mentioned above. In the userdata.vhdx image. We can use the windows mklink command to move.
First close wsa completely, cut the LocalCache folder of the system disk (note that it is cut, or delete the LocalCache of C drive after copying) to the directory you want to put in, such as the root directory of D drive, (if it cannot be moved, the wsa is working Runs in the background, the task manager stops or restarts the computer).
Press win+r, enter cmd to open the windows command prompt and enter mklink /J “C:\Users\db\AppData\Local\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache” “D:\LocalCache”. (the first address is the WSA original address, and the second one is the new address where you want to move it to.)
At this time, another LocalCache folder appears under the path of C:\Users\db\AppData\Local\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\, and there is a small arrow in the lower left corner of the folder, indicating that the mapping is successful.
After testing, the subsequent installation and deletion of the Android subsystem is to manipulate the userdata.vhdx virtual disk file in the LocalCache folder. The volume of this file will gradually increase with the installation and use of the software, and the subsystem of the C drive itself occupies the system The space will hardly change (subsystem upgrades and updates should change. At present, Microsoft has only released this version, and it has not been updated yet. I am not sure whether it will become larger or smaller).
At last, I am not sure that if we meet next update of Windows 11 Subsystem For Android from Microsoft, there will be problem or not. So doing this carefully unless you are quite sure that you really want to move it.