Windows 11 File Explorer Keeps Restarting? Fix
If your Windows 11 File Explorer keeps restarting or flashing on the screen, the problem is usually a corrupted cache, a conflicting shell extension, or a buggy graphics driver. You can often fix it by clearing the File Explorer history, running a DISM scan, or disabling problematic add-ons in a few minutes. Below are the most effective fixes, explained step by step, plus what causes the issue and how to prevent it from coming back.
Why Does File Explorer Restart Itself?
File Explorer is the graphical shell of Windows, meaning it draws your desktop, taskbar, and open folders. When it crashes, Windows automatically restarts it to keep the desktop usable. A restart loop happens when something makes Explorer crash immediately after it loads, so it keeps restarting over and over. Common triggers include:
- Corrupted thumbnail or icon cache files
- Third-party shell extensions (e.g., from cloud storage, archive tools, or context-menu utilities)
- Outdated or incompatible graphics drivers
- System file corruption after an update or power outage
- Conflicting startup programs that hook into Explorer
Quick Fix: Restart File Explorer Manually
If the loop is intermittent, a manual restart can break the cycle. Press Ctrl+Shift+Esc to open Task Manager, find “Windows Explorer� under Processes, right-click it, and choose Restart. This closes and relaunches the shell once. If it restarts cleanly, the issue may be temporary; if it immediately crashes again, move to the next steps.
Clear the File Explorer Cache
Corrupted cache files are the most common cause of repeated crashes. Windows stores thumbnail previews, folder icons, and the quick-access list in hidden files. Clearing them forces Explorer to rebuild them from scratch.
- Open File Explorer (if it stays open long enough) or press Win+R, type
control folders, and press Enter. - Go to the View tab and select Show hidden files, folders, and drives. Click OK.
- Press Win+R, type
%LocalAppData%\Microsoft\Windows\Explorer, and press Enter. - Delete all files that start with
thumbcache_andiconcache_. You may need to close File Explorer first (use Task Manager to restart it after). - Restart File Explorer from Task Manager.
If you prefer, you can use Disk Cleanup: search for “Disk Cleanup� in the Start menu, select your drive, and check Thumbnails before cleaning.
Run System File Checker and DISM
Windows system file corruption can cause Explorer to crash repeatedly. The built-in System File Checker (SFC) and Deployment Imaging Service and Management Tool (DISM) can repair damaged files.
- Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
- Type
sfc /scannowand press Enter. Wait for it to finish (it may take 10–20 minutes). - If SFC finds issues it cannot fix, run
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. This downloads fresh system files from Windows Update. - Restart your PC after both commands complete.
Note: SFC only repairs system files; it won’t fix third-party shell extensions. If the problem persists, the cause is likely an add-on.
Disable Problematic Shell Extensions
Shell extensions add items to the right-click context menu or modify how folders behave. A poorly written extension can crash Explorer every time it loads. To find the culprit, you can use the free tool ShellExView (from NirSoft), which lists all installed shell extensions. Disable non-Microsoft extensions one by one, restarting Explorer after each, until the crashes stop. Common offenders include older versions of 7-Zip, WinRAR, cloud sync apps (Dropbox, OneDrive, Google Drive), and “send to� utilities.
If you don’t want to use a third-party tool, you can also try a clean boot to see if the issue is caused by a startup program:
- Press Win+R, type
msconfig, and press Enter. - On the Services tab, check Hide all Microsoft services, then click Disable all.
- On the Startup tab, click Open Task Manager and disable all startup items.
- Restart your PC. If Explorer works, re-enable services and startup items in batches to isolate the offender.
Update or Roll Back Graphics Drivers
Explorer uses your GPU to render icons, animations, and transparency effects. An outdated or buggy graphics driver can cause frequent crashes, especially after a Windows update. Visit your GPU manufacturer’s website (Intel, AMD, NVIDIA) or use Windows Update to check for driver updates. If the crashes started after a recent driver update, roll back to the previous version: go to Device Manager, expand “Display adapters,� right-click your GPU, select Properties → Driver → Roll Back Driver.
Advanced: Reset File Explorer via PowerShell
If nothing else works, you can reset File Explorer’s settings to their defaults via PowerShell. This clears folder view settings, but does not delete your files.
- Right-click the Start button and select Terminal (Admin).
- Type the following and press Enter:
Get-AppxPackage -AllUsers | Where-Object {$_.Name -eq "Microsoft.Windows.Explorer"} | Reset-AppxPackage - Restart your PC. This re-registers the built-in Explorer app package.
Note: This command is not widely documented, but it is safe for most systems. If you are uncomfortable with PowerShell, you can instead create a new user account and see if the issue follows you. If it doesn’t, the problem is tied to your user profile.
Frequently Asked Questions
Why does File Explorer keep flashing on my screen?
Flashing usually means Explorer is crashing and restarting repeatedly. The most common cause is a corrupted icon or thumbnail cache. Clearing the cache (as described above) resolves it in most cases.
Can a virus cause File Explorer to restart?
Yes, malware can inject code into Explorer or modify system files to cause instability. If you suspect an infection, run a full scan with Windows Defender or a reputable third-party antivirus. However, the issue is more often caused by legitimate but buggy software.
Will I lose my files if I reset File Explorer?
No. Resetting File Explorer (via PowerShell or clearing the cache) only affects settings and cached data. Your documents, photos, and other files remain untouched.
Why does File Explorer crash only when I open a specific folder?
That suggests the folder contains a corrupted thumbnail or a file type that triggers a buggy shell extension. Try opening the folder in a new window, clearing the thumbnail cache, or disabling shell extensions one by one. If the folder is on a network drive, the issue could be a slow or failing connection.
Is there a way to prevent File Explorer from restarting automatically?
You can disable automatic restart by changing a registry value, but it’s not recommended because you’ll be left with no desktop or taskbar. Instead, fix the underlying cause. If you must, you can set HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer to create a DWORD named NoDesktop with value 1, but this hides the desktop entirely.
Does Windows 11 have a known bug with File Explorer?
Yes, several Windows 11 updates have introduced Explorer bugs, such as crashes when right-clicking or when using certain video files. Microsoft typically fixes these in cumulative updates. Check Windows Update for the latest patches, and consider uninstalling a recent update if the problem started right after one.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.