
OR if cacls is not accesible, use icacls. Here is answer I found that worked for me (Win10 and Win11 21H2) and didn't cause any troubles (at least troubles i know about)įirstly open the Command Prompt with Administrative PrivilegesĮnsure that you have ownership of WindowsApps folder by running next command It will remove special conditional permissions from folder and give it windows default and inherited ACLs which is should not be done to WindowsApps.


First of all DO NOT USE icacls "C:\Program Files\WindowsApps" /reset /t /c /q.
