Add Farm Administrator by using STSADM
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”
No related posts.
If 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.
July 8th, 2009 at 05:40
[...] Adding farm admins using STSADM [...]