Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
7.6k views
in Blog Post by 63 69 85

In this post, we'll go through step-by-step instructions for clearing the SharePoint configuration cache in SharePoint Server 2019 in an on-premises environment.

Why do you need to clear SharePoint Configuration Cache?

Clearing the cache in SharePoint is one of the first steps in troubleshooting and the great one for unexpected issues in the SharePoint for example:

How to Clear SharePoint Configuration Cache?

On each and every server in your SharePoint farm, you must do the following steps:

  1. Stop the SharePoint Timer service on all the servers.
  2. Clear SharePoint Cache files.
  3. Modify the Cache.ini.
  4. Start SharePoint Timer Service.

1) Stop the SharePoint Timer service on all the servers.

  • Open services then search for "SharePoint Timer service" right click then stop.

stop SharePoint timer service

  • Or you can stop service through Powershell
    net stop SPTimerV4

2) Navigate to the following folder:

  • %SystemDrive%\ProgramData\Microsoft\SharePoint\Config
  • Locate the folder with a GUID name, such as 61450a31-c061-4303-a51a-52fc9ac7ba5d.

Config folders

3) Delete Temp files

  • Open the relevant folder and delete all files EXCEPT the Cache.ini file. (DO NOT DELETE THIS FILE)

Cache.ini

  • After deleting files, Cache.ini should be the only file in the folder.

4) Modify the Cache.ini

  • Open Cache.ini file in notepad.
  • Delete the content of the file for example (23139).
  • Replace the deleted content with number one (1) as shown in the below image.

Replace content to number 1

  • Save and exit the Cache.ini file

5) Start SharePoint Timer Service

Once the steps are done for each server in the farm, start the SharePoint Timer Service again. 

  • Open services then search for "SharePoint Timer service" right click then start.
  • Or you can start service through Powershell
    net start SPTimerV4
  • The SharePoint Timer Service will begin populating this folder and modifying the number in the Cache.ini file.

See Also


If you don’t ask, the answer is always NO!
...