Skip to content

Zewwy's Info Tech Talks

Everything IT

  • Home
  • Blog
    • Exchange
    • Hypervisors
    • Information Security
    • Networking
    • Palo Alto Networks
    • PowerShell
    • Coding and Scripting
    • Server Administration
    • SharePoint
    • Windows
  • My Heroes
    • Local Heroes
    • Internet Heroes
    • Historical Heroes
  • About Me

Tag: Farm Account

Posted on November 8, 2021

Reset SharePoint Farm Account Password

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? – SharePoint Diary

Case 1: Farm Account’s Password is already changed in Active Directory

I don’t know why he mentions using the CA when the CA won’t work when the farm account is used for that service, in that case use Powershell:

#Get the Farm Account
$FarmAccount = Read-Host "Enter the Farm Account in Domain\User Format:"
  
#Get the changed Password for the farm account
$Password = Read-Host "Enter the changed password for Farm Account" -AsSecureString
  
#Update the password for farm account
Set-SPManagedAccount -Identity $FarmAccount -ExistingPassword $Password -UseExistingPassword $true

Case 2: Change password for SharePoint Farm Account

UI Way:

  • Go to your SharePoint Central Administration site >> Click on Security >> Configure Managed Accounts
  • Click on “Edit” icon next to the SharePoint Farm account.
  • Tick “Change password now” check box and enter the new password by setting “Set account password to new value” option
  • Enter the new password and click on OK to change the password of SharePoint farm account.

Or PowerShell:

#Get the Farm Account
$FarmAccount = Read-Host "Enter the Farm Account in Domain\User Format:"

#Get the changed Password for the farm account
$Password = Read-Host "Enter the New password for Farm Account" -AsSecureString

#Update the password for farm account
Set-SPManagedAccount -Identity $FarmAccount -NewPassword $Password -ConfirmPassword $Password

Recent Posts

  • Update Veeam 12.3
  • Installing Core Linux
  • Retro PC, NO IDE based CDROM in Windows 98/ME
  • Veeam VM Restore failed: Cannot apply encryption policy. You must set the default key provider.
  • Careful Cloning ESXi Hosts
  • The virtual machine must be encrypted
  • Clearing up Space on an Exchange Server

Please follow & like me :)

RSS
LinkedIn
Share
SOCIALICON
SOCIALICON
SOCIALICON
SOCIALICON

Archives

Categories

Find Us

Address
123 Fake Street
Winnipeg, Manitoba

Hours
Monday—Friday: 9:00AM–5:00PM
Saturday & Sunday: Drink.

About This Site

This site is a brand new welcome to the new year! Woo 2018.

  • I had a dream last night. I dreamt I was a dove flying over the sea. And then I dove into the ocean… And I swam with the dolphins. I was two animals joined as one… …which meant – good things are coming. Good things.

© 2008-2020 by Aemilianus Kehler
Legal Information

 

Legal Information Proudly powered by WordPress