How to Remove Outdated Content from the CCM Cache Folder

With Right Click tools, clearing outdated content from the CCM cache folder is super easy, but before I show you how to do this, let me tell you about a situation I once faced. Maybe you can relate.

One of the companies I worked at, in my career as a Desktop Engineer, decided that every laptop distributed to the workforce should have a solid-state drive (SSD) for their main hard drive. This sounded like a great idea until the new laptops started coming in. It was then that we noticed the specs on our new hard drives. In an effort to keep costs low, management went with the 128 GB version of those SSDs. After installing Windows and our primary applications, many of the hard drives had minimal space left. Often, we would see Windows Updates failing because the drives were full. It was a mess.

What did we do? We ran scripts to empty the CCM cache folder, but we could have been much more targeted in the content that we cleared. If only we had Right Click Tools.

Removing Outdated Content from the CCM Cache Folder with Right Click Tools

Right Click Tools compares items in the cache with the ConfigMgr database, so you can be assured about what you are deleting.

Another nice feature of using Right Click Tools to delete content is that when the content is removed from a device, the Configuration Manager client is informed that the content is no longer in the cache. What this means is that this should allow the space to be used for other content immediately. That’s convenient and easy.

The free Community version of Right Click Tools allows you to remove outdated content on each device. If only I could have been so lucky as to have been using the Enterprise version. Why? Then, we could have removed the content on multiple devices all at the same time!

Getting Started

In the ConfigMgr console, inside the Assets and Compliance section, select the device or devices on which you want to clear cache space. Right click and select Client Tools -> Client Information.

Client Information

When the client information window opens, select Cache Details.

Cache Details

Cache Details

The cache details will open, and Right Click Tools will compare the items in the cache with the ConfigMgr database.

Outdated content from the CCM cache folder - Client Information - Cache Details

When you see items with names, such as Right Click Tools 4.7.2106.3502 (in the example above) that means that those items were connected with content that exists in the ConfigMgr database.

Note: If the content still exists in Configuration Manager, it might make sense to check whether that content is part of a needed deployment prior to deleting.

If you see any items that return with the name Orphaned Content, these items do not correspond to any content in the Configuration Manager database. Orphaned Content items can safely be deleted because they are no longer a part of any deployments.

In the case of the Right Click Tools 4.7.2106.3502 example, I know that this is an older version, so I can go ahead and safely delete it.

Deleting Items

Delete Content

As shown in the screenshot above, you can multi-select content to be removed, or you can select all the content at once and click the Delete Content button at the top.

Outdated content from the CCM cache folder - Delete Cache Content - Complete

The resulting dialog box will show that the selected pieces of content have been successfully removed.

More Resources

Now you know how Right Click Tools can help you remove outdated content from the CCM cache folder. When content becomes outdated and you need additional space, Right Click Tools can quickly save the day.

Here are some other articles you might find useful:

Configure the content cache for Configuration Manager clients
https://docs.microsoft.com/en-us/mem/configmgr/core/clients/manage/configure-client-cache

Here’s a cool way to remove applications from the CCM cache after they’ve installed themselves in a task sequence. https://www.prajwaldesai.com/clear-application-content-from-sccm-client-cache/

If you have any additional questions, please feel free to reach out to me @ConfigMarty or Recast @RecastSoftware on Twitter.

For more information about Right Click Tools, please visit our website.

See how Right Click Tools are changing the way systems are managed.

Immediately boost productivity with our limited, free to use, Community Edition.

Get started with Right Click Tools today:

Share this:

Support

  • This field is for validation purposes and should be left unchanged.

Contact

  • This field is for validation purposes and should be left unchanged.
en_USEnglish