Reinstalling Windows 10 apps on an Enterprise Computer

You may be presented with an issue where one of your computer users "accidentally" deletes one of the Microsoft default Apps on a Windows 10 device. These are instructions on how to reinstall the deleted application(s) on an Enterprise domain connected device, where typically the Microsoft Store is disabled.

*Ensure that you completed a backup of the system before completing these steps.
*These instructions were completed on a source computer running Windows 10 1803.
*These instructions were completed on a destination computer running Windows 10 1709.

Changing the Permissions of the WindowsApps Folder

Complete the following on both the source and destination computers.

Open the Windows File Explorer and navigate to "C:\Program Files"

In the menu ribbon click on View and place a check mark next to Hidden items. This will show hidden files and folders.

You should now see the WindowsApps folder.

Right-click on the WindowsApps folder, and select properties.

The WindowsApps Properties window will appear, select the Security tab.

Under the Security tab click on the Advanced button.

You need to change the owner of the folder, select the Change hyperlink.

Enter a verified domain or local user to take ownership of the folder. Ensure to click the Check Names button to verify the user.

If the user verifies then click OK to proceed.

In the Advanced Security Settings for WindowsApps windows, place a check by Replace owner on subcontainers and objects, press OK to apply the current settings.

Wait for the Ownership change to interate through all the subcontainers and objects of the WindowsApps folder.

Click on the Advanced button again.

Click on the Change permissions.

Click Enable inheritance.

Click Add.

Click Select a principal, and choose the user you just added as the owner of the WindowsApps folder.

Select the desired permissions, for the sake of the example I selected Full Control, but you can select Modify.

Press OK.

Press OK again to apply the permissions.

Press OK a final time to close the WindowsApps Properties windows.

Replacing the WidowsApps Folder

Now that the permissions have been changed on both the Source and Destination computers. You need to copy and replace the WindowsApps folder on the Source and Destination computers.

On the Source copy the WindowsApps folder.

Paste the Source WindowsApps folder in the Destination computer.

*I ended up copying the Source to a network share. Then copy and pasting from the network share to the "C;\Program Files" folder on the destination computer.

Reinstall all Windows 10 Default Apps

To reinstall all WIndows 10 default AppxPackage applications run the following PowerShell command:

Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

To reinstall a specific Windows 10 default AppxPackage application run the following PowerShell command:

Add-AppxPackage -register "C:\Program Files\WindowsApps\PackageCodeName\appxmanifest.xml" -DisableDevelopmentMode

Finally, check to see if the missing application(s) are now showing. You should now see the missing application(s) available to use.

comments powered by Disqus