Clear MECM Client cache

Clear MECM Client cache

Clearing the MECM (Microsoft Endpoint Configuration Manager) client cache can help resolve issues like outdated content or when troubleshooting client installation problems. The client cache stores temporary files, such as software update packages, application content, and downloaded deployment packages, which can take up space on the client machine.

Here’s how to clear the MECM client cache:

Steps to Clear the MECM Client Cache:

Method 1: Clear Client Cache via the Control Panel

  1. Open Control Panel:
    • Press Windows + R, type control, and press Enter to open the Control Panel.
  2. Access Configuration Manager:
    • In the Control Panel, change the view to Large Icons or Small Icons.
    • Click on Configuration Manager.
  3. Go to the Cache Tab:
    • In the Configuration Manager window, go to the Cache tab.
  4. Clear Cache:
    • You will see the current cache size and other details about the cache.
    • Click on Delete Files to clear the cache completely.
  5. Confirm the Action:
    • A confirmation prompt will appear. Click Yes to confirm that you want to delete the cache.
  6. Close the Configuration Manager:
    • Once the cache is cleared, close the Configuration Manager window.

Method 2: Clear Client Cache Using Command Prompt

If you prefer to clear the cache via command line, follow these steps:

  1. Open Command Prompt as Administrator:
    • Press Windows + X and select Command Prompt (Admin) or Windows PowerShell (Admin) from the menu.
  2. Run the Cache Clear Command:
    • To clear the cache manually, type the following command:bashCopy codeC:\Windows\CCM\Cache\ccmclean.exe
    • This will run the CCMCache cleanup utility and remove all cached content.
  3. Verify Cache Deletion:
    • After running the command, verify that the cache folder is empty by navigating to the C:\Windows\CCM\Cache directory. The cache folder should be empty, or nearly empty.

Method 3: Clear Cache Using PowerShell (For Multiple Clients)

If you need to clear the cache on multiple machines remotely, you can use PowerShell to automate the process.

  1. Open PowerShell as Administrator:
    • Press Windows + X and select Windows PowerShell (Admin).
  2. Run the PowerShell Command:
    • To clear the cache, run the following PowerShell command:powershellCopy codeRemove-Item -Recurse -Force C:\Windows\CCM\Cache\*
    • This command will delete all files inside the CCMCache folder.
  3. Verify Cache Deletion:
    • Ensure that the CCMCache folder is cleared after executing the command.

Additional Notes:

  • Cache Size: The cache is typically set to 5GB by default. You can adjust the cache size limit via Client Settings in the MECM console to suit your organization’s needs.
  • Why Clear the Cache?: Clearing the cache may help with issues related to missing content, failed application installations, or when updating content that has not yet been cleared.
  • Impact: Clearing the cache will remove downloaded content, so the client will need to download the content again when required.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *