Reset Farm Passphrase – SP 2010


So, you are adding a new server to the farm and you can’t locate that very important password that was on a sticky note attached to your monitor for all to see? No problem! You can use PowerShell to reset / change that forgotten farm passphrase. Note that I said reset and not retrieve. There is currently no option to retrieve the existing farm passphrase.

  • Open the SharePoint 2010 Management Shell (Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell)
  • Enter this at the PowerShell prompt:
    • $passphrase = ConvertTo-SecureString -asPlainText -Force
  • Input the new passphrase and hit Enter
  • Enter this at the PowerShell prompt:
    • Set-SPPassPhrase -PassPhrase $passphrase -Confirm
  • You will be asked to confirm the passphrase by re-entering it
  • Re-enter the passphrase and hit Enter
  • You will be asked if you are sure that you want to perform this action, type Y (for Yes) and hit Enter
  • Your farm passphrase has now been reset!

Original Source 

Advertisements

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: