Explorer · Windows 11
Fix File Explorer that crashes when you right-click a file
Right-click a file and Explorer closes, the desktop flashes, and your windows vanish — one add-on in that menu is usually crashing it. Restart Explorer, narrow the crash to one file type or folder, and find the faulting add-on by name before you remove anything.
What you need
- Ten to twenty minutes. Restarting Explorer and narrowing down the trigger are quick; reading the crash record takes the rest.
- Nothing to install. Every step up to the advanced route uses Task Manager, Explorer options, and tools already in Windows.
- One file that triggers the crash. Keep an example handy, and note its type — a photo, a PDF, an archive, or anything at all.
Read the problem before you touch it
- Understand what the right-click loads. The context menu is not built by Windows alone. Programs you install — cloud storage, archive tools, antivirus, image editors, PDF tools — add entries through small add-ons called shell extensions. When you right-click, Explorer loads every extension for that file type. If one is broken, it takes Explorer down with it: the menu never appears and the desktop flashes.
- Separate a menu crash from a general Explorer crash. If Explorer also closes when you open folders, search, or copy files without right-clicking, the fault is wider than one extension. Microsoft's general route for that wider case is at Fix File Explorer if it won't open or start. This guide is for the cleaner pattern: Explorer works until the moment you right-click.
- Remember what changed recently. A crash that started this week usually points at a program installed or updated this week, because a new or updated extension arrived with it. That short list of recent apps is your prime suspect list later, so write it down now while the timing is clear.
The simple fixes, in order
- Restart Explorer in Task Manager. Press Ctrl + Shift + Esc, find Windows Explorer in the list, right-click it, and choose Restart. The taskbar and desktop disappear for a few seconds and come back. If a single stuck Explorer process was the whole problem, right-clicking works again from here and you can stop.
- Test in a new, empty folder. Create a new folder on the desktop, put a plain text file in it, and right-click that file. Then right-click the original file in its original folder. If the plain file is fine and the original still crashes Explorer, the trigger is tied to that file type or that location — a synced cloud folder, for example, adds its own menu entries. If every right-click everywhere crashes, the extension loads for all files.
- Test different file types. Right-click a photo, a document, a folder itself, and empty space inside a folder. A crash only on one type — only archives, only images — names the family of extensions involved, because extensions register per file type. A crash on empty space too points at an extension that loads for everything.
- Clear Explorer history. Open File Explorer, choose the three-dot menu, then Options. On the General tab, under Privacy, choose Clear next to Clear File Explorer history, then OK. A corrupt entry in the recent-files and frequent-folders history can crash Explorer as it builds a menu around a file, and clearing it costs you nothing but those lists.
- Find the faulting module in Reliability Monitor. Search Start for Reliability Monitor and open View reliability history. Red marks on crash days lead to a Windows Explorer entry; open its details and look for the Faulting module name. A Windows file name suggests system damage, covered in the advanced route. A different name — often a DLL named after a program you recognize — is the crashing extension, and you now have the culprit instead of a guess. Event Viewer tells the same story under Windows Logs > Application.
The advanced route
- Deal with the named program first, the built-in way. If Reliability Monitor named a module from an app you installed, open that app and check its settings for a context menu or Explorer integration option and turn it off, or update the app to its current version. If you no longer use the program, uninstall it in Settings > Apps > Installed apps. Removing or updating the owner removes or repairs its extension, with no extra tooling involved.
- Disable non-Microsoft extensions cautiously, one at a time. Windows has no built-in switchboard for individual shell extensions, so if the faulting module is unclear, work from the suspect list: turn off or uninstall one non-Microsoft program's Explorer integration at a time, restart Explorer, and retest after each change. One at a time matters — disabling everything at once hides which entry caused it. Never remove Microsoft's own extensions. A third-party utility such as
ShellExViewcan list and disable individual extensions and is an optional advanced shortcut, but the identify-then-remove route above reaches the same result without it. - Repair system files with DISM, then SFC. If the faulting module was a Windows file, or no third-party name ever appears, open Command Prompt as administrator and run
DISM /Online /Cleanup-Image /RestoreHealth, let it finish, then runsfc /scannow. Microsoft documents both commands in Using System File Checker in Windows. Restart the PC afterward and retest the right-click that used to crash.
End state
- Right-clicking the original file, in its original folder, opens the full context menu with no crash.
- Right-clicking folders and empty space works the same way.
- Reliability Monitor shows no new Windows Explorer crash entries after a day of normal use.
- You know which program's extension caused it, and that program is updated, reconfigured, or removed.
When it goes wrong
- The crash happens in Safe Mode too. Safe Mode loads very few third-party extensions, so a crash that survives it points toward damaged system files or a damaged user profile. Run the DISM and SFC step, then test in a new user account: fine there means your original profile is the problem.
- Reliability Monitor shows no faulting module name. Open the entry's technical details for the full faulting application and module paths, or check Event Viewer's Application log at the exact crash time. If both are blank, trigger the crash once more and look again immediately — a fresh entry is easier to spot than yesterday's.
- The crash came back after an update. The owning program updated and re-enabled its menu entry. Turn its Explorer integration off in that program's settings again, and check for a newer version — a returning crash after each update is a bug in that extension, and the durable fix is leaving its menu entry off.
- Explorer will not stay running long enough to work. Restart it from Task Manager's Run new task option by typing
explorer.exe, then go straight to Reliability Monitor before triggering another crash. Work from the record, not from repeated crashes.
Related fixes
-
Fix a File Explorer preview pane that shows nothing or crashes Explorer
The preview pane renders files using small handler programs, and one bad handler can blank every preview or take Explorer down with it. Turn the pane off to stabilize Explorer first, find whether one file type is responsible, then repair or remove the handler behind it.
-
Fix a right-click menu that takes seconds to open
Files open instantly, programs launch fine, but a right-click on a file or the desktop pauses for several seconds before the menu appears. That delay is almost always a third-party entry in the menu — a shell extension from an archiver, a cloud drive, or an old program — taking its time before Windows can show the menu.
-
Fix a drive that disappears from File Explorer after the PC sleeps
A drive that vanishes from File Explorer after sleep, then comes back after a restart, is usually being powered down and not woken cleanly, or Windows has marked it as removed. Check Disk Management first to see whether Windows still sees the drive at all, then fix the power and hot-swap settings that let it drop.
-
Fix a File Explorer that hangs or is very slow opening folders
File Explorer that hangs or takes ages opening folders is usually stuck on Quick Access history, thumbnails, or folder optimization. Clear the history, reset the view, and repair system files if the slowdown is everywhere.
Sources
- Microsoft Support, Fix File Explorer if it won't open or start — the built-in routes for wider Explorer failures beyond a right-click crash.
- Microsoft Support, Using System File Checker in Windows — running DISM and SFC to repair missing or corrupted system files.