Skip to content

jay0lee/cmdc

Repository files navigation

Try it now

Chrome Managed Data Cleanup

Chrome Managed Data Cleanup (CMDC) is a Chrome extension which aids admins in bulk user Chrome data cleanup. How often have you told users to "delete your cache and cookies" in order to resolve a browser issue? CMDC automates the cleanup process for your users. Admins can automatically empty users cache, history and cookie data. To use CMDC, an administrator must force install the extension for users and configure the app policy.

Getting started

  1. It's recommended that you figure out the minimal amount of data that needs to be removed in order to solve the issue. For example, the extension could fix the problem by deleting all user cookies but losing all web settings and logins will be frustrating to your users and it's a sledgehammer approach. You may be able to fix the problem by only deleting the specific problematic cookie from one website. It's best to try deleting browser data for a few test users interactively to determine exactly what data you need to remove to solve the issue.
  2. Now manually install the extension for one user. This will be used to configure the policy that will be set for all users. After install, click the extension broom icon and choose "Options".
  3. There are 3 categories of data CMDC can clear: general data, specific cookies and specific history. Check the box for each of these areas you wish to clear. Clearing history and cookies via the general data setting globally removes all of those items based on the time set while using the specific history/cookies setting allows a finer grained approached based on name, site, etc.
  4. Once you've configured the options as desired, click the "Download policy" button to save a copy of the resultant policy to disk. You'll need this later to set the policy for all users. You can learn more about the policy file format in the wiki.
  5. CMDC is meant to be force installed for managed Chrome users. You can force install extensions from the Google admin console or from managed Windows, Macos and Linux devices. CMDC does not work if it wasn't force installed.
  6. After force installing the extension, you need to set policy for the extension. The policy tells the extension what data you wish to cleanup. Upload the policy file you generated from the Options page above.
  7. The extension will clear user data based on install and then again any time it detects the extension policy has been updated / changed. Outside of these times, the extension should be inactive and not using any system resources.