Edit the Registry
1. Start Registry Editor.
2. Locate the following path:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLE
3. Change the EnableDCOM string value to N.
4. Restart the operating system for the changes to take effect.
Use DCOMCNFG.EXE
1. Run Dcomcnfg.exe.
2. If you are running Windows XP or Windows Server 2003, perform these additional steps:
1. Click the Component Services node under Console Root.
2. Open the Computers folder.
3. For the local computer, right-click My Computer, and then click Properties.
4. For a remote computer, right-click Computers folder, point to New, and then click Computer.
5. Type the computer name.
6. Right-click the computer name, and then click Properties.
3. Click the Default Properties tab.
4. Click to select (or click to clear) the Enable Distributed COM on this Computer check box.
5. 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.
6. Restart the operating system for the changes to take effect.
MORE INFORMATION
The following registry string value is used to enable or disable DCOM on all operating systems:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLE\EnableDCOM
If you change this value to N, you disable DCOM after you restart the operating system.