Microsoft small business knowledge base

Article ID: 2796733 - Last Review: December 21, 2012 - Revision: 1.0

On This Page


After you install Microsoft SharePoint Server 2010 and Windows PowerShell 3.0 on a server, you receive one or both of the following error messages when you start SharePoint 2010 Management Shell:

Error message 1
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.
Error message 2
Microsoft SharePoint is not supported with version 4.0.30319.17929 of the Microsoft .Net Runtime.


To work around this issue, change the Target field value for SharePoint 2010 Management Shell. To do this, follow these steps:
  1. Click Start, and then right-click SharePoint 2010 Management Shell.
  2. Click Properties.
  3. Click the Shortcut tab in the SharePoint 2010 Management Shell Properties window.
  4. Input the following value in the Target field:

    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Version 2.0 -NoExit " & ' C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\\sharepoint.ps1 ' "

Applies to
  • Microsoft SharePoint Server 2010
  • Microsoft SharePoint Server 2010 Service Pack 1
kbsurveynew kbprb kbexpertiseinter kbtshoot KB2796733
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support