Fix for ‘The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered’

How to fix the error, "The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered" when running the SharePoint 2010 Management Shell with Administrator permission

As you know, the execution of the command line is needed when running SharePoint 2010. When running the SharePoint 2010 Management Shell with Administrator permission, if you get the error message, "The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered" you won't be able to execute the command line. In this article, we will walk through the process of dismissing this error message.

Go to Start > All Programs > SharePoint 2010 Management Shell.  Select Run as administrator:

You will see the following error message pop up on your screen:

As is standard, the cause of an error will be displayed when you run any command line, even if its content is correct:

To resolve this error, you will need to do the following:

Go to Start > All Programs > SharePoint 2010 Management Shell. Select Properties:

Select the Shortcut tab. In the Target field, input version 2 before No Exit as pictured below:

Before edit:

After edit:

Click Apply, and then OK.

Now, when you run the SharePoint 2010 Management Shell with Run as administrator, the error message will not appear:

Your command line will now be executed as intended:

SharePoint

Applications

SharePoint apps are stand-alone applications that perform specific tasks on a SharePoint site. Apps can perform functions such as managing a discussion board or knowledge base, performing project management or time tracking tasks, or doing other workflow operations.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


SharePoint

Web Parts

Extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of Web Parts. Web Parts are the building blocks of pages on a SharePoint site that can be used to customize the user interface and content of a site page. 

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials


Essentials Plus


Bamboo Premier


Project Management Suite


Knowledge Management Suite


External User Manager


Office 365

Cloud Parts

Cloud Parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft Office 365. More than mere ports of existing software to the cloud, our Cloud Parts have been built from the ground up to take advantage of the best that the cloud has to offer.

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Cloud Parts Suite for O365/SP Onl.


Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!