New
#41
This Works!
I know this is an old post but these problems still exist as of this day so am posting this soulution that worked for me, for others who may still come looking for it:
Firstly the “file does not exist error “ occurs cuase the windosapps folder is located as a hidden system folder at “C:\Program Files\WindowsApps\“ and not at the “C:\windows“ or the root of the drive.
First get the correct package name & correct folder path to be used in the PS command below:
You can either do this by physically going to C:\Program Files\WindowsApps\ & serching the correct app folder or you can use this command Get-Appxpackage –Allusers , but i prefer just copy pasting the full path from the address bar by navagating to the correct app folder itself. If you have already run the remove all apps command it will also be in the C:\Program Files\WindowsApps\DeletedAllUserPackages folder
to reinstall the windowsStore or any other preinstalled windows app, use this comand but dont forget to enclose the word “Program Files” in quotes or you will get an error & paste in the correct app folder path - am assuming yours will be a diffrent package name based on the version of windows etc .
Add-AppxPackage -DisableDevelopmentMode -Register $Env:C:\“Program Files”\WindowsApps\Microsoft.WindowsStore_11804.1001.10.0_x64__8wekyb3d8bbwe\AppxManifest.XML
If it moves to the next line without error - its been reinstalled sucessfully.
I had to reinstall the store & a few other apps that I really wanted caus I first ran this command below after a fresh install to remove all the windows preinstalled crapware apps that I ddnt really need :
TO REMOVE ALL PREINSTALLED APPS (*INCLUDING WindowsStore)
Get-AppxPackage -AllUsers | Remove-AppxPackage
HERE ARE SOME OF THE COMMON ONES THAT YOU CAN INDIVIDUALLY REMOVE, IF YOU DONT WANT TO REMOVE EVERYTHING AT ONE GO:
Get-AppxPackage *3dbuilder* | Remove-AppxPackage
Get-AppxPackage *windowsalarms* | Remove-AppxPackage
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage *officehub* | Remove-AppxPackage
Get-AppxPackage *getstarted* | Remove-AppxPackage
Get-AppxPackage *zunemusic* | Remove-AppxPackage
Get-AppxPackage *windowsmaps* | Remove-AppxPackage
Get-AppxPackage *solitairecollection* | Remove-AppxPackage
Get-AppxPackage *bingfinance* | Remove-AppxPackage
Get-AppxPackage *zunevideo* | Remove-AppxPackage
Get-AppxPackage *bingnews* | Remove-AppxPackage
Get-AppxPackage *people* | Remove-AppxPackage
Get-AppxPackage *windowsphone* | Remove-AppxPackage
Get-AppxPackage *bingsports* | Remove-AppxPackage
Get-AppxPackage *soundrecorder* | Remove-AppxPackage
Get-AppxPackage *bingweather* | Remove-AppxPackage
Get-AppxPackage *xboxapp* | Remove-AppxPackage