File Explorer Closes by Itself: How to Fix It

Restart the process from Task Manager for an immediate fix, then the three usual root causes — bloated history, a third-party context-menu extension, or an outdated Windows — with SFC as the fallback.

Intermediate 2 min read Published on 2026 By Equipo SolucionaPC

You open a folder, or you are simply using the computer normally, and the File Explorer window (the program that shows your folders) closes on its own, sometimes reopening on its own afterwards. It is not a virus in most cases, and it can be fixed without reinstalling anything.

Quick fix: restart Explorer without restarting the PC

Press Ctrl + Shift + Esc to open Task Manager, look for "Windows Explorer" in the list, right-click → "Restart". This relaunches the folder program itself without needing to restart the whole computer, and fixes the problem on the spot in many cases — although it can happen again if the underlying cause is still there.

Most common causes

Explorer's history is very cluttered

Open any folder → "View" (at the top) → "Options" → "General" tab → "Clear" button next to "Clear File Explorer history". It is surprisingly effective for something so simple.

A third-party extension or program is interfering

Some programs add features to the right-click menu (for example, file-compression programs or antivirus software). If the crash happens right when you right-click a file, suspect the last application you installed.

Windows is outdated

Settings → Windows Update → Check for updates. Microsoft publishes fixes for this kind of failure fairly regularly.

File Explorer is not just "the folders window" — it also manages the desktop and the taskbar. That is why, when it fails, it can sometimes seem like "the whole" computer has a problem, when in reality it is a single component that is failing.

If none of this fixes it

The problem may lie in a damaged system file. Our guide on how to check system file integrity (SFC) explains how to check and repair it, with a single command.

Note: it is uncommon for this problem to be caused by a virus, but if you notice other odd symptoms at the same time, it is worth ruling it out with our guide on how to remove viruses and malware.

Frequently asked questions

Is it a virus?

In most cases, no. The most common causes are Explorer's history being very cluttered, an extension from another program interfering, or an outdated Windows — none of which are related to a virus.

Can Explorer be restarted without restarting the whole computer?

Yes: Ctrl + Shift + Esc to open Task Manager, look for 'Windows Explorer' in the list, right-click → Restart.

Why does it only happen when opening certain folders?

It usually points to a specific file within that folder that Explorer cannot process properly (a corrupted thumbnail, for example), rather than a general system problem.

Share: