The Local Farm Is Not Accessible. Cmdlets with FeatureDependency are not registered. How to fix this properly

So you have started to administer SharePoint 2010 using a non-farm account. You try to open the SharePoint 2010 Management Shell and you are greeted with this error:

“The Local Farm Is Not Accessible. Cmdlets with FeatureDependency are not registered”

You Bing this error and find a lot of blog posts that suggests you to open SQL Server Manager and give DBO permissions to all the related SharePoint databases; content, config etc.

Please don’t do that.

Here’s the proper way to give your account the needed permissions:

Open the SharePoint 2010 Management Shell with an account that already has farm permissions.

Permission the desired account using:

> add-spshelladmin -username domain\username

That’s the proper way of doing it.

You can also check which accounts has shell admin rights:

>get-spshelladmin

 

SharePoint 2010 cumulative updates

SharePoint 2010 cumulative updates

This table summarises the know SharePoint 2010 cumulative updates.

Release Date Microsoft SharePoint Foundation 2010 Microsoft SharePoint Server 2010 Version
August 2012 KB2687355 KB2687353 14.0.6126.5000
April 2012 KB2598321 KB2598151 14.0.6120.5000
October 2011 KB2596508 KB2596505 14.0.6112.5000
June 2011 KB2536601 KB2536599 14.0.6106.5000
April 2011 KB2510639 KB2510639 14.0.5136.5002
Service Pack 1 (SP1) KB2460058 KB2460045
August 2010 KB2266423 KB2276339 14.0.5123.5000
June 2010 KB2028568 KB983319KB983497KB2281364KB2124512KB2182938

(Japanese only)

SharePoint Server 2010 PowerShell cmdlets

Now that PowerShell cmdlets will replace the stsadm.exe used in SharePoint Server 2007, it can be a little bit difficult to get an overview of the new commands.

A newly published article on TechNet: Index of SharePoint Server 2010 Windows PowerShell cmdlets will help you get this information in a structured way.

There is also a Stsadm to Windows PowerShell mapping (SharePoint Server 2010) available to help transitioning to the new way of administrating SharePoint 2010.