Resetting SharePoint Farm PassPhrase
-
Monday, June 21, 2010 8:14 PM
Hello, for some reason I keep getting the error below, although the account I am using is a machine admin account (member of Administrators group)
cmdlet Set-SPPassPhrase at command pipeline position 1
Supply values for the following parameters:
ConfirmPassPhrase: *********
Set-SPPassPhrase : You need to have Machine administrator priviliges to run thi
s cmdlet.
At line:1 char:17
+ Set-SPPassPhrase <<<< -PassPhrase $passphrase -Confirm
+ CategoryInfo : InvalidData: (Microsoft.Share...etSetPassPhrase:
SPCmdletSetPassPhrase) [Set-SPPassPhrase], SPException
+ FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletSetPassP
hrase
All Replies
-
Monday, June 21, 2010 10:55 PM
Are you running the SharePoint 2010 Management Shell as Admin, meaning right click on it and do "Run as Administrator". Also make sure the account you are using to reset the farm passphrase has Shell Admin Access on the config DB:
Get-SPShellAdmin: http://technet.microsoft.com/en-us/library/ff607830.aspx
Add-SPShellAdmin: http://technet.microsoft.com/en-us/library/ff607596.aspx
Adam Preston - MCTS | Blog: http://sptwentyten.wordpress.com | Twitter: @_apreston- Proposed As Answer by Alpesh NAKAR Tuesday, June 22, 2010 4:44 AM
- Marked As Answer by Mark Marquis - Consultant Thursday, June 24, 2010 12:22 AM
-
Monday, June 21, 2010 10:55 PM
Please open the Powershell command prompt with elevated privileges. In order to do the same, please right click the powershell prompt and from the context menu, select run as administrator.
Hope this helps.
Thanks,
Prashanth
-
Tuesday, June 22, 2010 1:20 AMThank you Adam, pefect it worked. I learn something new everyday.

