Hi,
Try to follow the instructions below to restore or reset the default permission for your folder.
https://winaero.com/how-to-restore-the-trustedinstaller-ownership-in-windows-10/#comment-22087
You mentioned that you have tried icacls command. If these don't work, I consider that you may try to use a Windows installation media to help repair. Please refer to the link below.
https://superuser.com/questions/1288014/reset-default-acls-for-c-program-files-windowsapps
Hope this helps and please help to accept as Answer if the response is useful.
Best Regards,
Carl
Help i can't use any Windows apps anymore because changing ownership/permission
Recently I changed the ownership folder "Windowsapps" to me, now I want to change the ownership to the default but when I change it I can't open some windows apps, some can open (Realtek audio console, ARMOURY CRATE, DTS Headphone:x V1), some can't be opened (MyAsus, Asus keyboard hotkeys, dll) , and some even get an error notification (the parameter is invalid) When I want to open it, I've been looking for a lot of online solutions to reset the ACL "Windowsapps" folder but the results are still the same, I still can't open windows apps, I've tried methods, namely icacls, cacls, and others but the results are still the same, PLEASE HELP! ![82068-screenshot-829.png][1] [1]: /api/attachments/82068-screenshot-829.png?platform=QnA
3 answers
Sort by: Newest
-
Carl Fan 6,836 Reputation points
2021-03-30T09:00:06.91+00:00 -
Kapil Arya 7,756 Reputation points MVP
2021-03-27T14:44:56.327+00:00 Hello,
The default owner for WindowsApps folder is TrustedInstaller. So make sure you restore ownership only to TrustedInstaller. While restoring ownership, use the object name for TrustedInstaller as NT Service\TrustedInstaller.
You can refer this guide for steps:
https://www.kapilarya.com/restore-windowsapps-folder-owner-to-trustedinstaller
Hope this helps!
Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.
-
Reza-Ameri 16,836 Reputation points
2021-03-27T14:31:49.017+00:00 Take a look at:
Try open the Command prompt as administrator and type the following command:
sfc /scannow
And press enter and let it runs.