File Explorer Keeps Opening? Fixes That Work
In this article
If File Explorer keeps opening on its own in Windows, the cause is almost always a startup entry, a corrupted shell setting, or a stuck keyboard key. This guide walks through the most common fixes, from simple restarts to registry edits, so you can stop the pop-ups for good.
Why Does File Explorer Open Randomly?
File Explorer can launch itself for several reasons, and the right fix depends on the trigger. The most frequent culprits are:
- Startup programs: An app that runs at boot may call File Explorer as part of its routine, especially if it manages files or cloud sync.
- Shell startup folder: A shortcut placed in the Windows startup folder will open File Explorer every time you log in.
- Registry Run keys: Malware or leftover software can add entries that launch Explorer.exe at startup.
- Stuck keyboard key: A physical Windows key or Ctrl+E shortcut that is stuck can open File Explorer repeatedly.
- Corrupted system files: Damaged Windows components can cause Explorer to restart or open unexpectedly.
- Shell extensions: Third-party context menu items or preview handlers can crash and trigger Explorer to reload.
Quick Checks Before You Dig Deeper
Start with these simple steps—they resolve a surprising number of cases without touching advanced settings.
- Restart your PC. A temporary glitch in the shell often clears with a reboot.
- Check your keyboard. Unplug it or use an on-screen keyboard to see if the Windows key or Ctrl+E is stuck. If the problem stops, clean or replace the keyboard.
- Scan for malware. Run Windows Defender or a trusted antivirus full scan. Malware can add startup entries that open Explorer.
- Close background apps. Right-click the taskbar and open Task Manager. Look for apps that might be misbehaving, especially cloud sync tools or file managers.
Disable File Explorer in Startup
If the issue happens right after you log in, a startup entry is the likely cause. Here’s how to check and disable it:
- Press Ctrl+Shift+Esc to open Task Manager.
- Go to the Startup tab.
- Look for any entry that mentions “Explorer,” “File Explorer,” or something suspicious. Right-click it and select Disable.
- Also check the Startup folder: press Win+R, type
shell:startup, and press Enter. Delete any shortcuts that point to Explorer.exe or unknown files.
If you don’t see anything obvious, check the registry (next section) because many startup entries hide there.
Edit Registry Run Keys (Advanced)
Registry entries can force File Explorer to open at every boot. Editing the registry is safe if you follow these steps carefully, but always back up first.
- Press Win+R, type
regedit, and press Enter. - Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. - Look for any value that points to
explorer.exeor a suspicious path. Right-click it and select Delete. - Repeat for
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run(requires admin rights).
Be careful: only delete entries you are certain are unwanted. If you are unsure, search the value name online first. After deleting, restart and see if the problem persists.
Run System File Checker and DISM
Corrupted system files can cause Explorer to behave erratically. Windows has built-in tools to repair them.
- Open Command Prompt as administrator (right-click Start and choose Command Prompt (Admin) or Windows Terminal (Admin)).
- Type
sfc /scannowand press Enter. Wait for the scan to finish—this can take 10–15 minutes. - If SFC finds issues but can’t fix them, run
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This repairs the system image. - Restart your PC after both commands complete.
Check for Faulty Shell Extensions
Third-party shell extensions (like cloud storage context menus or archive tools) can crash Explorer, causing it to reopen. To test this, use a clean boot:
- Press Win+R, type
msconfig, and press Enter. - In the Services tab, check Hide all Microsoft services, then click Disable all.
- In the Startup tab, click Open Task Manager and disable all startup items.
- Restart. If File Explorer stops opening, re-enable services and startup items one by one until the culprit is found.
Alternatively, use a tool like ShellExView to disable individual shell extensions without a full clean boot. Disable non-Microsoft extensions and see if the issue goes away.
Reset File Explorer Settings
Sometimes the issue is not that Explorer opens, but that it restarts itself due to a crash. Resetting its view settings can help:
- Open File Explorer.
- Click View in the ribbon, then Options (or Change folder and search options).
- In the View tab, click Reset Folders and confirm.
- Also click Restore Defaults at the bottom, then Apply and OK.
If Explorer is crashing and reopening, check the Windows Event Viewer for application errors. Look under Windows Logs > Application for events with source “Application Error” that mention explorer.exe. This can give clues about which DLL or extension is failing.
Frequently Asked Questions
Why does File Explorer open at startup even after I disabled it in Task Manager?
Task Manager’s Startup tab only shows a subset of startup programs. Many entries live in the registry or the startup folder. Check those locations as described above. Also, some apps re-add themselves to startup after you disable them—look for settings within the app itself to turn off “launch at login.”
Can a virus cause File Explorer to open repeatedly?
Yes. Some malware adds registry entries that launch Explorer.exe to hide malicious activity or to annoy the user. Run a full antivirus scan, and if the problem persists, consider using Windows Defender Offline or a bootable rescue disk.
Is it safe to delete the Run registry entries?
It is safe to delete entries that you are sure are unwanted. However, some entries are needed for legitimate software to work. Always back up the registry before editing (right-click the key and select Export). If you are unsure about an entry, search its name online or leave it alone.
Why does File Explorer open when I press the Windows key?
The Windows key alone opens the Start menu, not File Explorer. If pressing the Windows key opens Explorer, your keyboard may have a remapped key or a stuck shortcut. Check your keyboard software for remapping, or test with a different keyboard.
What if File Explorer keeps opening after trying all these fixes?
If nothing works, the issue may be a deeper Windows corruption. Try creating a new user account and see if the problem persists there. If it doesn’t, the issue is tied to your user profile. As a last resort, you can reset Windows or perform a repair install using the Media Creation Tool, which keeps your files.