File Explorer Not Responding or Frozen in Windows 11: Restart and Repair Explorer.exe

This PC spins for half a minute, double-clicking a folder does nothing, and the desktop and taskbar lock up together. That is usually Windows Explorer (explorer.exe) hanging. It owns the desktop, the taskbar and your folder windows, so when it freezes the whole shell stops. The good news is that it can be restarted on its own, with no need to reinstall Windows.

1. The fastest fix, restart Explorer without touching your files

  1. Press Ctrl + Shift + Esc to open Task Manager. If the taskbar is frozen too, press Ctrl+Alt+Del first and pick Task Manager from there.
  2. Find Windows Explorer, right-click it, then choose Restart. The desktop blinks and comes back.
  3. If it is not in the list, choose File > Run new task, type explorer.exe and press Enter to start it.
  4. As a quick workaround you can also press Win+R, type explorer.exe and restart the shell that way.

This clears most one-off hangs and leaves your open documents alone, because those belong to other processes.

2. Clear File Explorer history

A damaged history or recent items list makes every folder slow to open.

  1. Open This PC or any folder, then choose the "..." menu > Options > Change folder and search options.
  2. On the General tab, under Privacy, choose Clear to wipe the File Explorer history.
  3. While you are there, clear "Show recently used files" and "Show frequently used folders" in Quick access, which reduces indexing load.
  4. On the View tab, choose Restore Defaults to undo any setting you have changed.

3. Corrupt thumbnail and icon caches

Folders full of pictures or video that never stop spinning usually have a corrupt thumbnail cache. These cache files are locked while Explorer is running, so they cannot simply be deleted. You have to stop the process first.

  1. Press Ctrl + Shift + Esc, find Windows Explorer, right-click it, and choose End task. The desktop disappears, which is expected.
  2. In Task Manager choose File > Run new task, type cmd, tick the box to create the task with administrative privileges, and press Enter.
  3. Run the following lines in order. The cache files carry the hidden attribute, so attrib has to clear that before they can be deleted.
cd /d %localappdata%\Microsoft\Windows\Explorer
attrib -h thumbcache_*.db
attrib -h iconcache_*.db
del /f /q thumbcache_*.db
del /f /q iconcache_*.db
start explorer
  1. The last line restarts Explorer and Windows rebuilds both caches. Opening a folder of photos is slower the first time, which is normal.

If you would rather stay out of the command line, go to Settings > System > Storage > Temporary files and tick Thumbnails. The downside is that locked files may not clear properly.

4. Remove what is slowing it down

  • Cloud drive sync and Quick access. Clients such as OneDrive and Baidu Netdisk push large numbers of files into Quick access, which slows everything down. Set File Explorer to open This PC instead, which bypasses Quick access.
  • Third-party context menu extensions. Archive tools, antivirus software and cloud drives each add entries, and too many of them slow the menu to the point of hanging. How to Restore the Classic Right-Click Menu in Windows 11 shows how to trim it. If you suspect a particular app, uninstall it temporarily and see whether things recover.
  • Folders packed with media. Opening a folder holding thousands of photos or videos stalls while previews are generated. Switch to the List or Details view and turn off extra-large icons.

5. System files and search index

  1. SFC. Run sfc /scannow in an admin terminal to repair damaged system files.
  2. DISM. Run DISM /Online /Cleanup-Image /RestoreHealth, which needs an internet connection, to fix components SFC cannot.
  3. Rebuild the search index. Go to Settings > Privacy & security > Searching Windows > Advanced indexing options > Advanced > Rebuild. A damaged index makes Explorer hang on every search.

6. Drivers and software conflicts

  • Graphics driver. Thumbnails and transparency effects depend on the GPU, and a broken driver causes hangs. Screen Flickering, Vertical Lines or a Garbled Display covers a clean reinstall.
  • Clean boot. In Task Manager > Startup apps, disable everything, or use msconfig and choose Selective startup, to rule out an app that launches at boot and hijacks the shell. Antivirus and cloud drive clients are the usual suspects.
  • Create a new local account. Go to Control Panel > User Accounts, create an administrator account and sign in with it. If the new account behaves normally, your old profile is damaged. Move your files across and use the new account, with no reinstall needed.

7. When the desktop and taskbar disappear together

If the desktop icons and taskbar never come back after a hang, that is a different problem. It is usually shell configuration lost after a feature update. Desktop Icons Missing, Taskbar Gone or Settings Reset After a Windows 11 Update covers how to get the desktop back, restore the taskbar and recover your settings.

8. Last resorts

  • Uninstall the most recent update. If the stutter began after a patch, go to Settings > Windows Update > Update history > Uninstall updates.
  • Reset this PC and keep your files. Less work than a clean install, and you can start it from Settings > System > Recovery. Back up your personal files first.

Common questions

Will restarting Explorer close the Word document I am editing?

No. Word, Excel and your browser are separate processes. Restarting explorer.exe only affects the desktop, the taskbar and folder windows.

Every picture folder spins forever and deleting the cache did not help. What now?

Check Folder Options for "Always show icons, never thumbnails". If a group policy in a corporate environment disables thumbnails, clearing the cache will not bring them back and the policy has to change.

The taskbar is unresponsive but the mouse still moves. Do I have to reboot?

No. Press Ctrl+Shift+Esc and restart Windows Explorer. In most cases the taskbar comes back immediately.

It works in a new account but hangs in my old one. Do I have to migrate?

Not necessarily. You can keep using the old account and put up with the stutter. Moving your personal files to the new account is the more thorough fix.