0

Yesterday I updated Windows to 1709 and now I can't install WSL without WindowsStore, so I'm looking for a way to restore or reinstall the deleted WindoiwsStore app.

WindowsStore app was deleted before release upgrade using:

Get-AppxPackage *windowsstore* | Remove-AppxPackage
Get-AppxProvisionedPackage -Online | Where-Object PackageName -like "*windowsstore*" | ForEach { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName }

There now no WindowsStore package folder in C:\Program files\WindowsApps, so method:

Get-AppxPackage -allusers | where-object PackageFullName -like "*windowsstore*" | foreach {Add-AppxPackage -register ("C:\Program Files\WindowsApps\"+$_.PackageFullName+"\appxmanifest.xml") -DisableDevelopmentMode}

don't work.

Slipeer
  • 682
  • 2
  • 8
  • 24
  • Recover the folder from shadowcopy [Accidentally Deleted SystemApps, WindowsApps or Local Packages. How to Recover?](http://www.winhelponline.com/blog/restore-deleted-systemapps-windowsapps-packages/), and then run the PowerShell command. – w32sh Oct 25 '17 at 07:36
  • @w32sh thanks for suggestion, but there is no shadow copy with WindowsStore app. This app removed maoutn ago, and after it i receive two Windows release upgrades. – Slipeer Oct 25 '17 at 07:49
  • @ Slipeer, let's confirm if the provisioned package is exists in your current Windows firstly. Run Get-AppXProvisionedPackage -online >c:\applist.txt powershell command to list all provisioned package. – Waka Oct 25 '17 at 08:02
  • @KarenHu i was remove provisioned package WindowsStore I already wrote about this. This packege not listed in command that you provide. – Slipeer Oct 25 '17 at 08:10
  • @Slipeer, you remove it before upgrading, i just want to let you confirm if it available after upgrade, If no, there is no way unless reinstallation. – Waka Oct 26 '17 at 08:09
  • @KarenHu it's unavaible after upgrade. I search way to reinstall it. – Slipeer Oct 26 '17 at 08:31
  • @Slipeer, unless you have the full Windows Store provision package, you cannot reinstall it. Thereby I suggest you back up all data and re-clean install. – Waka Oct 27 '17 at 01:37
  • After long searching; the simplest solution [here](https://superuser.com/a/1449292/900431), even without provisioning –  Jun 16 '19 at 07:59

0 Answers0