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 Online
The cloud parts are functional components that extend your SharePoint Online environment in Microsoft 365.
Supports Classic and Modern sites for SharePoint Online/Microsoft 365
Small Business Pricing and Discounts
SharePoint
Top SharePoint Online Products
Experience greater power and savings by bundling our SharePoint apps and cloud parts.
On-Premises Only
These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.
SharePoint 2016, 2019, 2022 – Classic Pages Only
SharePoint
Top On-Premises Only Products
Experience greater power and savings by bundling our SharePoint apps and web parts.
Our team of Microsoft 365 Technology Consultants helps you get the most out of your Microsoft technology, we have the best Microsoft 365 talent to streamline your organization.
Consulting to Streamline Your Department
M365 Plus
Managed Services
Microsoft 365
Consulting to Streamline Your Department
Our Consultants Have What You Need
Federal Contractors
Microsoft 365
Our Consultants Have What You Need