My local SharePoint development environment uses my corporate login as the farm account (since I cannot create another AD forest without messing up my corporate login). When my password needs changing, my local environment gets messed up and I am not able to access the Managed Account via Central Admin to change its password.
I basically go into each of the SharePoint application pools and Windows services and change the password manually. Then I change the service account password using the following PowerShell script:
$ver = $host | select version if ($ver.Version.Major -gt 1) {$Host.Runspace.ThreadOptions = "ReuseThread"} Add-PsSnapin Microsoft.SharePoint.PowerShell Set-location $home $inManagedAcct = Read-Host 'Service Account' $managedAcct = Get-SPManagedAccount $inManagedAcct $inPass = Read-Host 'Enter Password' -AsSecureString $inPassConfirm = Read-Host 'Confirm Password' -AsSecureString Set-SPManagedAccount -Identity $managedAcct -NewPassword $inPass -ConfirmPassword $inPassConfirm -SetNewPasswordKeywords: SharePoint 2010 Central Administration Admin Manage Account Change Password
0 comments:
Post a Comment
I always welcome feedback from my readers.