Symptoms
After running the VMware Optimization Tool, UWP Apps which are natively installed as part of the Windows operating system are missing for all users. These are Calculator, Calendar, Mail, Cortana, Maps, News, OneNote, Groove Music, Camera to name the most commonly known apps.Once this happens, users are no longer able to access these apps and are required to manually install them via the Microsoft store which can cause issue due to permissions that may restrict the user from doing so.https://techzone.vmware.com/resource/windows-os-optimization-tool-vmware-horizon-guide
Purpose
Once the optimization tool has been run, it is not possible to revert these changes so this KB provides a method of doing so.
Cause
This is caused by the VMware Optimization Tool removing the feature.
Impact / Risks
This causes the users not to have access to native apps from Microsoft Windows.
Resolution
There are two methods of resolving this issue:1. Open powershell as admin from the Windows Start Menu on the parent image and paste in the following command, then hit enter.
Get-AppxPackage -allusers | foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
Reboot and confirm the apps have been restored.This should restore the apps for all users.Take a snapshot and push it to the pool to take effect on all vdi's if you are running Instant clones.Update your template if you are using full clones and rebuild the machines.2. The second method is to do an online rebuild of the parent image through powershell run as admin with the below command and repeat the same process as above for the changes to take effect.DISM /Online /Cleanup-Image /RestoreHealth