It is easy simple do the following and it will work:
- Open the SharePoint 2010 Management Shell (Start > All Programs > Microsoft SharePoint 2010 Products > SharePoint 2010 Management Shell)
- Write this at the PowerShell prompt:
- $passphrase = ConvertTo-SecureString -asPlainText -Force
- Input the new desired passphrase and press Enter
- Write 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 press 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 rested :)