🚀 NEW in v2.4.29: 35+ Speed Optimizations added today!Download Now →

Home/Fix/Fix Error 0x80040111 — ClassFactory Cannot Supply Requested Class

How to Fix Fix Error 0x80040111 — ClassFactory Cannot Supply Requested Class on Windows

Getting error 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)? COM class not registered? Application can't create required object? Fix this COM/DCOM class registration error.

Symptoms

You might be experiencing this problem if you notice:

  • Application fails with error 0x80040111 on launch
  • "Class not registered" error in Windows applications
  • Outlook or Office apps crash with this error code
  • DCOM errors in Event Viewer referencing 0x80040111
  • Automation scripts fail with "ClassFactory" error
  • Windows feature or service won't start due to missing class

Common Causes

  • COM/DCOM component not registered in Windows registry
  • Application installation corrupted or incomplete
  • DLL file missing that provides the required COM class
  • 32-bit/64-bit mismatch for COM component
  • Windows Update damaged COM registration entries
  • Antivirus quarantined required DLL file

Solutions

Solution 1: Re-register COM Components

  1. 1If the error names a specific DLL:
  2. 2CMD as Admin:
  3. 3regsvr32 <filename>.dll
  4. 4If that fails with "module failed to load": the DLL is missing
  5. 5For general COM re-registration:
  6. 6for %i in (%systemroot%\system32\*.dll) do regsvr32.exe /s %i
  7. 7This re-registers all system DLLs (takes a few minutes)
  8. 8Restart PC after completion
  9. 9For 32-bit apps on 64-bit Windows:
  10. 10regsvr32 on DLLs in C:\Windows\SysWOW64\ instead

Solution 2: Repair the Affected Application

  1. 1If error happens in a specific app (e.g., Office):
  2. 2Settings → Apps → Installed apps → find the app
  3. 3Click "..." → Modify → choose "Online Repair"
  4. 4For Microsoft Office specifically:
  5. 5Control Panel → Programs → find Office → Change → Online Repair
  6. 6If app doesn't have repair option: uninstall → reinstall
  7. 7Download fresh installer from official source
  8. 8After reinstall: restart PC before testing

Solution 3: Fix System COM Infrastructure

  1. 1CMD as Admin:
  2. 2sfc /scannow (repairs missing system DLLs)
  3. 3DISM /Online /Cleanup-Image /RestoreHealth
  4. 4Check if antivirus quarantined the DLL:
  5. 5Open antivirus → Quarantine/History → look for the DLL
  6. 6Restore it and add an exclusion
  7. 7For DCOM errors: run Component Services:
  8. 8dcomcnfg → Component Services → Computers → My Computer
  9. 9Right-click → Properties → Default Properties
  10. 10Ensure "Enable Distributed COM on this computer" is checked
FIXES THIS IN 5 MINUTES

Fix Fix Error 0x80040111 — ClassFactory Cannot Supply Requested Class Automatically

RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.

Download Now - Free Trial

No credit card required • Works on Windows 10 & 11

Automated Repairs for This Issue

Browse More Update & Installation Guides

Share this:XRedditLinkedInEmail