ANAVEM
Languagefr
Windows Component Services interface showing DCOM configuration on multiple monitors in a professional IT environment
Event ID 10005ErrorDCOMWindows

Windows Event ID 10005 – DCOM: Distributed COM Error

Event ID 10005 indicates DCOM server startup failures or timeout issues when Windows attempts to launch COM+ applications or services, commonly affecting system performance and application functionality.

Emanuel DE ALMEIDAEmanuel DE ALMEIDA
18 March 202612 min read 0
Event ID 10005DCOM 5 methods 12 min
Event Reference

What This Event Means

Event ID 10005 represents a critical DCOM infrastructure failure that occurs when Windows cannot successfully activate or communicate with a registered DCOM server application. The Distributed Component Object Model acts as a middleware layer enabling object-oriented communication between applications, services, and system components across process and machine boundaries.

When this event fires, Windows has attempted to launch a DCOM server but encountered one of several failure conditions: the target application failed to start within the timeout window, insufficient permissions prevented activation, the application crashed during initialization, or network connectivity issues blocked remote DCOM calls. The event details typically include the CLSID (Class Identifier) of the failing component, error codes, and timeout values.

This error significantly impacts system stability and application functionality, particularly in enterprise environments where business-critical applications depend on DCOM services. Common affected components include Microsoft Office applications running as COM servers, custom business applications built on COM+ technology, web services utilizing DCOM for backend communication, and system services that leverage distributed computing capabilities.

The timing of Event ID 10005 often correlates with system startup, user logon processes, or specific application launch sequences. In server environments, this event may indicate resource contention, service dependency failures, or security configuration issues that prevent proper DCOM operation.

Applies to

Windows 10Windows 11Windows Server 2019/2022/2025
Analysis

Possible Causes

  • DCOM server application startup timeout exceeding configured limits
  • Insufficient permissions for DCOM application activation or execution
  • Corrupted or missing DCOM application registration entries
  • Target DCOM server process crashing during initialization
  • Network connectivity issues preventing remote DCOM communication
  • Resource constraints preventing application startup (memory, CPU, handles)
  • Antivirus software blocking DCOM server executable files
  • Windows Firewall blocking required DCOM communication ports
  • Service dependency failures affecting DCOM infrastructure
  • Registry corruption affecting DCOM configuration settings
Resolution Methods

Troubleshooting Steps

01

Identify Failing DCOM Application

Start by identifying the specific DCOM application generating the error through Event Viewer analysis.

  1. Open Event ViewerWindows LogsSystem
  2. Filter for Event ID 10005 using the filter option
  3. Examine the event details to locate the CLSID and application name
  4. Use PowerShell to correlate CLSID with application:
Get-WinEvent -FilterHashtable @{LogName='System'; Id=10005} -MaxEvents 20 | Format-List TimeCreated, Id, LevelDisplayName, Message
  1. Cross-reference the CLSID in the registry:
Get-ChildItem "HKLM:\SOFTWARE\Classes\CLSID" | Where-Object {$_.Name -like "*YOUR_CLSID*"}
  1. Document the failing application for targeted troubleshooting
Pro tip: Use dcomcnfg.exe to browse registered DCOM applications and match CLSIDs to friendly names.
02

Configure DCOM Application Permissions

Adjust DCOM security settings to resolve permission-related activation failures.

  1. Launch Component Services by running dcomcnfg.exe
  2. Navigate to Component ServicesComputersMy ComputerDCOM Config
  3. Locate the failing application identified in Method 1
  4. Right-click the application → PropertiesSecurity tab
  5. Configure Launch and Activation Permissions:
    • Click EditAdd → Enter the user/service account
    • Grant Local Launch, Remote Launch, Local Activation, and Remote Activation
  6. Configure Access Permissions similarly
  7. Set Authentication Level to None for testing (revert after resolution)
  8. Apply changes and restart the affected service:
Restart-Service -Name "ServiceName" -Force
Warning: Lowering authentication levels reduces security. Restore proper authentication after testing.
03

Increase DCOM Timeout Values

Extend timeout periods to accommodate slow-starting DCOM applications.

  1. Open Component Services (dcomcnfg.exe)
  2. Navigate to the failing DCOM application properties
  3. Go to PropertiesAdvanced tab
  4. Increase Server Startup Timeout from default 30 seconds to 120 seconds
  5. Alternatively, modify registry values directly:
# Increase global DCOM timeout
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Ole" -Name "CallFailureLoggingLevel" -Value 1
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Ole" -Name "EnableDCOMHTTP" -Value 1
  1. For application-specific timeouts, modify the CLSID registry key:
# Replace {CLSID} with actual CLSID from Event 10005
$clsidPath = "HKLM:\SOFTWARE\Classes\CLSID\{YOUR_CLSID}\LocalServer32"
Set-ItemProperty -Path $clsidPath -Name "ServerExecuteTimeout" -Value 120000
  1. Restart the system or affected services to apply changes
  2. Monitor Event Viewer for resolution confirmation
04

Repair DCOM Registration

Re-register DCOM components to resolve corrupted registration entries.

  1. Identify the executable path of the failing DCOM application
  2. Open an elevated Command Prompt or PowerShell
  3. Re-register the DCOM server executable:
# For .exe files
Start-Process -FilePath "C:\Path\To\Application.exe" -ArgumentList "/regserver" -Wait

# For .dll files
regsvr32 "C:\Path\To\Component.dll"
  1. Clear and rebuild DCOM configuration cache:
# Stop DCOM service
Stop-Service -Name "RpcSs" -Force
Stop-Service -Name "DcomLaunch" -Force

# Clear DCOM cache
Remove-Item -Path "C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\UsrClass.dat*" -Force

# Restart services
Start-Service -Name "DcomLaunch"
Start-Service -Name "RpcSs"
  1. Verify registration using Component Services browser
  2. Test application functionality and monitor for Event ID 10005
Pro tip: Use regsvr32 /u to unregister before re-registering if corruption is suspected.
05

Advanced DCOM Troubleshooting with Process Monitor

Perform deep analysis using Process Monitor and DCOM logging for complex scenarios.

  1. Download and run Process Monitor (ProcMon) from Microsoft Sysinternals
  2. Configure ProcMon filters:
    • Process Name contains the DCOM application name
    • Operation is Process and Thread Activity
    • Result contains ACCESS DENIED or NAME NOT FOUND
  3. Enable detailed DCOM logging in the registry:
# Enable DCOM error logging
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Ole" -Name "EnableDCOMHTTP" -Value 1
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Ole" -Name "CallFailureLoggingLevel" -Value 1

# Enable DCOM security logging
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Ole" -Name "LogSecurityFailures" -Value 1 -PropertyType DWord
  1. Reproduce the DCOM error while monitoring with ProcMon
  2. Analyze captured events for file access, registry access, and network activity patterns
  3. Check Windows Security log for authentication failures:
Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4625,4648,4672} -MaxEvents 50 | Where-Object {$_.TimeCreated -gt (Get-Date).AddHours(-1)}
  1. Review DCOM-specific event logs:
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='DCOM'} -MaxEvents 100
  1. Correlate findings with system resource usage and network connectivity
  2. Implement targeted fixes based on root cause analysis
Warning: Disable detailed DCOM logging after troubleshooting to prevent log file growth and performance impact.

Overview

Event ID 10005 fires when the Distributed Component Object Model (DCOM) encounters critical errors during server activation or communication processes. This event typically appears in the System log when Windows fails to start a DCOM server application within the configured timeout period, or when permission issues prevent proper COM+ component initialization.

DCOM serves as the foundation for inter-process communication in Windows environments, enabling applications to communicate across process boundaries and network connections. When Event ID 10005 occurs, it signals that a registered DCOM application failed to respond to activation requests, potentially impacting dependent services and applications.

The event commonly affects enterprise environments running COM+-based applications, web services, and legacy business applications that rely on DCOM infrastructure. System administrators frequently encounter this event during server startup sequences, application deployments, or after security policy changes that modify DCOM permissions.

Understanding the specific DCOM application generating the error is crucial for effective troubleshooting, as the root cause varies significantly between different COM+ components and their configuration requirements.

Frequently Asked Questions

What does Event ID 10005 mean and why does it occur?+
Event ID 10005 indicates a DCOM (Distributed Component Object Model) server activation failure. It occurs when Windows cannot successfully start or communicate with a registered DCOM application within the configured timeout period. Common causes include permission issues, application crashes during startup, resource constraints, or network connectivity problems. The event typically includes a CLSID that identifies the specific failing component, making targeted troubleshooting possible.
How do I identify which application is causing Event ID 10005?+
Examine the Event ID 10005 details in Event Viewer to locate the CLSID (Class Identifier) mentioned in the error message. Use Component Services (dcomcnfg.exe) to browse DCOM applications and match the CLSID to a friendly application name. Alternatively, search the registry under HKLM\SOFTWARE\Classes\CLSID for the specific CLSID to find associated executable paths and application details. PowerShell commands like Get-WinEvent can help filter and analyze multiple occurrences of the event.
Can Event ID 10005 cause system performance issues?+
Yes, Event ID 10005 can significantly impact system performance and stability. When DCOM applications fail to start, dependent services and applications may become unresponsive or crash. The repeated activation attempts can consume system resources, and timeout periods can delay other system operations. In enterprise environments, failed DCOM components can disrupt business-critical applications, web services, and inter-application communication, leading to cascading failures across the infrastructure.
What are the most effective methods to resolve Event ID 10005?+
The most effective resolution approach involves: 1) Identifying the specific failing DCOM application through Event Viewer analysis, 2) Configuring proper DCOM permissions using Component Services (dcomcnfg.exe), 3) Increasing timeout values for slow-starting applications, 4) Re-registering corrupted DCOM components using regsvr32 or application-specific registration commands, and 5) Analyzing detailed logs with Process Monitor for complex scenarios. Start with permission configuration as it resolves the majority of DCOM activation failures.
How do I prevent Event ID 10005 from recurring after resolution?+
Prevent recurrence by implementing proper DCOM security configurations, monitoring system resources to ensure adequate memory and CPU availability, maintaining current application updates and patches, configuring appropriate timeout values for your environment, and establishing regular monitoring of DCOM-related events. Additionally, document working DCOM configurations, implement change management procedures for security policy modifications, and consider using Group Policy to standardize DCOM settings across multiple systems in enterprise environments.
Documentation

References (2)

Emanuel DE ALMEIDA
Written by

Emanuel DE ALMEIDA

Senior IT Journalist & Cloud Architect

Microsoft MCSA-certified Cloud Architect | Fortinet-focused. I modernize cloud, hybrid & on-prem infrastructure for reliability, security, performance and cost control - sharing field-tested ops & troubleshooting.

Discussion

Share your thoughts and insights

You must be logged in to comment.

Loading comments...