Under Windows 8.1 64-bit, I have an application installed in c:\program files. The administrator account does not have access to the folder, and what is worse the administrator account is unable to take control of the folder. When you go into Advanced Security Settings and try to "Change" ownership, you get:
"You do not have permission to view or edit this object's permissions settings."
I looked at the cacls.exe utility that comes with Windows and from the command line tried to give the local administrator account Full access to the folder. I get an "Access Denied" message. This was executed from a command window that was elevated permission, so it's strange.
I tried these commands as well, which also failed with access denied when executed in an elevated privilege command line:
icacls foldername /reset
icacls foldername /inheritance:e
How can I regain control of the f