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 bel...
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.
Jaymin_JB
Oct 25, 2022Copper Contributor
Trying to install module on power shell ISE but it says that "The term is not recognised as the name of cmdlet"
Object not found.
Object not found.
- Oct 26, 2022Ok..., did an install just now in a PowerShell 7 prompt, and in Windows ISE, Install-Module -Name NTFSSecurity works fine...
- Jaymin_JBOct 26, 2022Copper ContributorIt was not working on server where shared folder is located but on my workstation it was working fine.
I ran command from my workstation's powershell and it worked.
I checked many random folders and now I am able to access folder.
Thank you for your help.- Oct 26, 2022
Ah, good to hear 🙂 Please mark my answer as solution to mark this topic as solved