Windows command guide

Clear the Windows Thumbnail Cache

File Explorer saves thumbnail previews so folders full of pictures and videos can load faster. When those cached previews go stale or break, Explorer may show wrong images, blank previews, or old thumbnails that no longer match the current file. Clearing the cache forces Windows to generate fresh preview data.

This guide is written around the specific symptom-command match for clear thumbnail cache, not as a generic dump of terminal lines. That makes the page more useful for real troubleshooting and reduces the chance of running the wrong repair step.

Reviewed guide Updated 2026-04-21
Command Prompt
del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_*

Best place to run it

Command Prompt is the right execution context for this page. Even when elevation is not always required, using the right shell prevents syntax mistakes and makes the output easier to trust.

Fast repair workflow

  1. Start from the exact symptom on this page: Image or video thumbnails show the wrong content
  2. Run the focused cleanup or performance line exactly as shown: del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_*.
  3. This workflow is tuned for this repair, so avoid mixing it with unrelated repair commands too early.
  4. Test the exact activity that felt slow before, not just a general impression of speed.
  5. If nothing changes, move toward startup load, storage health, temperature, or driver investigation instead of random tweaks.

Copyable wrapper script

Use this wrapper when you want the page command inside a clearer script block with start and finish prompts.

@echo off echo Run this CMD sequence in the matching terminal window. echo Starting targeted repair sequence... del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_* echo. echo Review the output before closing this window. pause

Verification commands after the repair

These follow-up commands help you check whether the repair actually changed the Windows state that matters, instead of assuming success from a single line.

cleanmgr /sageset:1 cleanmgr /sagerun:1

What problem this command is trying to solve

This command targets broken or outdated thumbnail preview data stored locally for File Explorer.

  • Image or video thumbnails show the wrong content.
  • Previews stay blank even though the files themselves open fine.
  • Explorer keeps showing old thumbnails after files were replaced or edited.

How the command works

The command deletes the thumbcache files that Explorer uses to store preview images. Once those cache files are gone, Windows rebuilds them as folders are viewed again.

When it makes sense to run it

Use it when preview images are the problem, not the files themselves. It is a cosmetic but useful repair step for media-heavy folders and stale Explorer preview behavior.

Before you run this command

  • Open the shell that matches del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_* before you paste it.
  • Confirm that the symptom really matches this guide, especially if you are seeing signs such as: image or video thumbnails show the wrong content.
  • Set one measurable goal first, such as reclaiming storage, reducing UI lag, or refreshing a damaged cache.

What result to expect

After running del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_*, compare the result against the symptom that brought you here. The most useful checkpoint is whether image or video thumbnails show the wrong content becomes less frequent, changes form, or produces a clearer error message. A command page is stronger when it helps you verify a real change instead of just assuming the line must have worked.

How to verify that it worked

The best verification step after del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_* is to repeat the action that previously triggered the problem. If previews stay blank even though the files themselves open fine still appears in exactly the same way, the command probably was not the whole answer and you should move to the next targeted check instead of assuming the page is finished.

Shell and execution context

This command usually does not need a full elevated repair context, but it still works best when you run it in the shell it was written for and read the output carefully.

Before you run it

After clearing the cache, some folders may load thumbnails more slowly the first time because Windows has to rebuild them. This does not repair damaged image or video files.

When this is probably the wrong fix

This is not the right first fix for worn-out hardware or a machine that is overloaded by too many startup apps. Use it when the page is clearly targeting cache corruption, storage waste, or a specific Windows performance setting.

What to do if it does not help

If del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_* does not improve image or video thumbnails show the wrong content, move to the next repair step that matches the same symptom family instead of piling on random commands. The best follow-up depends on whether the failure is mainly about responsiveness, storage cleanup, cache state, or power behavior.

Frequently asked questions

Should I use del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_* for this exact Windows symptom?

Use it when the behavior on your PC lines up with the repair target on this page: This command targets broken or outdated thumbnail preview data stored locally for File Explorer.

What should I check right after del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_*?

Check whether the original trigger still reproduces the same failure. For this page, a useful checkpoint is whether image or video thumbnails show the wrong content becomes less frequent, changes form, or points you toward a more specific next step.

When should I not rely on del /f /q %LocalAppData%MicrosoftWindowsExplorer humbcache_* alone?

This is not the right first fix for worn-out hardware or a machine that is overloaded by too many startup apps. Use it when the page is clearly targeting cache corruption, storage waste, or a specific Windows performance setting.