// you’re reading...


Using STSADM.EXE to Create Empty Site Collection

There are situations when we want to create empty site collection, like when your content deployment job is failing due to conflicting content. In these cases STSADM.EXE comes handy.

STSADM.EXE is the only means to create a completely empty site collection.

STSADM.EXE -o createsite -url <url-to-site-collection> -ownerlogin domain\user -owneremail <email-address>

STSADM.EXE -o createsite -url http://servername:9009/sites/EmptySiteCollectionName -ownerlogin mydomain\praveen -owneremail abc@xyz.com

Remember, using the “Blank Site” template does NOT creates an completely empty site collection. The site collection created by “Blank Site” template create some content for default website.
You can see the difference if you create a site collection using both methods and then inspect the content of the created sites using SharePoint designer.

Using STSADM.EXE to Create Empty Site Collection

You might be interested in:


2 comments for “Using STSADM.EXE to Create Empty Site Collection”

  1. Thanks for this information. It solved a problem I’ve been trying to sort out for a couple of days!

    Posted by Richard | July 6, 2012, 10:33 am
  2. This is helpful for freelance contractor like me. It makes my job easier with a “Blank Template”.

    Posted by Susan Brown | May 14, 2013, 11:11 pm

Post a comment