sodcalculator

10 Tech How-To

Fix Server Execution Failed Error 0x80080005

Guide 10-29079 · Updated · Step by step

If you see error 0x80080005 (“Server execution failed”) on Windows, it usually means a COM or DCOM component couldn’t start, often due to permission issues or a corrupted service. The most effective fix is to reset the permissions on the registry key HKEY_CLASSES_ROOT\CLSID\{00024586-0000-0000-C000-000000000046} (used by Microsoft Office) and then restart the affected service, like the Print Spooler or Windows Update.

What Causes Error 0x80080005?

This error appears when Windows tries to run a Component Object Model (COM) object but the server process fails to launch. COM is the system that lets different programs talk to each other; when a component can’t execute, you get “Server execution failed” with the hex code 0x80080005. Common triggers include:

  • Incorrect or missing registry permissions on the COM class ID (CLSID).
  • Corrupted system files or a damaged Windows service.
  • Third-party security software blocking the COM server.
  • Outdated or conflicting drivers, especially for printers or scanners.
  • Interference from a recent Windows update or software installation.

The error often appears when using Microsoft Office (Excel, Word), printing, or running Windows Update—all of which rely on COM components.

How to Fix It: Step-by-Step

Start with the simplest solutions and move to more advanced ones. Always back up your registry before editing it.

  1. Restart the affected service – Open Services (Win+R, type services.msc), find the service related to the error (e.g., Print Spooler for printing, Windows Update for updates), right-click and choose Restart. If it fails, note the error message.
  2. Run System File Checker – Open Command Prompt as Administrator and run sfc /scannow. This repairs corrupted Windows files. Then run DISM /Online /Cleanup-Image /RestoreHealth.
  3. Fix registry permissions for the CLSID – This is the most common fix for Office-related 0x80080005. Open Regedit, navigate to HKEY_CLASSES_ROOT\CLSID\{00024586-0000-0000-C000-000000000046}, right-click it, select Permissions, and add your user account with Full Control. If the key is missing, create it manually.
  4. Re-register the COM component – In an elevated Command Prompt, type regsvr32.exe /i "C:\Program Files\Common Files\Microsoft Shared\OFFICE16\MSOXMLMF.DLL" (adjust the path for your Office version). This re-registers the component.
  5. Check for malware – Run a full antivirus scan. Some malware specifically targets COM permissions.
  6. Perform a clean boot – Use msconfig to disable all non-Microsoft services and startup items, then try the operation again. If it works, enable services one by one to find the culprit.

Why Registry Permissions Matter

COM components run under specific user accounts, often the Local System or the current user. The registry key stores the security descriptor that tells Windows which accounts can launch the server. If the descriptor is corrupted—often after a user profile change, a domain migration, or a bad uninstall—Windows denies the launch, resulting in 0x80080005. Resetting the permissions to grant your account Full Control bypasses the broken descriptor. This is why the CLSID fix is so reliable for Office errors.

Common Scenarios and Specific Fixes

Depending on what you were doing when the error appeared, the solution may vary:

  • Printing – Stop the Print Spooler service, delete files in C:\Windows\System32\spool\PRINTERS, then restart the service. Also update your printer driver.
  • Microsoft Office (Excel, Word) – Use the registry permission fix above. Also try repairing Office via Settings > Apps > Microsoft Office > Modify > Quick Repair.
  • Windows Update – Stop the Windows Update service, delete the C:\Windows\SoftwareDistribution folder, then restart the service. Run the Windows Update Troubleshooter.
  • Task Scheduler – If the error appears in Task Scheduler, check the task’s “Run with highest privileges” option and ensure the user account has “Log on as batch job” rights.

When to Use System Restore or Reset

If none of the above works, you may need to revert to a previous state. System Restore (type rstrui in Run) can roll back registry and service changes. If the error started after a specific update, uninstall that update. As a last resort, use Windows Reset (Settings > Update & Security > Recovery) to reinstall Windows while keeping your files—but this is time-consuming and should be done only after trying everything else.

Frequently Asked Questions

Is error 0x80080005 dangerous?

No, it’s not a sign of hardware failure or a virus. It’s a software-level error that prevents a program from launching a background component. It can be annoying but is fixable with the steps above.

Why does it happen with Office but not other apps?

Office uses many COM components, and the specific CLSID {00024586-…} is used by Excel and Word for automation. If that component’s registry entry is damaged, only those apps will fail.

Can I fix it without editing the registry?

Yes, try restarting the service or running SFC first. But if the registry permissions are the root cause, the registry edit is the only reliable fix. Always back up the key before changing permissions.

Will this error affect my data?

No, it doesn’t touch your files. It only prevents the program from executing a background task. Your documents are safe.

Does this error occur on Windows 10 and 11?

Yes, it appears on both, and the fixes are the same. The registry path and service names are identical across these versions.

What if I’m not using Office but still get the error?

Then the problem is likely a different COM component. Use the Event Viewer (eventvwr.msc) to find the specific CLSID in the error details, then apply the permission fix to that CLSID.

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 →