Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Windows Explorer Crashing on Office Files

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If Windows Explorer (the desktop and File Explorer) keeps crashing or restarting whenever you open an Office file, the problem is usually a broken file association, a faulty Office add-in, or a corrupted thumbnail cache. This guide walks you through the most reliable fixes in order, from quick registry checks to repairing Office itself.

What You'll Need

  • Administrator access to your Windows PC
  • Your Microsoft Office installation (any recent version)
  • About 15–20 minutes of time

Step-by-Step

  1. Restart Explorer manually. Press Ctrl+Shift+Esc to open Task Manager. Find “Windows Explorer” in the list, right‑click it, and choose Restart. This clears temporary glitches and gives you a clean slate for the next steps.
  2. Run the Office built‑in repair. Open Control Panel → Programs and Features (or Settings → Apps → Installed apps). Locate Microsoft Office, select it, and click Change. Choose Quick Repair first. If that doesn’t help, repeat with Online Repair (this downloads files and may take longer).
  3. Clear the thumbnail cache. Explorer often crashes when it tries to generate previews for Office files. Open File Explorer, go to the View tab, and ensure Hidden items is checked. Then navigate to %LocalAppData%\Microsoft\Windows\Explorer. Delete all files named thumbcache_*.db. Restart Explorer (Step 1). Windows will rebuild the cache.
  4. Reset Office file associations. Go to Settings → Apps → Default apps. Scroll down to Choose default applications by file type. Find .docx, .xlsx, and .pptx. For each, click the current app and select the corresponding Office app (e.g., Word, Excel, PowerPoint). If they are already correct, choose a different app (like Notepad) and then switch back to Office – this resets the association.
  5. Disable Office add‑ins. Open Word (or Excel/PowerPoint) in Safe Mode: press Win+R, type winword /safe (or excel /safe), and press Enter. If the crash stops, go to File → Options → Add‑ins. At the bottom, choose COM Add‑ins from the “Manage” dropdown and click Go. Uncheck all add‑ins, restart normally, and re‑enable them one by one to find the culprit.
  6. Check for corrupted shell extensions. Use the free tool ShellExView (from NirSoft) – it’s not a brand endorsement, just a common utility. Run it, sort by “Type”, and look for third‑party context‑menu handlers (e.g., from cloud storage or antivirus). Disable them temporarily by right‑clicking and selecting Disable. Restart Explorer and test. Re‑enable any that don’t cause the crash.
  7. Run System File Checker. Open Command Prompt as administrator (right‑click Start → Terminal (Admin)). Type sfc /scannow and press Enter. Let it finish. Then run DISM /Online /Cleanup-Image /RestoreHealth for deeper system repair.
  8. Create a new Windows user profile. If nothing else works, a corrupted user profile can cause Explorer to crash on Office files. Create a new local user account in Settings → Accounts → Family & other users. Log into that account and test. If it works, migrate your files and settings.

Common Mistakes

  • Skipping the Quick Repair. Many users jump straight to reinstalling Office, but the built‑in repair often fixes the issue without losing any settings.
  • Deleting the wrong cache. Make sure you are in the Explorer folder, not the IconCache folder. Deleting iconcache.db is harmless but won’t help with Office previews.
  • Disabling all add‑ins permanently. Some add‑ins are needed for your workflow. Only disable the ones that cause the crash, and re‑enable the rest.
  • Ignoring antivirus interference. Some security software hooks into Explorer and conflicts with Office. Temporarily disable your antivirus (not Windows Defender) to test – but only if you trust the source of the file.

Tips

  • Keep Windows and Office updated – many Explorer crashes are fixed in cumulative updates.
  • If you only see the crash when opening files from network drives, try copying the file locally first. This isolates a network issue.
  • Use the Preview pane in File Explorer sparingly – it loads Office components and can trigger crashes. Turn it off via the View tab if problems persist.
  • After fixing, restart your PC once to ensure all changes take effect.

Troubleshooting

If the steps above don’t resolve the issue:

  • Check the Event Viewer. Press Win+X and select Event Viewer. Look under Windows Logs → Application for errors with source “Application Error” or “Windows Explorer”. Note the faulting module – often it’s shell32.dll or an Office DLL. Search that module name online for specific fixes.
  • Test in a clean boot. Run msconfig, go to Services, check Hide all Microsoft services, then click Disable all. Restart. If Explorer works, re‑enable services in batches to find the conflict.
  • Check for malware. Run a full scan with Windows Defender or your preferred security tool. Some malware specifically targets Explorer to inject code.
  • If the crash only happens with one specific file, that file might be corrupted. Try opening it in Office’s Safe Mode (Step 5) or use the “Open and Repair” feature in Word/Excel (File → Open → select file → dropdown arrow → Open and Repair).
  • As a last resort, consider a Windows “Reset this PC” (keep files) – but back up your data first.

Frequently Asked Questions

Why does Explorer crash only when opening Office files?

Explorer uses the same Office components to generate previews and thumbnails. If those components are damaged or incompatible (often after an Office update), Explorer crashes.

Will I lose my documents if I repair Office?

No. Quick Repair and Online Repair only replace Office program files; your documents, settings, and add‑ins are preserved.

How do I know if an add‑in is causing the problem?

If Explorer stops crashing in Office Safe Mode (Step 5), then an add‑in is the likely cause. Disable all, then re‑enable one at a time to identify the offender.

Can I prevent this from happening again?

Keep Windows and Office updated, avoid installing too many shell extensions, and periodically clear the thumbnail cache if you notice slowdowns.

What if the issue is only with one file type (e.g., .xlsx)?

Reset that specific file association (Step 4). If it persists, that file type might have a corrupted shell handler from a third‑party app – check ShellExView.

Is it safe to delete the thumbnail cache?

Yes. Windows rebuilds it automatically. You’ll only notice that thumbnails take a moment to appear the first time you open a folder.