How to Fix File Explorer Crashing on Right Click in Windows 11

Browsing your files, organizing folders, or managing downloads in Windows 11 should be effortless and dependable. However, many users experience a maddening problem where right-clicking any file, folder, or even an empty space on the desktop causes File Explorer to instantly freeze with a spinning blue circle, crash completely, or vanish and reload the entire desktop taskbar. This crash prevents you from accessing the context menu to copy, delete, rename, or inspect file properties. In Windows 11, the context menu architecture was redesigned as a modern WinUI XAML overlay, but it retains backward compatibility with legacy Win32 context menu handlers via the “Show more options” protocol. When a third-party application installs a poorly written, outdated, or corrupted shell extension DLL (such as context menu hooks from cloud storage apps, archivers, or PDF tools), invoking the right-click menu triggers an unhandled memory access violation inside explorer.exe. This guide explains how to identify and disable problematic shell extensions and restore full stability to File Explorer.

What Causes File Explorer to Crash on Right Click in Windows 11?

Because right-clicking prompts Windows Explorer to load every registered third-party context menu DLL into active memory, crashes stem from:

  • Corrupted Third-Party Shell Extensions: Context menu hooks installed by software such as 7-Zip, WinRAR, Dropbox, OneDrive, Autodesk, or antivirus suites failing during initialization.
  • Windows 11 Modern Context Menu (XAML) Deadlocks: A race condition between the new modern context menu renderer and legacy Win32 shell extension handlers.
  • Corrupted Windows Icon and Thumbnail Caches: Damaged thumbnail databases failing when the context menu queries preview icons for selected media.
  • Corrupted Display Adapter Drivers: Graphics drivers causing Desktop Window Manager (DWM) composition crashes when rendering semi-transparent context menu drop shadows.
  • Damaged Windows System Files: Damaged core dynamic link libraries (such as shell32.dll or propsys.dll) failing standard API callbacks.

Method 1: Identify and Disable Problematic Shell Extensions Using ShellExView

Isolating third-party context menu handlers using NirSoft’s free ShellExView utility is the definitive fix for right-click crashes.

  1. Download the free, portable ShellExView utility from NirSoft (choose the 64-bit version).
  2. Extract the ZIP file and run shexview.exe as Administrator.
  3. In the top menu, click on Options and select Filter by Extension Type. Choose Context Menu and click OK.
  4. Next, click on Options again and tick Hide All Microsoft Extensions. This ensures you only see third-party add-ons.
  5. Select all remaining non-Microsoft extensions by pressing Ctrl + A.
  6. Click the red Disable Selected Items button (or press F7).
  7. Click Options > Restart Explorer.
  8. Test right-clicking a file in File Explorer. If the crash is gone, re-enable extensions in small batches until you pinpoint the exact offending program (often older compression or cloud sync utilities), then uninstall or update that specific software.

Method 2: Clear File Explorer History and Cache

A corrupted quick access cache or damaged recent files index can destabilise context menu rendering.

  1. Open File Explorer (Win + E).
  2. Click on the three dots (…) in the top command bar and select Options.
  3. In the General tab, locate the Privacy section at the bottom.
  4. Click the Clear button next to Clear File Explorer history.
  5. Untick “Show recently used files” and “Show frequently used folders” temporarily.
  6. Click Apply, then click OK.

Method 3: Restore the Classic Windows 10 Context Menu via Registry

If modern WinUI context menu rendering causes persistent deadlocks on your hardware, restoring the classic context menu provides immediate stability.

  1. Press Win + R, type cmd, and press Ctrl + Shift + Enter to launch Command Prompt as Administrator.
  2. Paste the following registry command and press Enter:
    reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
  3. Restart Windows Explorer by running:
    taskkill /f /im explorer.exe && start explorer.exe
  4. Right-clicking will now immediately display the rock-solid, ultra-fast classic context menu without any XAML composition lag or crashes.

Method 4: Run SFC and DISM to Repair Damaged Shell Binaries

Repairing corrupted Windows system files ensures that core shell libraries operate without memory violations.

  1. Open Command Prompt as Administrator.
  2. Execute the DISM component cleanup tool:
    DISM /Online /Cleanup-Image /RestoreHealth
  3. Once DISM reaches 100%, run the System File Checker:
    sfc /scannow
  4. Allow the scan to finish and verify that corrupted system binaries were successfully repaired.
  5. Restart your computer.

Method 5: Rebuild the Windows Thumbnail and Icon Cache

Corrupted thumbnail databases cause Explorer to crash when retrieving file preview handlers on right-click.

  1. Press Win + R, type cleanmgr, and press Enter to open Disk Cleanup.
  2. Select your primary drive (C:) and click OK.
  3. Scroll down the list of files to delete, tick the box for Thumbnails, and uncheck other items if desired.
  4. Click OK and confirm Delete Files.
  5. Windows will purge the corrupted thumbnail database and generate fresh caches cleanly upon next view.

File Explorer Right-Click Crash Diagnostic Matrix

Crash Symptom Primary Root Cause Recommended Solution
Explorer crashes on right-clicking specific file types (.zip, .pdf) Incompatible third-party context menu shell extension Disable non-Microsoft extensions using ShellExView
Spinning blue wheel freezes Explorer window indefinitely Modern WinUI XAML menu compositing deadlock Restore classic context menu via InprocServer32 registry key
Entire desktop screen flickers and taskbar reloads explorer.exe memory access violation (0xc0000005) Run DISM /Online /Cleanup-Image & sfc /scannow
Crash occurs when right-clicking in Quick Access / Home Corrupted File Explorer recent files history Clear File Explorer history in Folder Options

Disabling rogue third-party shell extensions with ShellExView, clearing Explorer history, and restoring the classic context menu permanently resolves right-click crashes in Windows 11.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.