Saturday, March 1, 2014

How to reset a forgotten SharePoint Farm Passphrase

I needed to join a new server to an existing SharePoint 2010 farm the other day, but the customer could not remember their farm passphrase.  Provided you can log on to an existing SharePoint server with a farm admin account, you can use the following to reset the password:

1. Open the SharePoint Management Shell (right click, ‘Run As Administrator’)

2. Issue the following command, and enter the new passphrase when prompted:

$passphrase = ConvertTo-SecureString -asPlainText -Force
3. Issue the following command and follow the onscreen instructions (essentially, it will ask you to confirm the passphrase and press ‘Y’):

Set-SPPassPhrase -PassPhrase $passphrase -Confirm


That’s all there is to it.  You have just changed your farm passphrase!