David Frette's Blog

Where the mind and SharePoint sometimes meet.

PowerShell error: The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

Posted by David Frette on February 19, 2010

On my development VM, I created a new user in AD. I added the user to my Farm Admins. But when I loaded powershell, I got the message
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.

As it turns out, I hadn’t yet given my account any rights to SQL. Things began to work once the account had access to the WSS_Content db. Check your access by SQL Management Studio, under WSS_Content, Security, UserName > Right Click > Properties.  I started a new PS window, too, just in case.

Advertisement

One Response to “PowerShell error: The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.”

  1. [...] found several articles with suggestions here and here. Having the appropriate SQL Server access is required but neither approached worked for me. When I [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.