{"id":1284,"date":"2021-11-08T09:59:49","date_gmt":"2021-11-08T15:59:49","guid":{"rendered":"http:\/\/zewwy.ca\/?p=1284"},"modified":"2021-11-08T09:59:49","modified_gmt":"2021-11-08T15:59:49","slug":"reset-sharepoint-farm-account-password","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2021\/11\/08\/reset-sharepoint-farm-account-password\/","title":{"rendered":"Reset SharePoint Farm Account Password"},"content":{"rendered":"<h1><span class=\"ez-toc-section\" id=\"How_to_Reset_the_SharePoint_Farm_Account_Password\"><\/span><strong>How to Reset the SharePoint Farm Account Password<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>Quick Post here. In my test enviro I tested Changing the farm admin password (case 2) but only recovered my SharePoint FE in test, which actually lead to case 1. Here it is:<\/p>\n<p>Source of info: <a href=\"https:\/\/www.sharepointdiary.com\/2017\/08\/change-farm-account-password-in-sharepoint-using-powershell.html\">How to Change SharePoint Farm Account Password using PowerShell? &#8211; SharePoint Diary<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Case_1_Farm_Accounts_Password_is_already_changed_in_Active_Directory\"><\/span>Case 1: Farm Account\u2019s Password is already changed in Active Directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>I don&#8217;t know why he mentions using the CA when the CA won&#8217;t work when the farm account is used for that service, in that case use Powershell:<\/p>\n<pre>#Get the Farm Account\r\n$FarmAccount\u00a0=\u00a0Read-Host\u00a0\"Enter the Farm Account in Domain\\User Format:\"\r\n\u00a0\u00a0\r\n#Get the changed Password for the farm account\r\n$Password\u00a0=\u00a0Read-Host\u00a0\"Enter the changed password for Farm Account\"\u00a0-AsSecureString\r\n\u00a0\u00a0\r\n#Update the password for farm account\r\nSet-SPManagedAccount\u00a0-Identity\u00a0$FarmAccount\u00a0-ExistingPassword\u00a0$Password\u00a0-UseExistingPassword\u00a0$true<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Case_2_Change_password_for_SharePoint_Farm_Account\"><\/span>Case 2: Change password for SharePoint Farm Account<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>UI Way:<\/p>\n<ul>\n<li>Go to your SharePoint Central Administration site &gt;&gt; Click on Security &gt;&gt; Configure Managed Accounts<\/li>\n<li>Click on \u201cEdit\u201d icon next to the SharePoint Farm account.<\/li>\n<li>Tick \u201cChange password now\u201d check box and enter the new password by setting \u201cSet account password to new value\u201d option<\/li>\n<li>Enter the new password and click on OK to change the password of SharePoint farm account.<\/li>\n<\/ul>\n<p>Or PowerShell:<\/p>\n<pre>#Get the Farm Account\r\n$FarmAccount = Read-Host \"Enter the Farm Account in Domain\\User Format:\"\r\n\r\n#Get the changed Password for the farm account\r\n$Password = Read-Host \"Enter the New password for Farm Account\" -AsSecureString\r\n\r\n#Update the password for farm account\r\nSet-SPManagedAccount -Identity $FarmAccount -NewPassword $Password -ConfirmPassword $Password<\/pre>\n<div class=\"line number1 index0 alt2\"><code class=\"powershell comments\"><\/code><code class=\"powershell variable\"><\/code><\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to Reset the SharePoint Farm Account Password Quick Post here. In my test enviro I tested Changing the farm admin password (case 2) but only recovered my SharePoint FE in test, which actually lead to case 1. Here it is: Source of info: How to Change SharePoint Farm Account Password using PowerShell? &#8211; SharePoint &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2021\/11\/08\/reset-sharepoint-farm-account-password\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Reset SharePoint Farm Account Password&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[8,9],"tags":[384,140],"class_list":["post-1284","post","type-post","status-publish","format-standard","hentry","category-server-administration","category-sharepoint","tag-farm-account","tag-sharepoint"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1284"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1284\/revisions"}],"predecessor-version":[{"id":1285,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1284\/revisions\/1285"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}