Hi,
Thank you for writing to Microsoft Community Forums.
Please note that it is not advised to make any changes in the WindowsApps folder, as it can cause issues while using the pre-installed apps. However, to be on a safer side you can always create a system restore point to restore the PC to the state where everything was working fine. Refer the article to Create a system restore point
Kindly follow the steps mentioned below to take ownership of WindowsApps folder.
- Click on the Search Bar on the left hand side of the Taskbar.
- Now type CMD, right click on it, and select Run as Administrator.
- Type in the following command: icacls "%ProgramFiles%\WindowsApps" /grant Administrators:F
- Once the above command is successfully executed run the following command: icacls "%ProgramFiles%\WindowsApps" /grant Administrators:F /t
- Type Exit and hit enter.
- Restart the PC.
After the restart you should be able to make changes inside the WindowsApps folder.
If the issue persists, please get back to us with the results of troubleshooting steps to assist you better.
Regards,
Prakhar Khare
Microsoft Community – Moderator