🚀 NEW in v2.4.28: 35+ Speed Optimizations added today!Download Now →

Home/Fix/Windows Explorer Keeps Crashing

How to Fix Windows Explorer Crashing

When explorer.exe crashes, your taskbar vanishes, the desktop flashes black, and open folders close — because Explorer is the shell that draws all of it. The good news: the trigger is almost always one faulty shell extension or a corrupted cache, and this guide isolates it methodically.

  • Pinpoints the third-party shell extension that crashes Explorer on right-click or folder open
  • Rebuilds the thumbnail and icon caches that cause crashes when corrupted
  • Repairs damaged system files and checks the GPU driver behind shell crashes

Best when the taskbar disappears and returns, or Explorer crashes specifically on right-click or when opening certain folders.

📖

Main Troubleshooting Guide

How to Fix Computer Freezing and Hanging

Complete symptoms, causes, and step-by-step solutions

Symptoms

You might be experiencing this problem if you notice:

  • File Explorer windows close unexpectedly on their own
  • The taskbar disappears and reappears (a sign explorer.exe restarted)
  • The desktop briefly goes black or icons flash and redraw
  • "Windows Explorer has stopped working" or "...is restarting" message
  • Explorer freezes or crashes when you open a specific folder
  • Right-clicking a file or the desktop crashes Explorer
  • Crashes when opening folders full of media (thumbnail rendering)
  • The whole shell becomes unresponsive after waking from sleep

A strong clue is the trigger: crashes on right-click point to a context-menu shell extension; crashes in media folders point to a corrupted thumbnail cache or a video codec/driver.

What RescuePC checks for Explorer crashes

RescuePC works through the usual Explorer-crash causes in order — caches, shell extensions, system files, drivers — and verifies each, so you do not have to bisect dozens of extensions by hand.

  • Rebuilds the thumbnail and icon caches that crash Explorer when corrupted
  • Audits non-Microsoft shell/context-menu extensions and flags likely offenders
  • Runs SFC and DISM to repair damaged shell system files
  • Checks the Event Viewer Application log for the exact faulting module behind the crash
  • Verifies GPU and codec drivers involved in thumbnail and folder rendering

This is most useful when Explorer crashes on a specific action (right-click, a certain folder) rather than randomly — that pattern points straight to a shell extension or cache.

When These Fixes Resolve It

  • Explorer crashes on a specific action like right-click or opening a folder
  • The taskbar disappears and returns repeatedly
  • Crashes started after installing an archive tool, codec pack, or cloud-sync app
  • Event Viewer names a non-Microsoft faulting module

These are shell-extension, cache, and system-file faults — exactly what the cache rebuild, ShellExView bisect, and SFC/DISM steps repair.

When It's Deeper Than the Shell

A few patterns point past Explorer itself:

  • The entire system freezes or BSODs, not just Explorer (suspect RAM, drive, or corruption)
  • Crashes persist in Safe Mode with all third-party extensions disabled
  • You see random crashes across many apps, not just explorer.exe
If crashes continue in Safe Mode and after SFC/DISM, run a memory test (mdsched.exe) and check drive health — the instability may be hardware, not the shell.

Common Causes

  • A corrupted or buggy third-party shell extension (added by archive tools, cloud sync, codecs)
  • A corrupted thumbnail cache crashing Explorer in media-heavy folders
  • A corrupted icon cache causing redraw crashes
  • Conflicting context-menu handlers from multiple apps
  • Damaged Windows system files (shell DLLs)
  • Outdated or unstable GPU drivers used for folder/thumbnail rendering
  • A faulty video codec pack rendering preview thumbnails
  • Malware injecting into the explorer.exe process

Solutions

Solution 1: Rebuild the Thumbnail and Icon Caches

  1. 1Open Command Prompt as Administrator
  2. 2Run: taskkill /f /im explorer.exe (the desktop will go blank — this is expected)
  3. 3Run: del /f /s /q /a %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db
  4. 4Run: del /f /s /q /a %LocalAppData%\IconCache.db
  5. 5Run: start explorer.exe to bring the desktop back
  6. 6Test the folder that used to crash

Solution 2: Find the Bad Shell Extension

  1. 1Download ShellExView (NirSoft, free) and run it
  2. 2Click Options > "Hide All Microsoft Extensions" so only third-party ones remain
  3. 3Sort by Company; disable all the remaining non-Microsoft extensions (F7)
  4. 4Restart Explorer (or reboot) and confirm the crashes stop
  5. 5Re-enable extensions a few at a time until the crash returns — the last batch contains the culprit; leave it disabled or update that app

Solution 3: Repair System Files

  1. 1Open Command Prompt as Administrator
  2. 2Run: DISM /Online /Cleanup-Image /RestoreHealth (15–30 minutes)
  3. 3Run: sfc /scannow
  4. 4If SFC repairs files, restart and run sfc /scannow once more to confirm it is clean
  5. 5Test Explorer again

Solution 4: Identify the Faulting Module in Event Viewer

  1. 1Press Windows + R, type eventvwr.msc, press Enter
  2. 2Go to Windows Logs > Application
  3. 3Find the most recent "Application Error" or "Application Hang" for explorer.exe
  4. 4Read the "Faulting module name" — a non-Microsoft DLL points to the app that owns it
  5. 5Update or uninstall that app (common culprits: old archive tools, codec packs, cloud-sync shell add-ins)

Solution 5: Update the GPU Driver and Disable Preview Thumbnails

  1. 1Press Windows + X > Device Manager > Display adapters > Update driver (or install from the GPU maker)
  2. 2If crashes only happen in media folders, open File Explorer > ... > Options > View tab
  3. 3Check "Always show icons, never thumbnails" to rule out thumbnail rendering
  4. 4Apply and test; if stable, the problem is a thumbnail/codec issue — keep thumbnails off or remove the codec pack
  5. 5Restart and confirm Explorer is stable

Stop Explorer crashes — the exact commands

Explorer crash loops are caused by third-party shell extensions, a corrupted icon cache, or damaged system files. The crash log names the guilty module directly.

wevtutil qe Application /c:5 /rd:true /f:text /q:"*[System[Provider[@Name='Application Error']]]"

Prints recent app-crash records. Find explorer.exe entries — the "Faulting module" line names the DLL (often a third-party shell extension).

taskkill /f /im explorer.exe & start explorer.exe

Restarts the shell cleanly after a hang.

del /a %localappdata%\IconCache.db & ie4uinit.exe -show

Deletes and rebuilds the icon cache — a corrupted cache crashes Explorer on folder open.

sfc /scannow

Repairs corrupted Explorer and shell system files.

DISM /Online /Cleanup-Image /RestoreHealth

Repairs the component store when SFC cannot source clean files.

If the faulting module is a third-party DLL, uninstall that app (cloud-drive overlays and archive tools are the usual suspects). RescuePC reads the crash records and rebuilds the shell caches automatically.

When Does Explorer Crash?

Crashes the moment you right-click a file or the desktop

Likely cause: A third-party context-menu (shell) extension

Crashes when opening folders full of photos/videos

Likely cause: Corrupted thumbnail cache or a bad media codec/GPU driver

Taskbar/desktop flicker constantly, not tied to an action

Likely cause: Damaged system files or a failing GPU driver

Whole shell freezes, not just Explorer

Likely cause: System-wide instability — RAM, drive, or corruption

FIXES THIS IN 5 MINUTES

Fix Windows Explorer Keeps Crashing Automatically

RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.

Download Now - Free Trial

No credit card required • Works on Windows 10 & 11

Stop the Crash at Its Source

Explorer crashes look chaotic but the trigger is specific — and the trigger tells you the fix.

  • Crash on right-click = a context-menu shell extension
  • Crash in media folders = thumbnail cache or codec/GPU
  • Constant flicker = system files or GPU driver
  • Event Viewer names the faulting module so you fix it once

Browse More Crashes & Blue Screens Guides

Windows Explorer Crashing — FAQ

Why does my taskbar keep disappearing and coming back?
That is explorer.exe crashing and automatically restarting — the taskbar, Start menu, and desktop are all drawn by Explorer, so they vanish for a second when it restarts. The usual causes are a faulty shell extension, a corrupted thumbnail/icon cache, or damaged system files, all covered above.
What is a "shell extension" and why does it crash Explorer?
Shell extensions are add-ins that hook into File Explorer — context-menu entries, icon overlays, preview handlers — installed by apps like archive tools, cloud sync, and codec packs. A buggy or outdated one runs inside explorer.exe, so when it fails it takes Explorer down with it. ShellExView lets you disable non-Microsoft extensions to find the offender.
Explorer only crashes when I right-click — why?
That is the signature of a bad context-menu shell extension. Use ShellExView to disable all non-Microsoft extensions, confirm the crash stops, then re-enable them in batches to identify which app's entry is responsible, and update or remove it.
Is rebuilding the icon/thumbnail cache safe?
Yes. Those caches are disposable — Windows regenerates them automatically. Deleting them (after stopping explorer.exe) simply forces a clean rebuild and fixes crashes caused by corruption. You may notice icons and thumbnails redraw slowly the first time, which is normal.
How do I find exactly what is crashing Explorer?
Open Event Viewer (eventvwr.msc) > Windows Logs > Application and find the recent "Application Error" for explorer.exe. The "Faulting module name" tells you which DLL failed — if it is not a Microsoft file, it belongs to a third-party app you can update or remove.
Share this:XRedditLinkedInEmail