sodcalculator

10 Tech How-To

Windows Explorer Crashes on Right Click? Fix It

Guide 10-23334 · Updated · Step by step

If Windows Explorer (File Explorer) crashes or restarts every time you right-click a file or folder, the cause is almost always a faulty third-party shell extension, a corrupted thumbnail cache, or an outdated graphics driver. You can usually fix it by running a clean boot, using ShellExView to disable suspect extensions, clearing the thumbnail cache, or updating your GPU driver.

Why Right-Click Causes Explorer to Crash

When you right-click an item in Windows, Explorer loads a set of components called shell extensions to build the context menu. These are small DLL files registered by installed programs—things like cloud storage clients, compression tools, antivirus scanners, and image editors. Each extension adds its own menu items, and if one of them is poorly coded, outdated, or incompatible with your Windows version, it can throw an exception that takes down the whole Explorer process. Windows then automatically restarts Explorer, which looks like the taskbar and desktop flashing or disappearing for a moment.

Another common trigger is a corrupted icon cache or thumbnail cache. Explorer reads these caches to display file icons and previews, and a damaged cache file can cause a crash when it tries to load the data during the right-click action. Finally, a buggy graphics driver can crash the DWM (Desktop Window Manager) process, which Explorer depends on for rendering.

How to Confirm It’s a Shell Extension

Before you start disabling things, you can verify the cause with a simple test. Open Task Manager (Ctrl+Shift+Esc), find “Windows Explorer” under Processes, and restart it. Then right-click a file. If Explorer crashes again, the problem is present. To narrow it down:

  • Right-click on the desktop (no file selected) – if it crashes there too, the issue is with a global extension.
  • Right-click on a file in a folder – if it crashes only on files, it could be a file-type-specific extension (e.g., a video codec or archive tool).
  • Right-click on a folder – if it crashes only on folders, look for extensions that add folder-specific options like “Open in …”.

If the crash happens consistently, the next step is to boot into Safe Mode. In Safe Mode, Windows loads only essential drivers and services, so third-party shell extensions are not loaded. If right-click works fine in Safe Mode, you have confirmed that a third-party extension is the culprit.

How to Find and Disable the Problem Extension

Manually uninstalling every program that adds context menu items is slow and risky. A better approach is to use a free tool like ShellExView (from NirSoft). It lists all shell extensions with their type, company, and file path. Here’s how to use it:

  1. Download ShellExView and run it (it’s portable, no install needed).
  2. Click Options → Filter by Extension Type and choose Context Menu.
  3. Look for extensions from software you recognize—especially ones that add right-click options like “Send to”, “Compress”, “Scan with”, or “Share”.
  4. Select a few suspicious entries and press F7 to disable them (or right-click → Disable Selected Items).
  5. Restart Explorer (right-click the taskbar → Task Manager → restart Windows Explorer, or reboot).
  6. Test right-click again. If it works, re-enable the extensions one by one until you find the exact one that breaks it.

If you prefer not to use a third-party tool, you can also open the Registry Editor and navigate to HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers and HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers. Each subkey there corresponds to a context menu handler. Export the key as a backup, then delete the subkeys you suspect. Be careful—editing the registry incorrectly can cause other issues.

Other Common Causes and Their Fixes

If disabling shell extensions doesn’t solve it, try these in order:

  • Clear the thumbnail cache: Open Disk Cleanup (search “cleanmgr”), select your system drive, check “Thumbnails”, and run it. Alternatively, delete the contents of %LocalAppData%\Microsoft\Windows\Explorer (the thumbcache_*.db files) after closing Explorer.
  • Update your graphics driver: Go to Device Manager, expand “Display adapters”, right-click your GPU, and choose “Update driver”. You can also download the latest driver from the GPU manufacturer’s website (NVIDIA, AMD, Intel).
  • Run System File Checker: Open Command Prompt as administrator and run sfc /scannow. This repairs corrupted Windows system files.
  • Check for Windows updates: Some Explorer crashes are fixed by cumulative updates. Go to Settings → Windows Update and install any pending updates.

What to Do If the Crash Persists

If you’ve disabled all third-party extensions and still get crashes, the problem might be with Windows itself. Try creating a new user account and see if the issue occurs there. If it doesn’t, your current user profile is corrupted, and you may need to migrate your files to the new profile. If it still crashes in a new profile, you can try a repair install of Windows (using the “Reset this PC” option that keeps your files) or use the DISM tool (DISM /Online /Cleanup-Image /RestoreHealth) to fix system image corruption.

Preventing Future Crashes

Once you’ve fixed the issue, you can reduce the chances of it happening again:

  • Keep your software updated—especially programs that add context menu entries.
  • Uninstall unused programs that integrate with Explorer (like old trial versions of compression or cloud tools).
  • Periodically clear the thumbnail cache if you notice slow or glitchy icon loading.
  • Use a reputable antivirus, but avoid installing multiple security suites that all add context menu scanners.

Frequently Asked Questions

Q: Why does Explorer crash only when I right-click on a specific file type?
That usually means a shell extension registered for that file type is broken. For example, a video codec extension might crash when you right-click an .mp4 file. Use ShellExView to disable extensions tied to that file type, or uninstall the associated program.

Q: Can I restore the old Windows 10 context menu in Windows 11 to avoid crashes?
Yes, you can add a registry key to show the full classic context menu. But note that the new Windows 11 menu is more stable because it limits third-party extensions to a secondary “Show more options” menu. If you’re crashing on the classic menu, the registry tweak won’t fix the underlying extension—you still need to disable it.

Q: Will restarting Explorer lose my open files?
No. Restarting Explorer only closes the file manager windows and the taskbar/desktop. Any documents you have open in other programs (like Word or Chrome) remain open. You’ll just see the taskbar disappear and reappear.

Q: Is it safe to disable all third-party shell extensions?
Yes, it’s safe. Disabling an extension only removes its items from the context menu. The program itself still works normally. You can re-enable them later if needed.

Q: My Explorer crashes even in Safe Mode. What does that mean?
If it crashes in Safe Mode, the problem is likely a Windows system file or a core driver issue, not a third-party extension. Run SFC and DISM, and check for Windows updates. If that fails, a repair install may be necessary.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →