Notepad:Fix Windows Directory Permissions

From Amar
Jump to navigationJump to search

Fix Windows Permissions

From how to fix the failed to enumerate objects in the container error on windows10

  • Run cmd as Administrator
   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.

← Back to Notepad



© 2000-2025 Jacques Amar Amar Micro Inc.