configuration cache clearing sharepoint 2019 step by step

in this post we will discuss how configuration cache clearing sharepoint 2019 is done in on-premise environment step by step. clearing configuration cache involves below steps

  • Stop the sharepoint “SharePoint Timer Service (SPTimerV4)” “.
  • Delete all files of type “XML Document” from “Config” folder.
  • Take Back up of file “cache.ini” file.
  • Edit the value present in the file “cache.ini” and save.
  • Restart timer job “SharePoint Timer Service (SPTimerV4)“.
Advertisements

Stop timer job service SharePoint Timer Service (SPTimerV4)

first you need to stop the timer job service “sharepoint timer serivce (SPTimerV4)“. You can stop the timer service either directly opeining from services or you can use powershell command to stop sharepoiint timer service job.

Open “Run” from windows server or click button “Windows + R” to open “Run“.

how to open services.msc from windows server 2019
open services.msc
Advertisements

identifty the timer job “SharePoint Timer Service (SPTimerV4)“. Right click on the timer job, click on “Stop“.

how to stop services sharepoint timer services SPTimerV4 during configuration cache clearing
stop services sharepoint timer services
Advertisements

you can stop timer job “SharePoint Timer Service (SPTimerV4)” using powershell command as well. Open sharepoint timer services preoperties.

sharepoint timer services preoperties
sharepoint timer services preoperties
Advertisements

Open “Windows Powershell ISE” as an administrator and enter the command below to stop services.

Stop-Service -Name SPTimerV4
stop-service using powershell
stop-service using powershell
Advertisements

Navigate to sharepoint configuration cache location “C:\ProgramData\Microsoft\SharePoint\Config“. There will be one folder under which cache files will be there. click on that folder as per the screenshot below.

sharepoint configuration cache location
Advertisements

Delete all “XML Document” files present in that folder except “cache.ini“.

delete configuration cache files sharepoint during configuration cache clearing sharepoint 2019
Delete configuration cache files (XML Document)
Advertisements

Open the file “cache.ini” and edit value to “1” and “Save” the file.

edit the vluse present under file cache
Edit the vluse present under file cache
Advertisements

Restart the timer job now which will recreate the cache files. Run the below command so as to start sharepoint timer service.

Start-Service -Name SPTimerV4
start-service
start-service
Advertisements

Cache files will be recreated in the folder “Cache”.

configuration cache clearing
configuration cache created again
Advertisements

Configuration Cache Clearing SharePoint 2019 | #SharePoint, #SharePoint2019, #ConfigCache

Configuration Cache Clearing SharePoint 2019 | #SharePoint, #SharePoint2019, #ConfigCache
Advertisements



Categories: Cache, patching, SharePoint 2019, sharepoint cache

Tags: , , , , , , , , , , , , ,

%d bloggers like this: