{"id":4445,"date":"2014-02-09T01:57:42","date_gmt":"2014-02-09T09:57:42","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=4445"},"modified":"2018-11-28T14:08:54","modified_gmt":"2018-11-28T21:08:54","slug":"managing-passwords-for-service-accounts-in-sharepoint-sql-server","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/managing-passwords-for-service-accounts-in-sharepoint-sql-server\/","title":{"rendered":"Managing Passwords for Service Accounts in SharePoint &#038; SQL Server"},"content":{"rendered":"<p><span style=\"color: #000000;\">Managing service accounts on Windows servers have been a challenge for most organizations for quite some time. In recent years, Microsoft has made several enhancements to minimize the pain. In Windows Servers 2008 R2 Microsoft introduced the<\/span> <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd560633%28v=ws.10%29.aspx\">Managed Service Accounts<\/a><span style=\"color: #000000;\">, which are by default created in the Managed Service Accounts organizational unit (OU) in the Directory Services but you can create them in any OU you want.<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">Managed Accounts in Windows Server 2008\/2012<\/span><\/strong><\/p>\n<p><span style=\"color: #000000;\">The Managed Account in Windows Server gives you, among other things, the ability to automatically update Microsoft Exchange, Microsoft SQL Server, and Internet Information Services (IIS) passwords. However, you do not want to use them with SharePoint Servers. I am only mentioning this here so you have a better understanding of what they are and what they do. You can use them for non-SharePoint services. The<\/span> <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd548356.aspx\">Service Accounts Step-by-Step Guide<\/a> <span style=\"color: #000000;\">describes how to setup these Managed Service Accounts in Windows Server 2008 R2 and Windows 7. You just need to make sure that you apply the hot fix KB 2494158<\/span> <a href=\"http:\/\/support.microsoft.com\/kb\/2494158\/en-us\">\u201cManaged service account authentication fails after its password is changed in Windows 7 or in Windows Server 2008 R2&#8243;<\/a> <span style=\"color: #000000;\">to the computer where the managed service account exists.<\/span><\/p>\n<p><span style=\"color: #000000;\">As I stated earlier, you do not want to use the Windows Server managed accounts with SharePoint Server because they are not compatible. In fact, Microsoft has a warning in <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc262502.aspx\">this article<\/a>.<br \/>\n<\/span><\/p>\n<blockquote style=\"padding-left: 30px;\"><p><span style=\"color: #000000;\"><strong><span style=\"color: #ff0000;\">WARNING!<\/span><\/strong><br \/>\n<\/span><\/p>\n<p><span style=\"color: #000000;\">&#8220;Windows Server 2008 R2 and Windows Server 2012 include managed accounts at the operating system level. Do not use Windows Server 2008 R2 and Windows Server 2012 managed accounts. They are incompatible with SharePoint 2013 managed accounts.&#8221;<\/span><\/p><\/blockquote>\n<p><span style=\"color: #000000;\"><strong>Managed Account in SharePoint Server 2010\/2013<\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">Now that you know about the Managed Accounts in Windows Server, let&#8217;s focus on the Managed Accounts in SharePoint Server. I gathered the information in this article from several Microsoft documents. Some of my tests failed when I used the steps described in Microsoft&#8217;s documentation but that may be due to the configuration of my SharePoint test\/training environment, which runs everything on one server (SharePoint, SQL, Active Directory, etc.). After making some adjustments, I finally got the passwords changed successfully and that&#8217;s exactly what I am documenting in this article.<\/span><\/p>\n<p><span style=\"color: #000000;\">I have listed the resources I used at the end of this article. I want to give special credit to a couple of authors because I used the information in their posts as the basis of this article. One of them is an author on the TechNet Blogs that goes by the alias smearp and writes\u00a0<a href=\"http:\/\/blogs.technet.com\/b\/seanearp\/archive\/2011\/01\/25\/updating-passwords-on-sharepoint-2010.aspx\">The Sean Blog<\/a>. Another great resource for this article was the blog post on MSDN by Charlie Chirapuntu.<br \/>\n<\/span><\/p>\n<p><span style=\"color: #000000;\"><span style=\"text-decoration: underline;\">NOTE<\/span>: You must be logged in with an account that has the Administrator privileges (either SharePoint Farm or SQL Server Administrator) to perform the steps described in this article.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Conflicting Information<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">There is some conflicting information in Microsoft&#8217;s documentation. According to the<\/span> <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ff641729%28WS.10%29.aspx\">Managed Service Account FAQs<\/a> <span style=\"color: #000000;\">on TechNet, SQL Server cannot use Managed Service Accounts. Only Exchange, IIS, and Active Directory Lightweight Directory Services (AD\u00a0LDS) can use Managed Service Accounts. However, the article<\/span> <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd560633%28v=ws.10%29.aspx\">Introducing Managed Service Accounts<\/a> <span style=\"color: #000000;\">clearly states that SQL Server can take advantage of the Managed Service Accounts.<\/span><\/p>\n<p><strong><span style=\"color: #000000;\">Managed Accounts<\/span><\/strong><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">In SharePoint Server 2010 Microsoft introduced Managed Accounts that allow you to map service accounts. For example, you can create and delete service accounts and you can manage account passwords. You may be wondering, what happens if you delete a service account in SharePoint&#8217;s Managed Accounts section. Is it automatically removed from Active Directory? The answer is no. Deleting a service account in SharePoint&#8217;s Managed Accounts doesn&#8217;t delete it from Active Directory, it simply removes it from the Managed Accounts area so you cannot manage it in SharePoint. As a best practice you always want to use Active Directory domain accounts as your service accounts and enter them in SharePoint in the format <em>domain\\service_account<\/em>. You can manage any of the following service accounts in SharePoint Managed Accounts:<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">1. Farm Account<\/span><br \/>\n<span style=\"color: #000000;\"> 2. Service Application Pools<\/span><br \/>\n<span style=\"color: #000000;\"> 3. Web Applications<\/span><br \/>\n<span style=\"color: #000000;\"> 4. Windows Services used by SharePoint<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">These can be configured under Central Administration -&gt; Security -&gt; General Security -&gt; Configure service accounts. The Credential Management screen on my test server looks like this.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/CredentialManagement.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/CredentialManagement.png\" alt=\"\" width=\"463\" height=\"268\" \/><\/a><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Here is a more detailed list in alphabetic order of all the Managed Accounts in SharePoint Server 2010. The Farm account is intentionally left out of this list, even though technically it is a Managed Account, because it is best to handle its password in a different way, as explained in the section <em>Changing Password for SharePoint Farm Service Account<\/em>.<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">BDC service account<\/span><\/li>\n<li><span style=\"color: #000000;\">Excel PowerPivot service account<\/span><\/li>\n<li><span style=\"color: #000000;\">Excel services account (but not the Excel unattended execution account)<\/span><\/li>\n<li><span style=\"color: #000000;\">Managed metadata service account<\/span><\/li>\n<li><span style=\"color: #000000;\">PerformancePoint service account (but not the PerformancePoint unattended execution account)<\/span><\/li>\n<li><span style=\"color: #000000;\">PowerPoint service account<\/span><\/li>\n<li><span style=\"color: #000000;\">Secure store service account<\/span><\/li>\n<li><span style=\"color: #000000;\">SharePoint foundation search service account (but not the content access account)<\/span><\/li>\n<li><span style=\"color: #000000;\">SharePoint search service account(s) (but not the content access account(s))<\/span><\/li>\n<li><span style=\"color: #000000;\">User profile service account (but not the user profile synchronization connection or the user profile synchronization service accounts)<\/span><\/li>\n<li><span style=\"color: #000000;\">Visio service account (but not the Visio unattended execution account)<\/span><\/li>\n<li><span style=\"color: #000000;\">Web analytic service account<\/span><\/li>\n<li><span style=\"color: #000000;\">Web application pool service account(s)<\/span><\/li>\n<li><span style=\"color: #000000;\">Word viewing service account<\/span><\/li>\n<\/ul>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>WARNING!<\/strong> SharePoint automatically configures and maps these accounts and in most cases if you have to manually map the account then you may not have followed the best practices when you installed SharePoint. Also, be very cautious when you change the mapping manually. If you don&#8217;t know exactly what you are doing then you may end up crashing your entire farm. Don&#8217;t make the change just because a Microsoft&#8217;s article recommends that you make a certain change. Make sure you completely understand the consequences and know how to reverse the procedure before making the change.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>Configuring Automatic Password Change for Managed Accounts<br \/>\n<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">You can configure these accounts under Managed Accounts so their passwords are changed automatically at certain interval. You won&#8217;t know what the password is going to be and frankly you don&#8217;t care because you don&#8217;t log in with a service account as a user to your servers. Here are the steps for configuring automatic password change for SharePoint service accounts.<\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Go to Central Administration -&gt; Security -&gt; General Security -&gt; Configure managed accounts.<\/span><\/li>\n<li><span style=\"color: #000000;\">Edit the account that needs to be configured for automatic password change.<\/span><\/li>\n<li><span style=\"color: #000000;\"><span style=\"color: #000000;\"><span style=\"color: #000000;\">Check the box Enable automatic password change. You can also enable the email notification and the time schedule for the password change. Otherwise, just accept the default values.<\/span><\/span><\/span><span style=\"color: #000000;\"><span style=\"text-decoration: underline;\">NOTE<\/span>:<\/span> <span style=\"color: #ff0000;\">When you use this option, the password for the service account is managed by SharePoint, not Active Directory, even though the account is a domain account in Active Directory<\/span><span style=\"color: #000000;\"><span style=\"color: #000000;\">. Also, keep in mind that the system randomly generates a strong password and will change it on the schedule that you have specified.<\/span><\/span><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/automatic_password_change.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/automatic_password_change.png\" alt=\"\" width=\"815\" height=\"558\" \/><\/a><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>Manually Changing the Password for Managed Accounts<\/strong><\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Go to Central Administration -&gt; Security -&gt; General Security -&gt; Configure managed accounts.<\/span><\/li>\n<li><span style=\"color: #000000;\">Edit the account that needs to be configured for manual password change (e.g. SP_Service).<\/span><\/li>\n<li><span style=\"color: #000000;\">Read the section <em>Dealing with Password Policy Error<\/em> section later in this article before deciding which option to use. If you have changed the password in Active Directory and are now changing it manually in SharePoint then check the box Change password now and then select the option Use existing password.<\/span><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/use_existing_password-520x245.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/use_existing_password-520x245.png\" alt=\"\" width=\"520\" height=\"245\" \/><\/a><\/li>\n<li><span style=\"color: #000000;\">Enter the password that you used in Active Directory for the account.<\/span><\/li>\n<li><span style=\"color: #000000;\">Click OK.<\/span><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>Changing Password for SharePoint Farm Service Account<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">The Farm account is a domain account that is used to run the SharePoint Farm. It is one of the most important accounts in SharePoint with the highest level of privileges. Although you can configure this account to automatically change password because it is a Managed Account, Microsoft recommends that you use the stsadm command in PowerShell to change the password for the Farm account. Here are the instructions.<\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Change the password for the Farm account in Active Directory.<\/span><\/li>\n<li><span style=\"color: #000000;\">Login to the SharePoint Server 2010 running the Central Administration site.<\/span><\/li>\n<li><span style=\"color: #000000;\">Start the SharePoint Management Shell as administrator.<\/span><\/li>\n<li><span style=\"color: #000000;\">Execute the following PowerShell command. Replace the <em>DomainName<\/em> and <em>UserName<\/em> with your actual domain and the user name with a user that has administrative credentials. Replace the <em>NewPassword<\/em> with the password that you used in Active Directory in step 1 above.<\/span><br \/>\n<span style=\"color: #000000;\"> <strong>stsadm -o updatefarmcredentials -userlogin <em>DomainName\\UserName<\/em> -password <em>NewPassword<\/em><\/strong><em><br \/>\ne.g. stsadm -o updatefarmcredentials -userlogin SeattlePro1<\/em><em>\\sp_farm<\/em> -password <em>P@ssw0rd<\/em><\/span><\/li>\n<li><span style=\"color: #000000;\">You must repeat the steps 2 to 4 on all the SharePoint servers in your environment.<\/span><\/li>\n<li><span style=\"color: #000000;\"><span style=\"color: #000000;\"><span style=\"color: #000000;\"><span style=\"color: #000000;\">By default the Farm account is used as the UPS account. Although the Farm account is a Managed Account and the UPS account is an Unmanaged account, you still need to change the password for the UPS service account as described later in this article in the section titled <em>User Profile Synchronization Service Account<\/em>.<\/span><\/span><\/span><\/span><strong>Best Practice<\/strong>: <em>As mentioned earlier, it is possible to change the Farm account&#8217;s password automatically because it is a Managed Account. However, Microsoft recommends that you use PowerShell to change its password because it seems to work better.<\/em><\/li>\n<\/ol>\n<p><strong><span style=\"color: #000000;\">Unma<\/span><span style=\"color: #000000;\">naged Accounts<\/span><\/strong><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">There are some accounts whose passwords should not be managed through SharePoint Managed Accounts. Therefore, passwords for these accounts must be changed manually. Because these accounts require manual password change you should first change the password for these accounts in Active Directory and then manually change it in SharePoint as described below.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>Step 1- Change Password in Active Directory<\/strong><\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Go to Active Directory Users and Computers on your Windows Server.<\/span><\/li>\n<li><span style=\"color: #000000;\">Go to the Organizational Unit (OU) where the service accounts are located. They are usually created in the Managed Service Accounts OU.<br \/>\n<\/span><span style=\"color: #000000;\"><br \/>\n<a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/service_accounts.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/service_accounts.png\" alt=\"\" width=\"686\" height=\"188\" \/><\/a><br \/>\n<\/span><\/li>\n<li><span style=\"color: #000000;\">Right click the service account and select Reset Password.<\/span><\/li>\n<li><span style=\"color: #000000;\">Enter and confirm the new password and then click OK.<\/span><\/li>\n<li><span style=\"color: #000000;\">Make a note of the password because you will need it in Step 2.<\/span><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>Step 2 &#8211; Change Password in SharePoint<\/strong><\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Go to Central Administration -&gt; Security -&gt; General Security -&gt; Configure managed accounts.<\/span><\/li>\n<li><span style=\"color: #000000;\">Edit the account that needs to be configured for manual password change.<\/span><\/li>\n<li><span style=\"color: #000000;\"><span style=\"color: #000000;\"><span style=\"color: #000000;\">In the Credential Management section, check the box Change password now and select the option Set account password to new value.<\/span><\/span><\/span><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/change_password_now-300x215.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/change_password_now.png\" alt=\"\" width=\"708\" height=\"508\" \/><\/a><\/li>\n<li><span style=\"color: #000000;\">Enter and confirm the new password. Make sure you use the same password that you entered in Active Directory.<\/span><\/li>\n<li><span style=\"color: #000000;\">Click OK at the bottom of the page to change the password. The change will take place immediately.<\/span><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>Dealing With Password Policy Error<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">This is where the things get a bit tricky. If you don&#8217;t have a password policy configured in Active Directory that requires a minimum password age then you are fine. However, for security reasons a lot of organizations configure a <em>Minimum password age<\/em> setting that works with the E<em>nforce password history<\/em> setting. This ensures that the user cannot change the password too frequently. For example, if a company has not configured a value for Minimum password age (i.e. it is set to zero) but still require users to change their password after a certain period (e.g. 90 days) then a user whose password is supernova can change the password in quick succession to supernova1, then supernova2, supernova3, supernova4, supernova5 and then back to supernova again and therefore bypass the security settings. As I said, a lot of organizations configure the Minimum password age (e.g. 7) so users can&#8217;t change their password frequently and must wait for certain number of days. The problem that you may run into is that when you have configured Minimum password age setting in Active Directory (which is quite common) and you change the password for the service account in SharePoint using the option Change password now as described in step 3 above, you may receive the following error:<\/span><br \/>\n<em><span style=\"color: #000000;\">Error: The password does not meet the password policy requirements.\u00a0 Check the minimum password length, password complexity and password history requirements.<\/span><\/em><\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/password_policy_error.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/password_policy_error.png\" alt=\"\" width=\"507\" height=\"137\" \/><\/a><br \/>\nThe easiest way to deal with this issue is to use the Change password now option but instead of using the Set account password to new value, select the option to <em>Use existing password<\/em>, as shown below, so there is no conflict with Active Directory group policy enforcement.<\/p>\n<p style=\"padding-left: 30px;\"><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/use_existing_password-720x340.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/use_existing_password-720x340.png\" alt=\"\" width=\"720\" height=\"340\" \/><\/a><\/p>\n<p style=\"padding-left: 30px;\"><strong><span style=\"color: #000000;\">How to Manually Change Passwords for Unmanaged Accounts<br \/>\n<\/span><\/strong><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Here are the guidelines for Unmanaged Accounts (i.e. accounts that cannot be mapped in Managed Accounts and require that their passwords be changed manually).<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>1. SQL Server service<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">The account you use in SharePoint for SQL Server service (e.g. SQL_Service) is the account that is specified during SQL Server installation and is the service account used for MSSQLSERVER and SQLSERVERAGENT. If you do not use the default SQL Server instance then these services will be shown in the Windows Services console as the following:<\/span><\/p>\n<p style=\"padding-left: 60px;\"><span style=\"color: #000000;\">MSSQL$InstanceName<br \/>\nSQLAgent$InstanceName<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Password for the SQL Server service account must be changed manually. This account should be changed in SQL Server Configuration Manager as described in the article<\/span> <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms174212.aspx\">SQL Server Configuration Manager<\/a>. <span style=\"color: #000000;\">Here&#8217;s Microsoft warning regarding SQL Server service account.<\/span><\/p>\n<blockquote style=\"padding-left: 30px;\">\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">&#8220;Always use SQL Server tools such as SQL Server Configuration Manager to change the account used by the SQL Server or SQL Server Agent services, or to change the password for the account. In addition to changing the account name, SQL Server Configuration Manager performs additional configuration such as setting permissions in the Windows Registry so that the new account can read the SQL Server settings. Other tools such as the Windows Services Control Manager can change the account name but do not change associated settings. If the service cannot access the SQL Server portion of the registry the service may not start properly.&#8221;<\/span><\/p>\n<\/blockquote>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">As the above warning points out, you should not use the Services Console (services.msc) to change the SQL Server or SQL Server Agent Services account name or account password. Instead, use the SQL Server Configuration Manager as described below.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #ff0000;\"><strong>WARNING!<\/strong><\/span> <em><span style=\"color: #000000;\">Do not follow Microsoft&#8217;s instructions in the TechNet article\u00a0<\/span><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc263226%28v=office.14%29.aspx\">Change passwords for SQL Server services (SharePoint Server 2010).<\/a> <span style=\"color: #000000;\">Use the instructions documented below.<\/span><br \/>\n<\/em><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Follow the instructions below and use the SQL Server Configuration Manager to change the password. <\/span><span style=\"color: #000000;\">For the purpose of this documentation, I will assume that you are running SQL Server 2008 R2.<\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Change the password for the SQL Server service account in Active Directory Users and Computers. <\/span><\/li>\n<li><span style=\"color: #000000;\">Click Start, All Programs, Microsoft SQL Server 2008 R2, Configuration Tools and then click SQL Server Configuration Manager.<\/span><\/li>\n<li><span style=\"color: #000000;\">In SQL Server Configuration Manager, click SQL Server Services.<\/span><\/li>\n<li><span style=\"color: #000000;\">Stop the SQL Server (MSSQLSERVER).<\/span><\/li>\n<li><span style=\"color: #000000;\">In the details pane, right-click SQL Server (MSSQLSERVER), or whatever the name of your SQL instance is, and then click Properties. The default name of the instance is MSSQLSERVER.<\/span><\/li>\n<li><span style=\"color: #000000;\">In the SQL Server (MSSQLSERVER) Properties dialog box, on the Log On tab, for the account listed in the Account Name box, type the new password and then confirm it.<\/span><span style=\"color: #000000;\"> The following screenshot is from a test environment where the account is using the Administrator account. In a production environment you are unlikely to have the Administrator account running as the SQL Server service account.<\/span><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/SQL_Server_Conrfig_Manager.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/SQL_Server_Conrfig_Manager.png\" alt=\"\" width=\"710\" height=\"492\" \/><\/a><\/li>\n<li><span style=\"color: #000000;\">Click OK.<br \/>\n<\/span><\/li>\n<li><span style=\"color: #000000;\">Restart the SQL Server service.<\/span><\/li>\n<li><span style=\"color: #000000;\">The password change takes effect immediately. There is no need to reboot the SQL Server.<\/span><\/li>\n<\/ol>\n<blockquote>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>SQL Server Agent Service<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">If you need to change the password for the SQL Server Agent service account, follow the above instructions except that in step 3 use the SQL Server Agent (MSSQLSERVER) account.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>SQL Server Reporting Services<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">To change the password for SQL Server Reporting Services account, use the <em>Reporting Services Configuration Manager<\/em> utility. In the left hand pane, click Service Account and change the password.<\/span><\/p>\n<\/blockquote>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>2. SharePoint Server (or SharePoint Foundation) Search Default Content Access Account and Content Access Accounts Defined in the Crawl Rules<br \/>\n<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Any content access account used with SharePoint Search crawl rules should have its password managed manually. In other words, do not use SharePoint&#8217;s Managed Account to manage the password for these accounts.<br \/>\n<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><span style=\"text-decoration: underline;\">NOTE<\/span>: In some environments, the Search service account may be the same as the Default Content Access Account. In that case use the following instructions and treat the account as an Unmanaged Account even though it exists in the Managed Accounts in SharePoint.<br \/>\n<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Follow these instructions to manually change the password for SharePoint Search Default Content Access Account.<\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Make sure you have changed the service account used for Search in Active Directory. If you haven&#8217;t, changed it now.<\/span><\/li>\n<li><span style=\"color: #000000;\">Login to the SharePoint Server 2010 with an account that has administrator privileges for the Search service application for which you want to change the default content access account.<\/span><\/li>\n<li><span style=\"color: #000000;\">Go to Central Administration -&gt; Application Management -&gt; Manage service applications.<\/span><\/li>\n<li><span style=\"color: #000000;\">On the Manage Service Applications page click the Search service application for which you want to change the default content access account.<\/span><\/li>\n<li><span style=\"color: #000000;\"><span style=\"color: #000000;\">On the Search Service Application: Search Administration page, in the System Status section, locate the default content access account, as shown below.<\/span><\/span><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/default_content_access_account.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/default_content_access_account.png\" alt=\"\" width=\"642\" height=\"394\" \/><\/a><\/li>\n<li><span style=\"color: #000000;\">Click the default content access account name. The Default Content Access Account dialog box appears.<\/span><\/li>\n<li><span style=\"color: #000000;\"><span style=\"color: #000000;\">Type the new password and confirm it, then click OK.<\/span><\/span><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/DefaultContentAccessAcctPassword.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/DefaultContentAccessAcctPassword.png\" alt=\"\" width=\"720\" height=\"300\" \/><\/a><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><span style=\"text-decoration: underline;\">NOTE<\/span>: This above procedure only changes the password for the <em>Default Content Access Account<\/em>. If you are using a different account in a crawl rule and you want to change the password for that account, you need to change the crawl rule.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>3. Account Used for External Data Source<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Password for account used for external data source must be changed manually. Any credentials that are used to access external data sources and are stored in the Secure Store service application should not be managed in Managed Account in SharePoint. For information on how to deal with these accounts check out this Microsoft article<\/span> <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ee806866%28v=office.14%29.aspx\"><span style=\"font-family: Arial;\">Configure the Secure Store Service (SharePoint Server 2010)<\/span><\/a>.<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>4. User Profile Synchronization Service Account<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\">Follow these instructions to manually change the password for User Profile Synchronization Service account.<\/p>\n<ol>\n<li><span style=\"color: #000000;\">According to Microsoft&#8217;s blog on MSDN, because you c<\/span>hanged the password the User Profile Synchronization Service should have stopped and you need to restart the service. In my tests, the UPS service never stopped and I was able to change the password in Active Directory and then successfully use the new password in the UPS Connection Account to populate the containers, as described in the next section.<\/li>\n<li>If your User Profile Synchronization Service has stopped then you need to start the service by going to Central Administration -&gt; System Settings -&gt; Manage services on server.<\/li>\n<li>After you click Start, enter the new password for the UPS service account and then confirm it.<a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/ups_password-520x245.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/01\/ups_password-520x245.png\" alt=\"\" width=\"520\" height=\"245\" \/><\/a><\/li>\n<li>Click OK.<\/li>\n<li>It may take a while for the service to be started so be patient. You have to keep refreshing the screen manually because it won&#8217;t refresh automatically.<\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>5. User Profile Synchronization Connection Account<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Follow these instructions to manually change the password for User Profile Synchronization Connection account.<\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Go to Central Administration -&gt; System Settings -&gt; Manage services on server.<\/span><\/li>\n<li><span style=\"color: #000000;\">Go to your User Profile Service Application.<\/span><\/li>\n<li><span style=\"color: #000000;\">In the Synchronization section, click Configure Synchronization Connections. If the UPS service has stopped, you won&#8217;t see anything in the list of connections and you will have to start the UPS service before you can perform this step.<\/span><\/li>\n<li><span style=\"color: #000000;\">Use the drop-down button next to your connection and select Edit. If the UPS service is currently synchronizing you won&#8217;t be able to edit the list and you should let the synchronization finish before you edit the connection.<\/span><\/li>\n<li><span style=\"color: #000000;\">In the Connections Settings, enter the new password and confirm it, then click Populate.<\/span><\/li>\n<li><span style=\"color: #000000;\">If the password change didn&#8217;t work then you will get the following error.<\/span><br \/>\n<span style=\"color: #000000;\"><span style=\"color: #000000;\"> <em>The supplied credential is invalid.<\/em><\/span><\/span><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/invalid_credentials.png\"><img decoding=\"async\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2014\/02\/invalid_credentials.png\" alt=\"\" width=\"273\" height=\"241\" \/><\/a><\/li>\n<li><span style=\"color: #000000;\">If your password change worked then the accounts will be populated and you will see the Active Directory containers. The accounts that you had selected in the past should already be selected so all you have to do is click OK to start the synchronization process.<\/span><\/li>\n<li><span style=\"color: #000000;\">Your changes will be processed and you will be back at the Synchronization Connections screen. Go back to the User Profile Service Application screen (step 1 &amp; 2 above).<\/span><\/li>\n<li><span style=\"color: #000000;\">To test your profile synchronization, create a new test account and run the synchronization process so that you can verify that the password change has been successful.<\/span><\/li>\n<li><span style=\"color: #000000;\">Make a note of the number of profiles on the right hand side. After your test the number should change.<\/span><\/li>\n<li><span style=\"color: #000000;\">Create the test account in Active Directory and then click Start Profile Synchronization in the Synchronization section. You can use the option Start Incremental Synchronization.<\/span><\/li>\n<li><span style=\"color: #000000;\">The synchronization will take some time so be patient and keep refreshing your screen manually (use F5).<\/span><\/li>\n<li><span style=\"color: #000000;\">Delete the test account after the synchronization has completed successfully.<\/span><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><strong><span style=\"color: #000000;\">6.<\/span> <span style=\"color: #000000;\">Unattended Execution Accounts (Excel, Visio)<\/span><\/strong><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">If you have configured these unattended execution accounts then you need to go to the Secure Store service application because that&#8217;s where these accounts are stored.<\/span><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">Follow these instructions to manually change the password for unattended execution accounts.<\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Go to Central Administration -&gt; System Settings -&gt; Manage services on server.<\/span><\/li>\n<li><span style=\"color: #000000;\">Go to the Secure Store Service Application.<\/span><\/li>\n<li><span style=\"color: #000000;\">Use the drop-down next to the service application (e.g. Excel Services) and click Set Credentials.<\/span><\/li>\n<li><span style=\"color: #000000;\">Provide the service account name and password.<\/span><\/li>\n<li><span style=\"color: #000000;\">You will need to repeat these steps for unattended execution account for Visio if necessary.<\/span><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\"><strong>7. PerformancePoint Unattended Service Account<\/strong><\/span><\/p>\n<ol>\n<li><span style=\"color: #000000;\">Go to Central Administration -&gt; System Settings -&gt; Manage services on server.<\/span><\/li>\n<li><span style=\"color: #000000;\">Go to the PerformancePoint Services Service Application.<\/span><\/li>\n<li><span style=\"color: #000000;\">Click PerformancePoint Service Settings on the Manage PerformancePoint Services page.<\/span><\/li>\n<li><span style=\"color: #000000;\">Enter the\u00a0new password for the account in the Unattended Service Account section and then click OK.<\/span><\/li>\n<\/ol>\n<p style=\"padding-left: 30px;\"><strong><span style=\"color: #000000;\">8. Object Cache Super User and Object Cache Reader Accounts<\/span><\/strong><\/p>\n<p style=\"padding-left: 30px;\"><span style=\"color: #000000;\">There is no need to do anything in SharePoint for these accounts. All you have to do is change the passwords for these accounts in Active Directory. That&#8217;s it.<br \/>\n<\/span><\/p>\n<p><strong>References:<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd560633%28v=ws.10%29.aspx\">Introducing Managed Service Accounts<\/a><\/li>\n<li><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ff641729%28WS.10%29.aspx\">Managed Service Account FAQs<\/a><\/li>\n<li><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/dd548356.aspx\">Service Accounts Step-by-Step Guide<\/a><\/li>\n<li>SharePoint 2010 &#8211; Service Accounts Passwords Change Guide<\/li>\n<li><a href=\"http:\/\/blogs.technet.com\/b\/seanearp\/archive\/2011\/01\/25\/updating-passwords-on-sharepoint-2010.aspx\">Updating Passwords on SharePoint 2010<\/a><\/li>\n<li><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms174212.aspx\">SQL Server Configuration Manager<\/a><\/li>\n<li><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms365941%28v=sql.105%29.aspx\">How to: Change the Password of the Accounts Used by SQL Server (SQL Server Configuration Manager)<\/a><\/li>\n<li><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/cc263275.aspx\">Change the password for the default content access account (SharePoint Server 2010)<\/a><\/li>\n<li><a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ee806866%28v=office.14%29.aspx\">Configure the Secure Store Service (SharePoint Server 2010)<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><span style=\"font-size: xx-small; font-family: Verdana; color: #000000;\">Copyright \u00a92014 Zubair Alexander. All rights reserved.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Managing service accounts on Windows servers have been a challenge for most organizations for quite some time. In recent years, Microsoft has made several enhancements to minimize the pain. In Windows Servers 2008 R2 Microsoft introduced the Managed Service Accounts, which are by default created in the Managed Service Accounts organizational unit (OU) in the [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[6,43,57,24,54,59],"tags":[],"class_list":["post-4445","post","type-post","status-publish","format-standard","hentry","category-active-directory","category-articles","category-scripting","category-security","category-sharepoint","category-sql-server"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/4445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=4445"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/4445\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=4445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=4445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=4445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}