What is the best practice to change farm account in SharePoint server 2019? can I use CA>Security>ConfigureManaged account and register new managed account and after the change farm account from_admin/FarmCredentialManagement.aspx

1 Answer 1


The proper method to update the farm credentials (change account or update the password) is to use stsadm -o updatefarmcredentials. For example:

stsadm –o updatefarmcredentials –userlogin CONTOSO\FarmAccount –password farmPassword

  • the above command will work in Sharepoint 2019?
    – adilahmed
    Jul 10, 2019 at 15:15
  • Yes, while stsadm is deprecated, there are commands that are not available via PowerShell.
    – user6024
    Jul 10, 2019 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.