

Step 4: In the next screen, you will need to enter your Windows account’s username through which you log in. Here, in the top section, right below the Name section, click on the Change option in the Owner section. Step 3: This will open a new Advanced Security Settings window. When in Security tab, click on the Advanced option.

Step 2: In the Folder Properties window that opens, go to the Security tab. From the right-click menu, select the Properties option. Step 1: Make a right click on the folder for which you are getting Failed to Enumerate Objects in the Container error while changing user permissions. Here are the steps involved to change folder ownership in Windows: Changing folder ownership has been recommended by Windows users as well, as this method solves the Failed to Enumerate Objects in the Container. This is so far the best and only method suggested by Microsoft as well as Windows experts. Now, copy its full path from address bar. Note: To know full path to folder, just click on the folder, to go inside it. Make sure to change FULL_PATH_TO_FOLDER with the path of the your folder. Icacls X:\ FULL_PATH_TO_FOLDER /grant Administrators:F /t Icacls X:\ FULL_PATH_TO_FOLDER /grant Administrators:F Takeown /F X:\ FULL_PATH_TO_FOLDER /r /d y Now, copy and paste the commands given below in the command prompt window and execute the commands one by one.
