Create a Site Collection Administrator with stsadm

Taking over administration for SharePoint after a previous administrator was ‘let go’ always has little gotchas that pop up. One of those can be needing to create a new site collection administrator.  If you can’t get access to the site, you can use stsadm to create a site collection administrator.

stsadm -o adduser -url URLOFSITECOLLECTION -userlogin USERLOGIN -useremail "USEREMAIL" -role "Full Control" -group "Farm Administrators" -username "USERDISPLAYNAME" –siteadmin


Now you have a user that has access to undo all of the previous Administrator’s SharePoint badness.

Comments (1)
  1. Aditya says:

    To undo all the sharepoint badness, one can see the Report Log. So, dont forget to activate Reporting in the site Reporting.

Comments are closed.

Skip to main content