Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
SUMMARY
The Distributed Component Object Model (DCOM) is a protocol that enables software components to communicate directly over a network. Previously named "Network OLE," DCOM is designed for use across multiple network transports, including Internet protocols such as HTTP. More information about DCOM, visit the following Microsoft Web site:
http://www.microsoft.com/com/tech/dcom.aspDCOM is supported natively in Windows NT 4.0, Windows 2000, Windows XP, and Windows Server 2003.
Warning If you disable DCOM, may you may lose operating system functionality. After you disable support for DCOM, the following may result:
- Any COM objects that can be started remotely may not function correctly.
- The local COM+ snap-in will not be able to connect to remote servers to enumerate their COM+ catalog.
- Certificate auto-enrollment may not function correctly.
- Windows Management Instrumentation (WMI) queries against remote servers may not function correctly.
There are potentially many built-in components and 3rd party applications that will be affected if you disable DCOM. Microsoft does not recommend that you disable DCOM in your environment until you have tested to discover what applications are affected. Disabling DCOM may not be workable in all environments.
Support for DCOM on all Windows NT-based operating systems can be disabled. To disable this support, follow these steps.
Note To disable DCOM on a Windows 2000-based computer, you must be running Windows 2000 Service Pack 3 (SP3) or later.
Edit the Registry
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
- Start Registry Editor.
- Locate the following path:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLE
- Change the EnableDCOM string value to N.
- Restart the operating system for the changes to take effect.
Use DCOMCNFG.EXE
- Run Dcomcnfg.exe.
- If you are running Windows XP or Windows Server 2003, perform these additional steps:
- Click the Component Services node under Console Root.
- Open the Computers folder.
- For the local computer, right-click My Computer, and then click Properties.
- For a remote computer, right-click Computers folder, point to New, and then click Computer.
- Type the computer name.
- Right-click the computer name, and then click Properties.
- Click the Default Properties tab.
- Click to select (or click to clear) the Enable Distributed COM on this Computer check box.
- If you want to set more properties for the computer, click Apply to enable (or disable) DCOM. Otherwise, click OK to apply the changes and quit Dcomcnfg.exe.
- Restart the operating system for the changes to take effect.