rss

Sharepointology

Sharepointology is the study and handling of Microsoft Office SharePoint Server

Add Farm Administrator by using STSADM

Posted 21Dec08 by Erwin in Setup

Dos prompt Don’t know how, don’t know when (Vera Lynn), but one day we lost access to our SharePoint Central Administration. The reason of this was that someone deleted the BUILTIN\Administrators from the Farm Administrators group.

No problem, just add the BUILTIN\Administrators back to the Farm Administrators Group.

But how do you do this without access to the Central Administration?

Well, after some searching and googling I found a solution. You can use STSADM to add people to groups in a Site Collection and the Central Administration is just another Site Collection.

I know the suspense is killing you so here ‘s the STSADM command:

stsadm -o adduser -url http://server:12345 -userlogin BUILTIN\Administrators -useremail admin@company.com -group “Farm Administrators” -username “Administrators”

RSSIf you like this post then please consider subscribing to my full feed RSS. You can also subscribe by Email and have new posts sent directly to your inbox.

2 Responses

  1. Yaroslav Pentsarskyy’s SharePoint and .NET adventures » Troubleshooting solution deployment issues on MOSS

    [...] Adding farm admins using STSADM [...]

  2. Nachi

    Thank you, this helped me to get in. Also in Internet Explorer – Options – Security, Add Central admin site and disable requires Server authentication checkbox.
    Also i have disabled digest authentication in IIS.
    Thanks.

Leave a Comment

About

My name is Erwin Bastiaensen and I am a Software Architect from Belgium, with a huge interest in technology. Lately I have been involved in some Java projects and implementing, interfacing and extending a Sharepoint portal.

You can contact me at sharepointology[@]gmail.com.

View Erwin Bastiaensen's profile on LinkedIn