Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

failed to enumerate objects in the container access is denied windows 10

//Execute the following commands, pressing the Enter key in-between each command. Make sure to replace “FULL_PATH_HERE” with the path to your affected file or folder.

takeown /F X:FULL_PATH_HERE
takeown /F X:FULL_PATH_HERE /r /d y
icacls X:FULL_PATH_HERE /grant Administrators:F
icacls X:FULL_PATH_HERE /grant Administrators:F /t

//Close the Command Prompt and try changing the permissions for the file or folder affected.
 
PREVIOUS NEXT
Tagged: #failed #enumerate #objects #container #access #denied #windows
ADD COMMENT
Topic
Name
8+7 =