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
  • 742

1 Answers1

0

not sure if this will help but one thing I found out while working on Get-AppxPackages recently is that there is a folder path that contains deleted Windows Apps. Why don't you try running your command with the different folder path and see what you get in return?

"C:\Program Files\WindowsApps\DeletedAllUserPackages\Microsoft.BingWeather_4.25.20211.0_neutral_split.scale-150_8wekyb3d8bbwe\AppXManifest.xml