Why Does My File Explorer Keep Opening? 7 Fixes

Fix your File Explorer opening automatically on Windows 11 & 10. Use our 7-step diagnostic guide to stop crash loops and sync glitches now.

You’re in the middle of a crucial match, your heart rate is up, and suddenly—click—File Explorer launches itself on top of your game. You close it. It reopens. You try to ignore it, but the new window keeps stealing focus, breaking your concentration. This isn’t just an annoyance; it’s a breakdown in the core of your operating system’s interface.

When you ask "why does my file explorer keep opening," you are likely dealing with more than a simple settings glitch. In my fifteen years of troubleshooting Windows systems, I’ve found that this symptom is rarely random. It is usually a "shell" issue—meaning the process that drives your desktop and file management (explorer.exe) is either crashing and restarting, or being hijacked by a rogue command. Most generic advice online tells you to "restart the process." That’s a band-aid.

This guide provides a systematic diagnostic approach. We won’t just throw random tips at the wall. Instead, we will build a decision tree to isolate whether this is a malware infection, a buggy Windows 11 sync feature, or a corrupted system file. By the end, you’ll know exactly how to stop explorer.exe from acting up.

Unrecognizable ethnic engineer in white coat checking video card on computer while using ammeter in service center

Diagnostic Decision Tree: Identify the Root Cause

Before you run a single command, we need to determine what is actually happening. Are you seeing a new window appear while an old one is still there? Or does the entire desktop disappear for a split second, then the window reappears? This distinction is critical.

Distinguish Between 'Opening' and 'Crash Loops'

There is a fundamental difference between a window opening due to an input trigger and the explorer.exe process crashing and Windows automatically relaunching it.

If it’s a crash loop, you are experiencing system instability. The "new window" is actually the entire UI layer resetting. You’ll notice that your desktop icons might vanish for a fraction of a second, or the taskbar might flicker. This is often caused by a faulty driver, a corrupted texture on the desktop background, or a memory leak.

If it’s auto-launching, a new instance of the explorer window pops up on top of existing windows, but your desktop remains stable. This is triggered by a script, a service, or a hardware input.

To check this, open Task Manager (Ctrl + Shift + Esc). Look at the CPU column for the "Windows Explorer" entry.

  • Spike to 100%: The process is likely crashing and restarting. Watch the "Status" column; if it says "Not Responding" right before the spike, you have a crash loop.
  • Low CPU usage: The process is stable, but something else is sending a command to open a new folder. This points to an auto-launch trigger.

In one case I handled, a user thought their PC was "glitching" during video calls. Task Manager showed explorer.exe spiking to 45% CPU every 30 seconds. It wasn’t a crash; it was a scheduled task from a third-party backup app that was forcing a file check, which in turn opened the destination folder in Explorer. The root cause wasn’t the shell; it was the trigger.

Quick Checks: Malware and Corrupt Shell

Now that we’ve categorized the behavior, we need to rule out the dangerous stuff. Malware often uses explorer.exe as a delivery vector or forces it to open ad-folders.

1. Run a Malware Scan Don’t just rely on your antivirus. Download the free version of Malwarebytes. It specializes in detecting PUPs (Potentially Unwanted Programs) and adware that standard definitions might miss. Run a "Threat Scan." If it finds anything, that is likely why your File Explorer keeps opening by itself.

2. Test with a Clean Boot If the issue persists, we need to isolate whether it’s system-wide or specific to your user account.

  • Press Win + R, type msconfig, and hit Enter.
  • Go to the Services tab. Crucial: Check the box that says "Hide all Microsoft services." This ensures you don’t break core Windows functions.
  • Click Disable all.
  • Go to the Startup tab and click Open Task Manager. Disable all remaining startup items.
  • Restart your PC.

If the issue stops in Clean Boot, a third-party service is the culprit. If the problem persists in Clean Boot, you are dealing with a deep system-level fault or a user profile corruption. In my experience, issues that persist across multiple user accounts in Clean Boot are almost always caused by corrupt system files or a buggy update, not by software you installed manually.

Modern laptop on a wooden desk displaying analytical software with eyeglasses nearby, indoor shot.

Windows 11 Specifics: Sync Glitches & OneDrive Conflicts

Windows 11 introduced a lot of new UI elements, but also some unique quirks regarding how the shell interacts with cloud services. If you are on Windows 11 and your file explorer opens on startup or randomly during the day, look here first.

The 'New Tab' Feature and Desktop Background Loops

Windows 11 changed File Explorer to feel more like a web browser. It now has a "New Tab" home page. While sleek, this adds another layer of complexity to the shell process.

More importantly, there is a known correlation between OneDrive sync errors and shell reloads. When OneDrive tries to sync a file that is currently in use, or when it fails to authenticate, the explorer.exe process can get stuck in a state where it reloads its UI components to refresh the file attributes.

I recall a case study from a Microsoft support thread where a user reported that their desktop background would turn into "green pixelated patches" and File Explorer would reopen instantly. The user discovered that their OneDrive client was stuck in a login loop due to a network change. The sync engine was forcing a refresh of the desktop icons, which crashed the lightweight shell renderer. When the process restarted, the green patches vanished because the background was re-rendered correctly.

To test this:

  1. Open OneDrive settings (gear icon in the system tray).
  2. Look for sync errors or "Pausing" notifications.
  3. Temporarily sign out of OneDrive on this specific machine.
  4. Monitor if the random opening stops.

If you use the new "New Tab" home page, note that it loads web content within the shell. If that web content errors out, it can cause the entire window to crash and restart, creating the illusion that it’s "opening by itself."

Disabling Auto-Open on Startup for Win 11

Many users complain that File Explorer opens at startup. In Windows 11, this can happen if you have a folder pinned to the taskbar or if a "Home Page" was set in your previous session.

However, there is a deeper file that controls startup behavior.

  1. Press Win + R and type: %AppData%/Microsoft/Windows/CurrentVersion/Explorer/
  2. Look for a file named StartupInfo2.dat. This file stores settings for auto-start items within Explorer. If you have a corrupted entry here, it might force a window to open.
  3. More commonly, the issue is the Task Manager Startup Apps tab.
    • Open Task Manager (Ctrl + Shift + Esc).
    • Go to the Startup apps tab.
    • Look for "Windows Explorer" or any app that lists "Launch folder."
    • Right-click and Disable any suspicious entries.

If you want to strictly prevent any Explorer window from opening on boot, you can clear your recent items. Right-click the Explorer icon on the taskbar, select "Properties," and click "Clear File Explorer history." This removes the cached jump lists that might be triggering a window to open to a specific folder.

Deep Dive: Shell Extensions & Registry Fixes

If basic checks didn’t work, we need to dig into the "guts" of the Windows shell. This is where things get technical, but it is often where the permanent fix lies.

Using ShellExView to Disable Rogue Extensions

Shell extensions are small plugins that third-party software uses to add items to your right-click context menu (like "Compress to ZIP" or "Print as PDF"). These extensions hook into explorer.exe. If an extension is buggy, written for an older version of Windows, or simply incompatible with your current OS build, it can cause the entire Explorer process to crash when you interact with a folder.

This is a high-relevance LSI concept: shell extensions are the #1 cause of "random" crashes that look like auto-opening.

I recommend using NirSoft ShellExView. It’s a free, lightweight, and safe tool.

  1. Download ShellExView from the NirSoft website.
  2. Run it (no installation needed).
  3. In the list, look at the "Company" column. You’ll see a mix of Microsoft and non-Microsoft companies.
  4. Non-Microsoft extensions are highlighted in a different color (usually pink or gray).
  5. Sort by "Type" to see "Context Menu" handlers.
  6. Select any non-Microsoft extensions you don’t recognize or that you suspect might be causing the issue.
  7. Press F7 to disable them.

Do not uninstall the software yet; just disable the extension. Restart your computer. If the issue stops, you’ve found the culprit. You can then uninstall that specific application. In my experience, old PDF printer drivers and unused video codec packs are frequent offenders.

SFC and DISM Commands for System Repair

If you suspect the core windows shell files are corrupted, you need to use Microsoft’s own repair tools. This is the most reliable way to fix "system-level" faults.

Open PowerShell or Command Prompt as Administrator. Run these commands in order:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

The DISM command checks the Windows component store for corruption and repairs it. The sfc /scannow command then scans the live system files and replaces any that are damaged with the healthy copies from the store.

Why does this fix the loop? If explorer.exe is relying on a DLL that is slightly corrupted, it might crash when it tries to load that specific component. SFC replaces that component with a working one, stabilizing the process. After the scan completes (which can take 10-15 minutes), restart your PC.

Input & Hardware: Why Mouse & Double-Click Triggers

Sometimes, the problem isn’t software. It’s your input devices. If you notice that file explorer keeps opening when i use mouse, the issue might be physical.

Double-Click Sensitivity & Accessibility Settings

Do you find yourself double-clicking folders when you only meant to single-click? Or are you accidentally triggering a double-click on the taskbar icon?

Windows has accessibility settings that can make single-clicks act like double-clicks in certain contexts, or vice versa.

  1. Go to Settings > Accessibility > Mouse & touchpad.
  2. Check the sensitivity of your double-click. If it’s set very high, a rapid single click on the taskbar icon might be interpreted as a command to open a new window.
  3. More importantly, check for Ghost Clicks. If your mouse is faulty, the microswitch inside may be sticking. This results in "phantom" double-clicks happening randomly. Try using a different mouse to see if the issue disappears. If it does, your hardware is the problem, not your OS.

Taskbar Jump Lists & 'Open File Location'

There is a specific behavior in Windows 11 regarding the taskbar that confuses many users.

  • Minimized Window: If Explorer is minimized, clicking the taskbar icon restores it. It does not open a new window.
  • Closed Window: If Explorer is completely closed (no instances running), clicking the icon launches a new instance.

The glitch occurs when explorer.exe thinks the window is closed, but it’s actually just hidden or minimized in a weird state. Or, if you have "Jump Lists" enabled, right-clicking the taskbar icon and selecting "Open File Location" can trigger a crash/reload if the path is invalid.

To stop taskbar file explorer icon opens window unexpectedly, ensure that when you close a folder, you close the entire Explorer process if you don’t want it lingering. However, in Windows 10/11, there is always at least one explorer.exe process running to host the desktop. So, "closing" it usually just closes the window, not the process. The "reopening" is actually just the window being re-focused. If it feels like it’s opening a new window, check if you are accidentally using the "Open in New Tab" feature from the right-click menu on existing windows.

Last Resort: Reset File Explorer & Advanced Tracing

If you have tried everything above and the mystery remains, we go to the nuclear options.

Resetting Folder Options & Home Page

Sometimes, a corrupted user profile folder causes the shell to behave erratically.

  1. Open File Explorer.
  2. Click the View tab (in Windows 11) or Options (in Windows 10).
  3. Go to Change folder and search options.
  4. Click the View tab in the Folder Options window.
  5. Uncheck "Show hidden files, folders, and drives" temporarily to see if a hidden malicious script is triggering the open.
  6. Click the General tab. Look at "File Browsing History." Click Clear.
  7. Under "Privacy," click Clear File Explorer history.
  8. Check "Clear File Explorer history" when you clear the history.
  9. Apply and OK.

Also, check your "Home" page. In Windows 11, if you set a specific folder as your home, and that folder is on a network drive that is disconnecting, Explorer might keep trying to reload that home path, causing the window to flash open and close.

Using Process Monitor (ProcMon) to Trace Triggers

This is the advanced tip that separates casual users from true experts. If you want to know exactly which file or handle is triggering the launch, use Sysinternals ProcMon.

  1. Download Process Monitor from Microsoft.
  2. Run it.
  3. Clear the log (red X button) to start fresh.
  4. Set a filter:
    • Process Name -> is -> explorer.exe
    • (Optional) Path -> contains -> *C:* (to filter out too much noise)
  5. Wait for the "random opening" to happen.
  6. Look at the Result column. If you see "SUCCESS" for a file read just before the window opens, look at the Path column. That file is the trigger.

For example, you might see explorer.exe reading a file in C:\ProgramData\SomeApp\config.xml right before the window pops up. This tells you that "SomeApp" is the one launching the explorer window. You can then isolate and fix that specific application.

FAQ

Why does my File Explorer keep opening randomly? The top three causes are: 1. Corrupt system files (fix with sfc /scannow), 2. Rogue shell extensions crashing the process (fix with NirSoft ShellExView), and 3. Malware or adware injecting code into the shell (fix with Malwarebytes).

How do I stop File Explorer from opening on startup? Disable unnecessary startup items in Task Manager. Additionally, check the Startup folder by pressing Win + R and typing shell:startup. Delete any shortcut to explorer.exe or a folder path found in that directory.

Does antivirus software cause File Explorer to open unexpectedly? Yes, in some cases. Third-party antivirus software that uses a real-time protection engine can sometimes conflict with the shell, especially when scanning files that are being accessed by Explorer. Try disabling the real-time protection temporarily in "Clean Boot" mode to test if the issue stops. If it does, you have a compatibility conflict.

Can I disable File Explorer automatically? No. explorer.exe is the Windows shell. It manages your desktop, taskbar, and start menu. You cannot fully "disable" it without switching to a command-line interface or a different operating system. However, you can prevent redundant instances from opening or stop crash loops from occurring.

Conclusion

Dealing with the question "why does my file explorer keep opening" is rarely about one single bug. It’s usually a chain of events: a bad update, a leftover extension, or a sync conflict.

Recap the diagnostic flow:

  1. Identify the type: Is it a crash loop (CPU spike) or an auto-launch (stable CPU)?
  2. Check Win 11 Sync: If you are on Windows 11, investigate OneDrive and the new "Home" tab.
  3. Test Shell Extensions: Use ShellExView to disable non-Microsoft context menu handlers.
  4. Repair System Files: Run sfc /scannow and DISM to fix the core shell.

If the issue persists across multiple user accounts, it is almost certainly a system-file issue requiring DISM/SFC repair. Remember, explorer.exe is the heart of your Windows experience. Stability here ensures stability everywhere.

If you’ve tried these steps and the issue persists, let me know in the comments below with your Windows version (10 or 11) and whether you’re running Clean Boot. I’d love to help you troubleshoot the specific edge case. Subscribe for more in-depth Windows 11 troubleshooting guides and deep-dive tech explainers.

Back