Hello Mikhail Firsov,
Thank you for posting in Q&A forum.
Here is a very similar thread with marked answer for your reference.
If it does work above, here are also a few troubleshooting steps and suggestions to troubleshoot the "Failed to enumerate objects -Access denied" error: 1.Permission Inheritance: Ensure that the parent folder's permissions are correctly set and inheritance is enabled. If the parent folder doesn't allow child items to inherit permissions, you might encounter this error. 2.File System Rights: Check if the account used to assign permissions has the necessary rights (e.g., Modify or Full Control) on the parent folder and the files themselves. Sometimes, restrictive permissions on individual files can cause this issue even if the parent folder has proper settings. 3.ACL Corruption: There could be corruption in the Access Control List (ACL) of the files causing the enumeration failure. 4.System File Checker (SFC): Run a system file checker scan to ensure system files are not corrupted. This may not directly relate to permissions, but it's a good practice to rule out any underlying system issues. 5.Antivirus or Security Software: Temporarily disable antivirus software or other security tools that might interfere with file permissions. Remember to re-enable them after troubleshooting. 6.Network or Hardware Issues: Make sure network connectivity between the server and client machines is stable and there are no hardware-related issues. 7.UAC and Permissions: If you're running the operation under a non-administrative account, try elevating your privileges by running as an administrator. 8.Audit Permissions: Enable auditing temporarily to see if there are any specific events related to access failures. This can give more insight into the root cause.
I hope the information above is helpful. If you have any questions or concerns, please feel free to let us know. Best Regards, Daisy Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.