https://answers.microsoft.com/en-us/windows/forum/all/need-permission-to-delete-folder-after-windows-10/bc9c59ce-d9c1-4ebf-9662-e0c8d4fb0007?auth=1
Take Ownership
Yes take ownership. Even though you are logged on as an Administrator, you can't change files that don't belong to you. The Program Files folder is set to the Trusted Installer group and the Administrator doesn't have the rights to change anything. So now we have to claim all the files and folders.
1) Open Windows Explorer
2) R-Click on Program Files -> Properties -> Security Tab
3) Click Advanced -> Owner
4) Click Edit
5) Select Administrators -> Put a checkmark in Replace owner on subcontainers & objects -> Apply
6) Wait a while.....
7) When it finishes, Click OK on all boxes to close everything