Optimizing SCCM:Clear Client Cache

Graham Lake-Johns

As a Senior Microsoft M365 Consultant based in Ottawa, Canada, I have been enriching the IT industry since 2000. My expertise lies in designing, deploying, and configuring SCCM, specializing in the mass deployment of Windows operating systems, Office 365, and Intune, to streamline and modernize enterprise IT environments.
How to Manage SCM Client Cache Remotely

SCCM Clear Client Cache

 

Microsoft Endpoint Configuration Manager (MECM) is a robust tool that plays a pivotal role in efficiently managing and deploying software across an organization’s network. As the backbone of software management, MECM ensures that software updates, applications, and packages are distributed seamlessly to client systems.

However, with the increasing complexity of software deployments and updates, managing the MECM client cache folder has become a critical consideration for ensuring optimal performance and resource utilization. This is part of managing the overall SCCM client health in your organization. If you are interested in other SCCM client health tips, we have posts covering How to Check for High Uptime and Pending Reboots and Easy SCCM Client Health Checks. Also, have a look at this post if you are looking to Increase the SCCM Cache Size.In this blog post, we will delve into the importance of managing the MECM client cache folder.

What is the SCCM client cache folder?

The client cache stores temporary files when MECM clients install applications, programs, and software updates. The default location for the Configuration Manager client cache is %windir%\ccmcache, and the default disk space is 5120 MB unless otherwise configured in the MECM client settings.

Why is it important to clean up the client cache folder?

Unmanaged cache folders can pose several challenges. As the number of software deployments increases, the cache folder can accumulate a significant amount of content, leading to disk space constraints. This can impact the ability to download and store new packages, as well as cause system performance issues. A cluttered client cache folder can lead to software deployment failures, as outdated or corrupted packages might interfere with the installation process. Thus, the proactive management of the SCCM cache folder is essential to maintaining a healthy and efficient software deployment environment.

How to quickly clean up the client cache with MPA Tools

In the examples below, we will use a test virtual machine with a client cache folder configured with a maximum size of 20 GB containing the content for a number of packages representing a typical deployment of Windows with Office 365, additional applications, and software updates.

On any modern-day desktop or laptop, nearly 20 GB of used disk space is negligible and would not typically have any implications unless there are other factors involved. However, for virtual machines, disk space often comes with a premium, and 20 GB of used disk space may very likely have an impact on both cost and performance.

We will walk through how to quickly clear the SCCM client cache in the following scenarios:

  • Single computer
  • Multiple computers
  • Repeatable action sequence for either single or multiple computers

 

Clean the client cache with MPA Tools for a single computer

In MPA Tools, select a single client and then click the SCCM client button from the vertical toolbar on the right.

A screenshot of a computer Description automatically generated

On the right-hand menu, you can see that there is only 1 GB of 20 GB free. Click the Clean Cache button near the bottom, and then click Yes to the prompt to clean the client cache.

A screenshot of a computer Description automatically generated

A screenshot of a computer Description automatically generated

After that, the action status for clearing the client cache appears.

A screenshot of a computer Description automatically generated

After the clean-up action is complete, there is now 20 GB of 20 GB available.

A screenshot of a computer Description automatically generated

If we click on the >> button, we can see that the action was a success under the action status.

A screenshot of a computer Description automatically generated

If we navigate to the client cache folder (ccmcache), we can see that there is no longer any content subfolders.

A screenshot of a computer Description automatically generated

Clean the client cache with MPA Tools for multiple computers

In MPA Tools, select multiple computers and then click the Actions button.

A screenshot of a computer Description automatically generated

Select SCCM Client Properties from the middle menu. Scroll down to Client Tools and expand the options. Click the lock button to unlock the options, then select the Clean Cache radio button. Then click the Run Now button.

A screenshot of a computer Description automatically generated

The action status will now appear.

A screenshot of a computer Description automatically generated

Once the action is complete for each system, we can click on the log button to see the action log and the resulting action status.

A screenshot of a computer Description automatically generated

If we navigate to the client cache folder (ccmcache) on each client, we can see that there is no longer any content subfolders.

A screenshot of a computer Description automatically generated

A screenshot of a computer Description automatically generated

Clean the client cache with MPA Tools using the Action Workflow

Same as above, in MPA Tools, select multiple computers and then click the Actions button.

A screenshot of a computer Description automatically generated

Same as above, select SCCM Client Properties from the middle menu. Scroll down to Client Tools and expand the options. Click the lock button to unlock the options, then select the Clean Cache radio button. However, this time, click the Add button instead of Run Now.

A screenshot of a computer Description automatically generated

This will add the action to the sequence workflow. From here, you will have the option to configure the action to wait for the task to finish before moving on to the next task and/or configure the action to stop the sequence if the task fails (as shown below).

A screenshot of a computer Description automatically generated

A screenshot of a computer Description automatically generated

Click the save button to save the action workflow.

A screenshot of a computer Description automatically generated

Navigate to the folder path where you would like to save the action sequence file and then click the Save button.

A screenshot of a computer Description automatically generated

The action sequence file will now appear in the action workflow drop-down list.

A screenshot of a computer Description automatically generated

The action workflow drop-down list will be cleared when MPA Tools is closed. However, the action workflows can be re-loaded by clicking the Load button.

A screenshot of a computer Description automatically generated

The action workflow can then be executed by clicking the triangle Play button.

A screenshot of a computer Description automatically generated

In conclusion, the efficient management of the SCCM client cache folder is a crucial aspect of optimizing the performance and reliability of software deployments. Automating the cleanup process offers significant advantages, including improved disk space utilization, reduced network congestion, and enhanced software deployment experiences. As organizations continue to rely on SCCM for software management, embracing automation becomes a strategic move toward maintaining a robust and efficient IT environment.

MPA TOOLS can help with all SCCM ACTIVITIES!

Frequently Asked Questions (FAQs)

Why is managing the SCCM client cache folder important?

The SCCM client cache folder stores temporary files for software installations and updates. Efficient management is crucial to prevent disk space constraints, performance issues, and software deployment failures caused by outdated or corrupted packages. Proper management ensures a healthy and efficient software deployment environment.

What is the default location and size of the SCCM client cache folder?

The default location for the Configuration Manager client cache is %windir%\ccmcache, with a default disk space of 5120 MB unless otherwise configured in the MECM client settings.

How can I clean the SCCM client cache using MPA Tools for a single computer?

Within MPA Tools, select a specific client, access the SCCM client properties, and click on the “Clean Cache” button. This action frees up space in the client cache folder, indicated by the increased available disk space and the removal of content subfolders in the cache directory.

Is there a method to clean the SCCM client cache for multiple computers using MPA Tools?

Yes, MPA Tools allows the cleaning of the client cache for multiple computers simultaneously. By selecting multiple clients, accessing the SCCM client properties, and choosing the “Clean Cache” option under Client Tools, the action can be run concurrently on all selected systems.

How can I automate the SCCM client cache cleanup using MPA Tools' Action Workflow?

Using the Action Workflow feature in MPA Tools, administrators can create a sequence of actions to automate SCCM client cache cleanup for multiple computers. This involves selecting multiple clients, configuring the “Clean Cache” action within the workflow, saving the action sequence file, and executing it. This automation streamlines the process, enhancing disk space utilization and software deployment experiences.
Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Pin It on Pinterest

Share This