Oct 25 2022 02:18 AM
Hi,
I have one shared folder. when i am trying to access it OR trying to change its permission it is not allowing me and says access denied.
I tried it using Domain Administrator. It give below error.
"Failed to enumerate object in container. Access denied."
If i take ownership of folder after that i can access only that particular folder but if i try to access subfolder OR files located in it then it will again says Access denied.
Inheritance is already enabled.
Domain admin has full permission on folder.
Server is located on premise.
Is there any fix for above issue ?
Oct 25 2022 09:11 AM
Oct 25 2022 11:33 AM
Oct 25 2022 11:37 AM - edited Oct 25 2022 11:39 AM
It's a lot of work if there are so many folders with inheritance disabled, you can take ownership of a folder and enable inheritance... But that's from above going downwards until you have a folder with inheritance disabled.
I think this is a solution for you, PowerShell 🙂 https://itluke.online/2018/02/02/how-to-reset-file-or-folder-permissions-with-powershell/ Test it on one folder first in which you have that problem, a sub/sub-folder so to say. You have to run "Install-Module -Name NTFSSecurity" first to install the needed module.
Oct 25 2022 01:13 PM
Oct 26 2022 12:18 AM
Oct 26 2022 02:17 AM
Oct 26 2022 02:28 AM - edited Nov 29 2022 05:05 AM
Ah, good to hear 🙂 Please mark my answer as solution to mark this topic as solved