Windows Server 2016: Reset Filesystem Permissions on a Folder
Open a command window, and Run As Administrator:
takeown /F "Full Path of Folder or File"
takeown /F "Full Path of Folder or File" /r /d y
icacls "Full Path of Folder or File" /grant Administrators:F
icacls "Full Path of Folder or File" /grant Administrators:F /t
source: https://www.repairwin.com/fix-failed-to-enumerate-objects-in-the-container-access-is-denied/