I had to take ownership of the special folder C:\Program Files\WindowsApps
to fix a problem with icons. The issue is now resolved, so I'd like to reset the permissions to the way they were before I took ownership of the folder.
I reverted NT SERVICE\TrustedInstaller
to the owner and removed my account's permission entries:
But I still have full control of the folder and can browse the folder in Explorer without getting the usual warning that I would have to take ownership:
Is it possible to restore the default permissions of this folder?