Sorry for the delay, but I finally got the time to sit down and get this thing packaged up and released.
Remember, this is for WSS 2.0 and SPS2003 only. There are no plans to build V3 versions of these tools, but features similar to these are being developed for SharePoint V3.
Grab it from here!
http://www.codeplex.com/SPSiteManager
- Keith

I was hoping to see a return of the SPUserUtil in this release but alas, it was not to be. Can we expect to see that project re-released on codeplex in the near or distant future?
Comment by Jon — January 22, 2008 @ 3:52 am
I do plan on re-releasing it, but only for V2
Comment by Keith Richie — January 22, 2008 @ 9:34 pm
Hello Keith, the tool is great. The only issue I have is it does not work for subsites. Unfortunately our environment is split in such a way that originally we created one top level site and started populating it with sub sites. There are over 3000 sites in one content database. The size has reached a crazy number of 500gb. Would like to break it up but avoid using SMIGRATE. Any thoughts would be greatly appreciated.
Comment by George — January 24, 2008 @ 8:20 pm
Hey George, not sure what you mean by it does not work with subsites…You mean the repartition operation? If that is it, then yes, it does not have a subweb/subsite move feature…all though at one time I had planned for that. SMIGRATE is your only option in V2 for that.
Comment by Keith Richie — January 24, 2008 @ 10:29 pm
Hello Keith, thanks for the answer above. I do have one more. I’m currently using SPUserUtil, specifically the WSSUserUtil.exe. I’m successful in creating the xml file to store the user permissions for the subwebs but I cannot get to work when I try to apply the permissions on the new subweb. Here is what I’m doing on the command prompt:
G:\SPUtilSuite_Release2.5\SPUtilSuite\WSS\SPUserUtil>wssuserutil.exe -o add -url “http://s3w03000:9000/ykl0/cas/F12_ITSM” -webfile G:\CompareSitesInOCC_GCC\Marc
h072008\F12_ITSM.xml
I get the following message:
WSSUserUtil Version 2.5.2988.24558
!—–>WARNING!!!!! Syntax Error
!—–>WARNING!!!!! Required argument usermap not specified
I do not see anywhere in the documentation that it requires a usermap.
Thank you in advance
George
Comment by George — March 8, 2008 @ 12:54 am
Hello Keith, as to my question above I do not see the “add” parameter. Please see below in the syntax section. As I mentioned I get the warning that I need a “usermap” argument.
WSSUserUtil Version 2.5.2991.16236
!—–>WARNING!!!!! Syntax Error
!—–>WARNING!!!!! Required argument usermap not specified
Syntax:
WSSUserUtil -o -usermap [ -newdomain ] [ -url ] [ -usermask ] [ -webfile ] [ -portal ] [ -gcldapctx ] [ -cuou ] [ -ignoresidhistory] [ -r] [ -t] [ -xg] [ -dgo] [ -adu] [ -adshu] [ -ac]
[ -acm] [ -act] [ -owner] [ -fixmysite] [ -verbose] [ -log] [ -asu] [ -asuonly]
[ -portalmigrateonly] [ -weblite] [ -deleteprofile] [ -adping] [ -adpingcount ]
Comment by George — March 10, 2008 @ 8:05 pm
Hey George, I think I responded to you on the alias, but just add the -usermap and specify it. Technically, it’s not needed, but I think it was a bug in the syntax checker that required it.
Comment by Keith Richie — March 11, 2008 @ 7:28 pm
Hi Keith, yes you did actually. I still cannot get it to work though.
I have added -usermap everywhere but still no luck. Here is what I’m currently doing:
G:\CompareSitesInOCC_GCC\March072008>wssuserutil -o add -url “http://s3w03214:9550/ykl0/F12_ITSM” -webfile G:\CompareSitesInOCC_GCC\March072008\F12_ITSM-we
bs.xml
Where should I add -usermap? Everyewhere I have I get the same message:
!—–>WARNING!!!!! Syntax Error
!—–>WARNING!!!!! Required argument usermap not specified
Thanks in advance
Comment by George — March 12, 2008 @ 10:16 pm
Am I perhaps using an older version of SPUSERUTIL?
Comment by George — March 12, 2008 @ 10:17 pm
I don’t see it in your syntax, but you should just be able to add it anywhere such as:
WSSUserUtil –o add –usermap singleuser.xml –webfile c:\addusers.xml -verbose
Also, you are including the -url which is not necassary, as it determines the webs to modify via the -webfile.
See: http://blogs.msdn.com/krichie/archive/2006/05/19/602057.aspx for more information.
Comment by Keith Richie — March 12, 2008 @ 10:36 pm
Thank you Keith it worked! The -url was in one documentation that I read though. Again thank you.
Comment by George — March 12, 2008 @ 11:56 pm
Sorry to bother you again. It seems that if you have subwebs under subwebs the permissions do not get applied. Only the first level subweb gets its permissions reapplied. Is that correct.
Thank you
Comment by George — March 13, 2008 @ 12:53 am
George…You “ARE” running this on a V2 server right? The tool will reak havoc in a V3 environment.
As far as it not adding on subwebs of subwebs, my first thought is “Yes it should”
I don’t even have a V2 server up at this time to test it with, but I do plan on it over the next couple of weeks so I can get it officially re-released, and I’ll try testing it, at that time. Until them, you could manually edit and create multiple webs.xml files for each web you want to replay permissions on.
Comment by Keith Richie — March 13, 2008 @ 12:57 am
Yes, it is a V2 server. I’ll do what you suggested. I also thought that it could replay the permissions on subwebs of subwebs. I’ll definitely wait for your re-release.
Once again thank you!
Comment by George — March 13, 2008 @ 1:03 am
Hi Keith,
I’m in a real distress, I have the same setup as George had mentioned above (WSS 2.0) i.e 1 top-level website with mulitple sub-sites. The size of the Database is 750 GB and we are finding it very difficult to manage the environment, frequent service outages, performance issues..what not…
I’m being hounded to get this DB repartioned into multiple site collections but I’m simply dumbstuck..it may even cost my job…
SMIGRATE will wipe off all the ACLs but this will be unacceptable to the business…
Any ideas how do i achieve this repartioning? Your help will be much much appreciated…pls help
Comment by Shameem — July 2, 2008 @ 8:26 pm
Hi Kieth,
Is there any plans to make this compatible with MOSS 2007?
Thanks
Ash
Comment by Ash — June 4, 2009 @ 8:08 pm
I’ve given it consideration and actually started prototyping a new version, but don’t know that a V3/MOSS 2007 version would include every feature from 2.5, as those problems are now solved by other tools, etc.
Comment by Keith Richie — June 23, 2009 @ 8:53 pm
Hi Keith, I have downloaded spsitemanager 2.5 from codeplex and receive an unhandled exception relating to security when I run spsitemanager. I have local admin rights, and am a sharepoint admin, have verified that I can run stsadm -o enumsites to see if a similar command will work and have no issues…help
Comment by Jason — November 4, 2009 @ 2:26 am
Can you give a bit more context? exactly what is the exception text?
Comment by Keith Richie — November 4, 2009 @ 2:34 am
Command: spsitemanager -o analyze -url http://localhost -sdd analysissdd.xml
Error:
Unhandled Exception: System.Security.SecurityException: Request for the permissi
on of type Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePo
int.Security, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
failed.
at System.Security.CodeAccessSecurityEngine.CheckTokenBasedSetHelper(Boolean
ignoreGrants, TokenBasedSet grants, TokenBasedSet denied, TokenBasedSet demands)
at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet gran
ts, PermissionSet denied, PermissionSet demands)
at Microsoft.SharePoint.Administration.SPGlobalAdmin..ctor()
at SPSiteManager.AppClass.Main(String[] args)
The state of the failed permission was:
Comment by Jason — November 4, 2009 @ 4:03 am
continued…
Comment by Jason — November 4, 2009 @ 4:04 am
Jason, it looks like you’re trying to run it from a network drive.
Copy it to a local drive and try again.
Comment by Keith Richie — November 4, 2009 @ 4:18 am
You are the man….so simple but I missed it.
Comment by Jason — November 4, 2009 @ 4:28 am
Hi Keith,
Is it possible to use the -repartition command on sub sites? or can it only be done on a site collection? I have a scenario where a client has a 800GB ContentDB in SPS2003 and most of the data is held in one of the team sites (700GB). I would like to be able to repartition into a number of approx 50GB contentdb’s.
Comment by Jason — November 5, 2009 @ 10:16 pm
Jason, it is not possible. Repartition is only for Site Collections.
Comment by Keith Richie — November 7, 2009 @ 9:08 pm
[...] Post From SharePoint Security – Google Blog Search: Hi Keith, I have downloaded spsitemanager 2.5 from codeplex and receive an unhandled exception [...]
Pingback by ARB Security Solutions » SPSiteManager 2.5 released « Krichie – That SharePoint Guy — December 31, 2009 @ 11:48 am
Can you give me some details on the exception?
Comment by Keith Richie — January 5, 2010 @ 9:51 pm