Stop DCOM Error 10021 in 7 Simple Steps

If you use DCOM to enable the remote execution of COM objects, you might have encountered DCOM error 10021. Here's how to correct that error:

  1. Log on to the computer using an Administrator account.
  2. Select Run on the Start menu and type dcomcnfg.
  3. In the Microsoft Management Console (MMC) Component Services snap-in that appears, navigate to Console Root, Component Services, Computers, My Computer, DCOM Config, Framework service in the left pane.
  4. Highlight Framework service, right-click it, and select Properties.
  5. Select the Security tab.
  6. Under Launch and Activation Permissions, select the Use Default radio button and click OK. (Launch and Activation Permissions is set to Customize by default.)
  7. Close the Component Services snap-in and log off.

Before implementing these steps, I was getting four DCOM errors per logon. Now I don't get any.

Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.