Change SharePoint Farm Passphrase password using powershell

Farm Passphrase is set whenever you install Sharepoint.

In the next dialog of the Config Wizard, SharePoint prompts for the farm passphrase. The passphrase is used to secure farm communications and will have to be provided by any additional servers joining the farm. You should choose a reasonably strong passphrase and document it in a safe place. Recovering a lost passphrase is very difficult if not impossible. Changing the passphrase is possible after the farm is online using :

Windows PowerShell cmdlet Set-SPPassPhrase.


Sometime we feel the need to just automate the process.

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!

So if you forgot your passphrase password change it before connecting any new server to farm .

To install SharePoint 2010, you can follow my blog: How to install SharePoint 2010

Feel free to Rate and provide feedback if you find post useful

Hope this help


This entry was posted in SharePoint2010, SQLServerPedia. Bookmark the permalink.

4 Responses to Change SharePoint Farm Passphrase password using powershell

  1. lista de emails says:

    i will get in touch with this post and site as well , giving this kind of post is really happy. looking for someone here. anyway waiting for another post here.

  2. lista de email says:

    thanks for informative post. i am pleased sure this post has helped me save many hours of browsing other similar posts just to find what i was looking for.

  3. Mathia says:

    Just want to say your article is as amazing. The
    clarity to your put up is simply excellent and i could assume you are an
    expert on this subject.Thanks and please keep up the enjoyable work.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

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

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s