While the Windows Phone ecosystem has officially reached its end of life, many enthusiasts and collectors still use these devices for nostalgia, specialized tasks, or testing. Because the official Microsoft Store for Windows Phone 8.1 and Windows 10 Mobile is no longer functional, downloading and sideloading .xap and .appx files via a PC is the only way to keep these devices alive.
There are a few methods to download XAP and APPX files to your PC:
Part 4: Method Two – The Windows Phone Archive & Lumia Firmware (Best for Manual Search)
If you do not want to fiddle with network proxies, use community archives. These sites have cataloged tens of thousands of XAP/APPX files.
for %%f in (*.xap) do (
WPV_XAP_Deployer.exe /install "%%f"
)