SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i made an user in sqlserver2008 which its name is test1 and my computers name is WIN-NKQENDDOCT0 and run management shell but happend follow error :

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

PS C:\Users\Administrator> New-SPConfigurationDatabase
cmdlet New-SPConfigurationDatabase at command pipeline position 1
Supply values for the following parameters:
DatabaseName: Sharepoint_config
DatabaseServer: WIN-NKQENDDOCT0
Passphrase: ********
New-SPConfigurationDatabase : \test1
At line:1 char:28
+ New-SPConfigurationDatabase <<<<
   + CategoryInfo          : InvalidData: (Microsoft.Share...urationDatabase:
  SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], SPExcep
   + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon

please help me thanks

share|improve this question

Run your SharePoint Management Shell with Farm Administrator and grant the Test1 account with rights to SharePoint configuration database using the following command:

Add-SPShellAdmin -username Test1
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.