I was recently trying to apply some security settings to a folder in Windows. When I clicked
OK or
Apply I had a
Error Applying Security - Failed to enumerate objects in the container. Access is denied error for every single file in the folder. Very annoying!
I did some hunting around and came across
this article. In this article, the author was unable to delete a folder, but the same process fixes the security/permissions error I was having. The commands are:
- Open the command window running as administrator
- Run the following commands on the folder in question:
takeown /f "C:\My Folder Path Here" /r /d y
icacls "C:\My Folder Path Here" /grant administrators:F /T
Sorted :) The permissions were then successfully applied.
No comments:
Post a Comment