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
- 1If the error names a specific DLL:
- 2CMD as Admin:
- 3regsvr32 <filename>.dll
- 4If that fails with "module failed to load": the DLL is missing
- 5For general COM re-registration:
- 6for %i in (%systemroot%\system32\*.dll) do regsvr32.exe /s %i
- 7This re-registers all system DLLs (takes a few minutes)
- 8Restart PC after completion
- 9For 32-bit apps on 64-bit Windows:
- 10regsvr32 on DLLs in C:\Windows\SysWOW64\ instead
Solution 2: Repair the Affected Application
- 1If error happens in a specific app (e.g., Office):
- 2Settings → Apps → Installed apps → find the app
- 3Click "..." → Modify → choose "Online Repair"
- 4For Microsoft Office specifically:
- 5Control Panel → Programs → find Office → Change → Online Repair
- 6If app doesn't have repair option: uninstall → reinstall
- 7Download fresh installer from official source
- 8After reinstall: restart PC before testing
Solution 3: Fix System COM Infrastructure
- 1CMD as Admin:
- 2sfc /scannow (repairs missing system DLLs)
- 3DISM /Online /Cleanup-Image /RestoreHealth
- 4Check if antivirus quarantined the DLL:
- 5Open antivirus → Quarantine/History → look for the DLL
- 6Restore it and add an exclusion
- 7For DCOM errors: run Component Services:
- 8dcomcnfg → Component Services → Computers → My Computer
- 9Right-click → Properties → Default Properties
- 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 TrialNo credit card required • Works on Windows 10 & 11