Forum Discussion
Jaymin_JB
Oct 25, 2022Copper Contributor
Unable to access shared folder
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 ?
- And can you enable inheritance on that subfolder and access it then? Seems like it was all removed?
- Jaymin_JBCopper ContributorWhenever I open subfolder property it says you must have read permission to view properties of this object.
If I take ownership of it and enable inheritance then it only applies to particular that folder not on subfolder and files.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.