How to change the password of SharePoint service accounts

  • Change the password in AD Users and Computers as you would normally.
  • Log in to the SharePoint Server
  • Launch SharePoint Management Shell as an administrator.
  • Execute the following:
$username=”DOMAIN\spFarm”
$newpassword=ConvertTo-SecureString -String “password” -AsPlainText -Force
Set-SPManagedAccount -Identity $username -ExistingPassword $newpassword -UseExistingPassword:$true
  • This can take a minute or two to complete. There’s a lot to update here and these changes are intricate.
  • Now, open the Windows Server Services control panel on the SharePoint Server machine you are currently logged into, and then sort by the Log On As
  • Scroll down until you see the services having the server farm account (eg, spFarm).
  • For each of these services:
  • 1) verify that it is running;
  • 2) if its Startup Type has been changed to Disabled, change it back to Auto;
  • 3) if it is not running then start it;
  • 4) if on trying to start it, it prompts you for logon information, enter the appropriate logon info, including the new password, and then start it.
  • Go back to Central Administration and System Settings > Services on Server.
  • Start any service here that should be started but that stopped after you changed the password.
Advertisements

Control whether PDFs open in Word Web App or the default PDF reader

https://blogs.technet.microsoft.com/office_resource_kit/2013/07/31/control-whether-pdfs-open-in-word-web-app-or-the-default-pdf-reader/

Other articles to check.

The following command will fix the situation, where PDF documents will always open in the default PDF reader, but previewing won’t work anymore
Get-SPWOPIBinding –Application “WordPDF” | Remove-SPWOPIBinding -Confirm:$false

The following fixed all my problems  Your PDF documents will be opened in the default PDF reader, the preview will work and Word Web App will present the PDF documents in the “embedview”.

Get-SPWOPIBinding -Action “embedview” -Application “WordPdf”| Set-SPWOPIBinding -DefaultAction

change the password of the SQL sa account

Make sure the SQL Authentication is set to ‘SQL Server and Windows Authentication Mode’

Using SQL Server Management Studio

To change security authentication mode

  1. In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
  2. On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
  3. In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
  4. In Object Explorer, right-click your server, and then click Restart. If SQL Server Agent is running, it must also be restarted.

To enable the sa login

  1. In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
  2. On the General page, you might have to create and confirm a password for the login.
  3. On the Status page, in the Login section, click Enabled, and then click OK.

Change the password

  • Click on Security – Logins
  • Right Click on the SA Account
  • Click on Properties
  • Change the password and click OK

Restart the following SQL services and restart the server if needed

  • SQL Server (MSSQLSERVER)
  • SQL Server Agent (MSSQLSERVER)

Clear the SharePoint Configuration cache

To clear the config cache on the farm, follow these steps:

  • Stop the OWSTIMER service on ALL of the MOSS servers in the farm.
  • On the Index server, navigate to:

Server 2008/2012 location: Drive:\ProgramData\Microsoft\SharePoint\Config\GUID and delete all the XML files from the directory.

  • Delete all the XML file in the directory. NOTE: ONLY THE XML FILES, NOT THE .INI FILE.
  • Open the cache.ini with Notepad and reset the number to 1. Save and close the file.
  • Start the OWSTIMER service on the Index server and wait for XML files to begin to reappear in the directory.
  • After you see XML files appearing on the Index server, repeat steps 2, 3 & 4 on each query server, waiting for XML files to appear before moving to subsequent servers.
  • After all of the query servers have all been cleared and new .xml files have been generated, proceed to the WFE and Application servers in the farm, following steps 2, 3, 4 and 5 for each remaining server.