Link to home
Start Free TrialLog in
Avatar of curt2000
curt2000

asked on

How to reset inheritance on all Sharepoint subsites?

I have a Sharepoint site with multiple subsites.  Some of the subsites are set to NOT inherit permissions from the parent site and I've lost track of which subsites those are.  I would like to reset the inheritance settings for all of the subsites to inherit permissions again.  It's okay to lose whatever permissions are set on the subsites.  I don't see a GUI option in Sharepoint to do this.

I found another EE question on this topic with a solution, but it is done via programming:

https://www.experts-exchange.com/questions/24211942/How-to-replace-security-permissions-on-Sharepoint-subsites.html

I'd like to implement this solution, but I'm not sure exactly how.  Do I copy the code to a text file, rename it to a .COM, .BAT, or .VBS and run it from the Sharepoint server command prompt?  Is this a PowerShell command?  Is there another way to do this perhaps?

Thanks much.
Avatar of quihong
quihong
Flag of United States of America image

Are you asking for a different method versus using the GUI?

To do it via the GUI, open up each subsite, go to Site Actions->Site Settings->Advanced Permissions->Actions->Inherit Permissions.

The code in the thread you link to is VB.NET I believe. You are not going to be able to simply paste it into a .com/.bat/.vbs file and run.
ASKER CERTIFIED SOLUTION
Avatar of bank_on_it
bank_on_it

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curt2000
curt2000

ASKER

quihong  - I knew how to change the inheritance on individual sites using the GUI, but I had lost track of which sites those were.  To go through one-by-one was going to be difficult.  So, I'm happy to do it either way provided I know which subsites do not inherit permissions ahead of time if I go the GUI way.

bank_on_it - SUSHI is the perfect little utility I was looking for in figuring out which subsites do not inherit permissions.  I downloaded the program, ran it from the Sharepoint server, and quickly go a list of subsites I needed to fix.  This is a great program and it saved me a ton of time.  Thanks!

I appreciate the help from both of you, but I think the points should be awarded to bank_on_it as it was the solution I used.
I am happy you liked the program.  I just found it today & hope to get it implemented on our farm shortly as well.
sounds good. no objection from me. The points are only worth a t-shrit to me :)
Awesome.  Thanks for the input folks!  :-)
Great work!