sodcalculator

10 Tech How-To

Fix Explorer.exe Server Execution Failed on Windows 11

Guide 10-57740 · Updated · Step by step

This guide walks you through fixing the “explorer.exe – Server execution failed” error on Windows 11. This error typically appears when you try to open File Explorer, launch certain apps, or right-click the desktop. The fixes below address the most common causes: corrupted system files, broken context menu handlers, and misconfigured registry entries. No special tools are required—just your Windows account with administrator rights.

What You’ll Need

  • Administrator access to the Windows 11 PC
  • An internet connection (for the DISM and SFC commands to download files if needed)
  • Patience—some steps take several minutes

Step-by-Step

  1. Restart File Explorer – Press Ctrl+Shift+Esc to open Task Manager. Find “Windows Explorer” in the Processes list, right-click it, and choose “Restart.” If the error was temporary, this clears it.
  2. Run the System File Checker (SFC) – Open Start, type cmd, right-click “Command Prompt” and select “Run as administrator.” Type sfc /scannow and press Enter. Wait for the scan to complete (it may take 10–20 minutes). If it finds corrupted files, it will try to repair them automatically.
  3. Run DISM to repair system image – In the same admin Command Prompt, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This fixes underlying Windows image corruption that SFC might miss. Let it finish (it can take 20–30 minutes). Then reboot and try File Explorer again.
  4. Check for Windows Updates – Open Settings (Win + I) → Windows Update → “Check for updates.” Install any pending updates and restart. Microsoft often patches bugs like this.
  5. Clean up context menu handlers – The error often comes from a broken third-party shell extension (like a zip tool or cloud sync app). Download ShellExView (free from NirSoft) and run it. Sort by “Type” and look for entries marked “Context Menu.” Disable any that are not from Microsoft (right-click → Disable). Restart Explorer. If the error disappears, re-enable them one by one to find the culprit.
  6. Repair or reinstall the problematic app – If the error appears when opening a specific program, go to Settings → Apps → Installed apps, find that app, click the three dots, and choose “Advanced options” → “Repair” (or “Reset” if repair fails). If that doesn’t work, uninstall and reinstall the app.
  7. Create a new user profile – Sometimes the current user profile is corrupted. Go to Settings → Accounts → “Other users” → “Add account.” Create a new local account (or Microsoft account). Log into the new account and see if the error persists. If it doesn’t, migrate your files and switch to that profile.
  8. Perform a clean boot – Press Win + R, type msconfig, go to the “Services” tab, check “Hide all Microsoft services,” and click “Disable all.” Then go to the “Startup” tab and click “Open Task Manager.” Disable all startup items. Restart. If the error is gone, re-enable services and startup items in batches to locate the offender.
  9. Run the Windows Store Apps troubleshooter – If the error occurs when opening UWP apps (like Photos or Mail), open Settings → System → Troubleshoot → “Other troubleshooters” → “Windows Store Apps” → Run. Follow the prompts.
  10. Reset File Explorer settings – Open File Explorer, click the three dots in the toolbar, select “Options.” Go to the “View” tab and click “Reset Folders” and “Clear File History.” This clears corrupted view settings.

Common Mistakes

  • Skipping the restart after SFC/DISM – Always restart after running these tools, otherwise the fixes may not take effect.
  • Disabling all shell extensions blindly – If you disable too many, you might lose useful features. Disable only non-Microsoft ones, and test after each batch.
  • Not running Command Prompt as administrator – SFC and DISM require admin rights; otherwise they’ll fail with an error.
  • Assuming it’s a virus – While malware can cause this, most often it’s a corrupted system file or a bad context menu handler. Run a full antivirus scan only after trying the above.

Tips

  • Create a system restore point before making registry changes or using ShellExView. This lets you revert if something goes wrong.
  • Keep your graphics drivers updated—outdated drivers can sometimes trigger Explorer crashes.
  • If you recently installed a new program, uninstall it first and see if the error disappears.
  • Use the “Event Viewer” (type eventvwr in Start) to check for error logs under “Windows Logs → Application” that mention “explorer.exe.” The details can point to the exact faulty module.

Troubleshooting

If the error persists after all steps, try the following:

  • Boot into Safe Mode – Restart, hold Shift and click “Restart” on the login screen. Go to Troubleshoot → Advanced options → Startup Settings → Restart, then press 4 for Safe Mode. If the error doesn’t appear in Safe Mode, a third-party service or driver is the cause. Use the clean boot method to isolate it.
  • Use System Restore – If you have a restore point from before the error started, go to Control Panel → Recovery → “Open System Restore” and follow the wizard.
  • Check for disk errors – Open an admin Command Prompt and run chkdsk /f /r. You’ll need to restart. This repairs bad sectors that could corrupt files.
  • Reset Windows – As a last resort, go to Settings → System → Recovery → “Reset PC.” Choose “Keep my files” to reinstall Windows without losing personal data (but back up anyway).

Frequently Asked Questions

Why does “Server execution failed” appear when I right-click the desktop?

This is usually caused by a broken context menu handler—a program that adds items to the right-click menu but is misconfigured or uninstalled improperly. Disabling non-Microsoft shell extensions with ShellExView fixes it.

Can this error be caused by a virus?

Yes, malware can corrupt Explorer or its associated DLLs. Run a full antivirus scan with Windows Defender or a trusted third-party tool, but first try the SFC and DISM steps, as they are more common fixes.

Will I lose my files if I reset Windows?

If you choose “Keep my files,” Windows will reinstall and remove apps but preserve your personal files in the Users folder. Still, back up important data to an external drive before resetting.

How long does the DISM command take?

It can take anywhere from 10 to 40 minutes depending on your system speed and internet connection. Do not close the Command Prompt window during the process.

Is it safe to disable all non-Microsoft shell extensions?

Yes, it’s temporary. Disabling them only removes their context menu items. You can re-enable them later. It won’t uninstall the programs.

What if the error occurs only when I open a specific file type?

That suggests the default app for that file type is broken. Go to Settings → Apps → Default apps, find the file extension, and change the default app to another one, then switch back. Or reinstall the app that handles that file type.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →