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 DateMicrosoft SharePoint Foundation 2010Microsoft SharePoint Server 2010Version
August 2012KB2687355KB268735314.0.6126.5000
April 2012KB2598321KB259815114.0.6120.5000
October 2011KB2596508KB259650514.0.6112.5000
June 2011KB2536601KB253659914.0.6106.5000
April 2011KB2510639KB251063914.0.5136.5002
Service Pack 1 (SP1)KB2460058KB2460045
August 2010KB2266423KB227633914.0.5123.5000
June 2010KB2028568KB983319KB983497KB2281364KB2124512KB2182938

(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.