We have a shared folder on our Windows Server (running Server 2012 R2). Someone managed to change the permissions on several sub-folders (a few levels down from the top of the share), and now the server admins are unable to access the folders, change the permissions/ownership, or even see the permissions.
Using Properties in Windows Explorer, the Security tab says "You must have Read permission to view the properties of this object." The Advanced options don't help either, with the same no-permissions error. Also, it says "Unable to display the current owner", and the Change Owner option doesn't work (no permission).
Using the Properties & Security of the parent folder to "Replace all child permission entries" didn't work either.
I've opened a Command Prompt running as an Admin, and tried using the
icacls commands, but neither one is working.
>takeown /a /f foldername ERROR: Access is denied. >icacls foldername /reset /t /c foldername: Access is denied. Successfully processed 0 files; Failed processing 1 files
(Foldernames removed to protect the innocent.)
Any suggestions on other ways to take ownership back and/or reset the permissions? The server is a VM running in the IT Data Center, so booting into Safe Mode isn't really an option.