How to get list of all site owners in SharePoint web application

Open the command prompt and navigate to the following path C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN

Run the following command.

stsadm -o enumsites -url http://WebApplicationURL > c:\allsiteinfo.txt

once the command runs successfully , go to c drive and open “allsiteinfo.txt” file. You will see result something like this.
<Sites Count=”2″>
<Site Url=”http://URL&#8221; Id=”0258da20-10aa-4b04-a037-46800b87dd2d” Owner=”<Owner Name>”  SecondaryOwner=”AR\spadmin” ContentDatabase=”WSS_Content_2d36dd67b53a42bfa6f77076bd80708f” StorageUsedMB=”16.2″ StorageWarningMB=”0″ StorageMaxMB=”0″ />


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s