Take ownership of folder 'C:\Program Files\WindowsApps'.
Open View Hidden
Give your windows user account and account 'ALL APPLICATION PACKAGES' full security permissions to folder 'C:\Program Files\WindowsApps'.
Choose own pc name to add account
Run powershell as administrator
type: Set-ExecutionPolicy Unrestricted
press enter
Reinstall all apps:
type: Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
press enter
Remove the security permissions for your userid from 'C:\Program Files\WindowsApps'.
Give ownership of folder 'C:\Programs Files\WindowsApps' back to 'NT SERVICE\TrustedInstaller'.