Your Search Bar For Shrewd Tips

How Do I Clear Mmc Cache?


If Microsoft Management Console (MMC) is behaving strangely, clearing its per-user cache can help resolve problems such as a snap-in that will not load, a console that opens with outdated settings, or a window that keeps freezing. In Windows, MMC-related files are usually stored in your user profile, so clearing them affects that Windows account rather than every user on the computer. The safest approach is to close MMC, back up or rename its cache folder, and then let Windows recreate it when needed.

What Does the MMC Cache Store?

MMC is the Windows framework used to run administrative tools, known as snap-ins. Examples include Event Viewer, Device Manager, Services, and the Certificates snap-in. Administrators can also combine snap-ins in a custom console and save that console as an .msc file.

When people refer to the “MMC cache,” they usually mean files in the current user’s AppData\Roaming\Microsoft\MMC folder. These files can hold information related to MMC snap-ins, console preferences, and saved interface state. A damaged or stale file may contribute to a snap-in or console problem.

This folder is not a universal cache for all Windows administration tools. Clearing it will not erase Event Viewer logs, Windows Update downloads, browser data, or every setting a snap-in may use. Some snap-ins store data elsewhere, and a saved .msc console may be located in a separate folder. The exact effect of removing MMC-related files depends on which snap-ins you use and how your consoles are configured.

Before You Clear the MMC Cache

Close all open MMC windows before changing the cache files. If a console is still running, it may keep files in use or write its current settings back to the folder when it closes. If you have custom consoles or rely on particular views and layouts, make a backup first.

It is usually safer to rename the MMC folder than to permanently delete it. Renaming gives you a quick way to restore the original files if a snap-in loses a setting you need. Windows or MMC can create a fresh folder the next time the relevant tool runs.

  • Save any work in open administrative tools.
  • Close MMC consoles, including Event Viewer or Services if they were opened as MMC windows.
  • Make a note of custom console locations and any unusual snap-in settings.
  • Do not remove unrelated Windows folders or files while troubleshooting.

How to Clear the MMC Cache in Windows

The steps below work on current versions of Windows, including Windows 10 and Windows 11. You do not normally need administrator rights to clear the current user’s MMC folder. If you are using a managed work or school computer, follow your organization’s IT guidance before changing administrative tool settings.

  • Close MMC. Exit every open Microsoft Management Console window. If you are unsure whether a tool is still open, save your work and close it before continuing.
  • Open the Roaming profile folder. Press Windows key + R to open the Run dialog. Enter %appdata%\Microsoft, then press Enter. This opens the Microsoft folder inside your current Windows user’s roaming AppData location.
  • Find the MMC folder. Look for a folder named MMC. If you do not see it, verify that you entered the path correctly and that you are signed in to the Windows account where the problem occurs.
  • Back up or rename the folder. Right-click MMC, select Rename, and change its name to something like MMC.old. Alternatively, copy it to a safe location before removing any files.
  • Reopen the affected console. Launch the snap-in or .msc console that was having trouble. Windows or MMC may create a new MMC folder or new snap-in files as required.
  • Check the result. Confirm that the snap-in opens and behaves normally. If everything works, you can remove the backup later. Keep it temporarily if you may need to restore previous settings.

Renaming the entire folder is a convenient way to test whether its contents are involved, but it can reset preferences for more than one snap-in. If you prefer a smaller change, open the MMC folder and move only the file associated with the affected snap-in to a backup folder. File names and contents can differ between Windows versions and snap-ins, so do not remove a file unless you can identify it or have made a backup.

How to Use File Explorer Instead

You can reach the same location through File Explorer if you do not want to use the Run dialog. Open File Explorer, select the address bar, and enter %appdata%\Microsoft\MMC. Press Enter. If Windows reports that the location cannot be found, the folder may not have been created for that account yet, or the path may have been entered incorrectly.

AppData is a hidden folder by default, but entering the path directly should take you to it without changing hidden-file settings. Avoid browsing to a similarly named folder under Windows or Program Files; the instructions here are for the current user’s profile.

What Happens After You Clear the Cache?

When you reopen an affected console, MMC may rebuild files and restore default or newly generated interface state. You may notice that a snap-in’s layout, previously selected view, or other saved preferences have changed. You might also need to reopen a custom .msc file from its original location, because that saved console is separate from the cache folder.

Clearing the cache should not normally remove the underlying Windows service, device, certificate, event log, or other system information managed by a snap-in. However, a console’s appearance and some user-specific settings may be reset. If the computer is shared, remember that these instructions affect the account in which you performed them; another user has a separate profile and MMC folder.

How to Restore the MMC Cache

If clearing the folder does not help, or if you lose a setting you need, close MMC again and restore the backup. If you renamed the original folder to MMC.old, remove or rename the newly created MMC folder, then rename MMC.old back to MMC. Do not overwrite files blindly if you need to keep newly created settings; copy the backup somewhere safe first.

After restoring the folder, reopen the console and check whether its previous configuration returns. If the original problem comes back too, the cause may be one of the restored files, an issue in the snap-in itself, or a separate Windows problem. In that case, keep a backup and continue troubleshooting rather than repeatedly deleting files.

If Clearing the MMC Cache Does Not Work

Cache cleanup is a troubleshooting step, not a guaranteed fix. A snap-in may fail because of a damaged Windows component, a permissions issue, a software update, a problem with the console file, or an error in a related service. Try these checks before making broader changes:

  • Test another snap-in. Open a different MMC tool, such as Services or Event Viewer. If only one snap-in fails, the issue may be specific to that tool rather than MMC as a whole.
  • Open a fresh console. Press Windows key + R, enter mmc, and press Enter. If the blank console opens, use its File menu to add the snap-in you need. This helps distinguish a problem with a saved .msc file from a problem with MMC itself.
  • Check the saved console. If you normally open a custom .msc file, try opening a fresh console instead. The saved file may have a broken configuration even if the MMC framework is working.
  • Restart Windows. A restart can release files that were locked by a console process and ensure that the next launch starts cleanly.
  • Review relevant errors. If a snap-in still fails, look for a specific error message. For system-level problems, use Windows troubleshooting or contact your administrator rather than deleting unrelated files.

Do not clear the MMC folder repeatedly as a substitute for diagnosing a persistent error. If a newly created cache immediately becomes problematic, the cause may be outside the cache. Avoid editing the Registry or removing system files unless you have a reliable, snap-in-specific reason and a backup.

Frequently Asked Questions

Will clearing the MMC cache delete my Event Viewer logs? No. The MMC cache folder is separate from the event log data. Clearing it may reset some console preferences, but it is not a method for deleting Event Viewer logs.

Do I need to run MMC as an administrator to clear the cache? Usually not. The steps above change files in your own user profile. You may need administrator permission to open certain snap-ins or manage system settings, but that is separate from clearing your profile’s MMC folder.

Can I delete the MMC folder permanently? You can remove its contents after closing MMC, but backing up or renaming the folder first is safer. That lets you recover user-specific settings if a snap-in behaves differently afterward.

Will this clear the cache for every Windows user? No. The folder is associated with the current account. To troubleshoot another account, sign in to that account and repeat the process there, or ask an administrator for help.

Conclusion

To clear the MMC cache, close all MMC consoles, open %appdata%\Microsoft, and rename or back up the MMC folder. Then reopen the affected snap-in and check whether the problem is resolved. This approach is reversible and targets files in your user profile rather than unrelated Windows data. Because clearing the folder can reset some preferences, keep a backup until you know the console works as expected.


Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.

Shrewdnia

Shrewdnia

Shrewdnia is a destination for curious minds seeking clarity, knowledge, and informed perspectives. Through insightful articles and practical guides our passionate team explores a wide range of topics designed to help readers understand the world around them, make smarter decisions, and stay informed in an ever-changing landscape.


💡 Every question sparks discovery, and every perspective enriches the conversation. Share your thoughts and insights in the comments 👇

Back to blog

Leave a comment

JOIN THE SHREWDNIA COMMUNITY FORUM

What do you think?

Have an opinion, experience, or question about this topic? Join the Shrewdnia Forum and share your thoughts with other readers.

Join the Forum →