5

I've been exploring ways to remove "features" included with Windows 10. One of the ways that I've been looking at is this gem:

Get-AppxPackage | Select Name, PackageFullName
Get-AppxPackage | Remove-AppxPackage

Get-AppxProvisionedPackage -online | Select DisplayName, PackageName
Get-AppxProvisionedPackage -online | Remove-AppxProvisionedPackage -online

Part one shows the packages... Part two removes them. All of them. cackles with glee

The kicker is that this removed the Windows Store app. That currently doesn't bother me. I might change my mind and want to use the Windows Store in the future.

How can I restore an app that has been uninstalled and removed from ProvisionedPackages? Can I install via DVD? Download? Email from Bill Gates (that also promises 100$ for forwarding it)?

Edit #1: Empty Folders

Looking at other questions/answers, it seems that people expect the files needed to be located in C:\Program Files\WindowsApps. From my best guess, the Get-AppxPackage | Remove-AppxPackage completely removes the App from that folder. I've looked at other folders (C:\Windows\SystemApps, C:\User\<user>\AppData\Local\Packages\Microsoft.WindowsStore*, etc) and I do not see the application anywhere on the disk.

Edit #2: Copied app from another machine

I've copied the Application from another machines C:\Program Files\WindowsApps\... folder (after taking ownership on both machines and jumping through the proper hoops) (also: I've removed ALL removable apps/provisionedapps EXCEPT Windows Store on that machine and the App Store still opens).

Using this:

Add-AppxPackage -DisableDevelopmentMode -Register 
    "C:\Program Files\WindowsApps\Microsoft.Window sStore_2015.722.24.0_neutral_~_8wekyb3d8bbwe\AppxMetadata\AppxBundleManifest.xml "

The app initially refused to open. I assume that a full reboot cleared it up, because the Store works now.

  • Welcome to our team. :) superuser.com/questions/949112/… – Badiboy Aug 3 '15 at 7:01
  • I'll have to check C:\Program Files\WindowsApps tonight and see if anything is there... I know C:\Windows\SystemApps didn't have it and, like that question, I didn't see App files located that I could place my finger on. – WernerCD Aug 3 '15 at 12:19
  • 1
    @Badiboy Yeah, looking through the various App folders I know of (C:\Windows\SystemApps, C:\Program Files\WindowsApps, etc), the Microsoft.WindowsStore folder doesn't exist. Remove-AppxPackage blows it away. I've copied the folder from a VM, reregistered it and it doesn't open. – WernerCD Aug 4 '15 at 13:50
  • That's sad. :( Even with "Add-AppxPackage..." advice from my question? – Badiboy Aug 4 '15 at 14:18
  • 1
    @Badiboy Either I'm a liar or time heals all wounds. It seems that copying the folder and waiting (or rebooting?) got the Store working again. – WernerCD Aug 5 '15 at 2:02
4

Solution #1: Copy C:\Program Files\WindowsApp\Microsoft.WindowsStore...\* from another computer.

  1. Get Access to WindowsApps on both "Broken" computer and a "Working" computer
  2. Copy Microsoft.WindowsStore from A to B
  3. Use this:

    Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_2015.722.24.0_neutral_~_8wekyb3d8bbwe\AppxMetadata\AppxBundleManifest.xml"

  4. Reboot?

When I did this initially the app store closed upon opening. It was the next day, presumably after rebooting, that the Windows Store started working again.

I'd still prefer some sort of "Download the app from Microsoft" solution, but this (copy from another Microsoft computer) is close.

  • Good news, bro! I'll try this later because I need to get Win10 distrib for getting "Working" computer... – Badiboy Aug 5 '15 at 7:46
  • My way was longer then yours (superuser.com/questions/949112/…), but finally I found the sweet home. :) – Badiboy Aug 5 '15 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.