To enable or disable DCOM in Windows 7, follow the given steps:
1. Open Component Services.
2. In the console tree, click the Computers folder, right-click the computer for which you want to enable or disable DCOM, and then click Properties.
3. Click the Default Properties tab.
4. To enable DCOM, select the Enable Distributed COM on this computer check box. To disable DCOM, clear this check box.
5. Click OK.