Share via


How to re-provision a Windows 10 App?

Question

Friday, September 16, 2016 11:52 AM

Hi, in doing some testing on our image and I uninstalled many unwanted/unneeded apps an by running these cmds:

Remove-AppxPackage -package PackageFullName

followed by

Remove-AppxProvisionedPackage -online -packagename.PackageFullName

The above cmds work great, but the problem is I am not able to reinstall the app and have it open.

Using Microsoft.Windows.Photos as an example. I've tried various cmds with Add-AppxProvisionedPackage and Add-appxpackage but the best I am able to get Microsoft.Windows.Photos reinstalled, but it never launches. It closes in a second.

If I try to install the Microsoft.Windows.Photos from the app store everything works fine.

Is there any way to get this app installed using powershell?

All replies (5)

Friday, September 16, 2016 3:24 PM âś…Answered

If you can find them in Windows Store, reinstall the apps from there.


Friday, September 16, 2016 2:22 PM

Use this tutorial
How to Reinstall and Re-register All Built-in Windows Apps in Windows 8 and 10

If you ONLY want 1 or 2 apps reinstalled, use Option Two.****


Friday, September 16, 2016 3:14 PM

Thanks, but the problem is that the installlocation is empty for the application I want to reinstall.

The folders for the app in app in question is no longer found in C:\program files\windowsapps

I've added the folder back from the install.wim but the app never launches.


Monday, July 1, 2019 8:10 PM

What if the Windows Store is the app that is missing from the "C:\Program Files\WindowsApps" folder?


Tuesday, July 2, 2019 7:30 AM

You need the "Inbox Apps" ISO from the volume licensing centre, for the build in question. Extract that somewhere, then use DISM to re-install the Store from its .appxbundle file:

dism.exe /online /Add-ProvisionedAppxPackage /packagepath:[path to extracted \iso]\Microsoft.WindowsStore_8wekyb3d8bbwe.appxbundle /skiplicense /norestart /quiet

(NB, I've not actually tried this with the Store as we currently disable that rather than actually removing it. We have done it with other built-in apps such as Onenote though, and the appxbundle file for the store is on the Inbox Apps ISO.)