0X80080006

Fix CO_E_OBJSRV_RPC_FAILURE 0x80080006 in Minutes

This error pops up when Windows services or apps can't talk to COM objects. Here's how to fix it fast, starting with the DCOM service and permissions.

Yeah, that 0x80080006 error is annoying — especially when it kills a service or app mid-task. Let's get you sorted.

The Fix: Reset DCOM and RPC Services

In 90% of cases, this error means the DCOM service (or the RPC Endpoint Mapper) isn't running or got stuck. Here's the fix that works most often.

  1. Press Windows + R, type services.msc, and hit Enter.
  2. Scroll down and find DCOM Server Process Launcher. Right-click it and select Restart. If it's not running, double-click it, set Startup type to Automatic, and click Start.
  3. Do the same for Remote Procedure Call (RPC) and RPC Endpoint Mapper — restart them if they're running, or start them if not.
  4. After each restart, click OK. You don't need to reboot.

Now try whatever you were doing again. If the error clears, you're done. If not, keep reading.

Why This Works

COM objects (like OLE services) rely on the RPC infrastructure. When the DCOM launcher or RPC service gets a hiccup — often after a system update or a hung process — the communication channel breaks. Restarting those services clears the stuck state. It's the quickest win.

If That Didn't Fix It: Check DCOM Permissions

Sometimes the service runs fine but the account trying to use it doesn't have the right permissions. This bites a lot on Windows Server 2016 and 2019, especially when running scheduled tasks or IIS apps.

  1. Open Component Services: Press Windows + R, type dcomcnfg, and hit Enter.
  2. Go to Component Services > Computers > My Computer > DCOM Config.
  3. Find the component that's throwing the error (you might see it in the app's event log). Right-click it and choose Properties.
  4. Go to the Security tab. Under Launch and Activation Permissions, select Customize, then click Edit.
  5. Add the account that's running the app (like NETWORK SERVICE or LOCAL SERVICE) and give it Local Launch and Local Activation permissions.
  6. Click OK on all dialogs.

After you change permissions, the setting applies immediately. Re-run your app or service.

Less Common Variations

Corrupted Registry Entry

Sometimes the DCOM registration for a specific component gets mangled. You'll usually see this after a bad uninstall or reinstall.

  1. Open Registry Editor (regedit).
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID.
  3. Search (Ctrl+F) for the component's GUID — you'll find it in the error details or event log.
  4. If you find a broken entry, export it as a backup, then delete it.

Careful here—only delete if you're sure it's isolated. Deleting the wrong key can break other things.

System File Corruption

If the error pops up across multiple apps, your system files might be damaged. Run these commands in an elevated command prompt:

sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth

Let sfc finish first. It might take 10–15 minutes. Then run DISM. Reboot after both.

Firewall or Antivirus Blocking RPC

On a network or server, a firewall rule can block RPC dynamic ports. Check your firewall logs for blocked connections from the app. If you're using Windows Firewall, make sure the Remote Procedure Call (RPC) inbound rule is enabled. For third-party AV, temporarily disable it to test — but only for a couple of minutes.

Prevention

  • Keep Windows updated. The culprit is often a patch that broke a service, and a newer patch fixes it.
  • Don't let apps run as SYSTEM unless they need to. Limit accounts to least privilege — that reduces permission-related failures.
  • If you're on Server 2019, check for known issues with DCOM after certain cumulative updates. Search for the KB number and any hotfixes.
  • Monitor Event Viewer under Windows Logs > System for repeated DCOM warnings. Early detection saves you from a full outage.

That's the whole playbook. Try the service restart first, then permissions, and you'll resolve most cases of 0x80080006.

Related Errors in Server & Cloud
0XC0020009 RPC_NT_NO_ENDPOINT_FOUND 0XC0020009 – Fix Fast 0X0DEAD107 0X0DEAD107 Fix: NTLM Quota Exceeded on Windows Server 0X000006DE Fix RPC_S_NOT_ALL_OBJS_UNEXPORTED (0x000006DE) Error 0X0000092F Fix 0X0000092F: Computer Name Invalid in Event Viewer

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.