Resolve Errors when Configuring CDOM and WMI for Remote Monitoring Systems
If you encounter an ‘Access Denied’ error when attempting to access Windows systems, you can resolve the issue by configuring DCOM and WMI settings on the target machine.
Configuring DCOM
To configure DCOM permissions:
-
On the target system, open the DCOM Configuration Tool by clicking Start > Run
-OR-
press
WIN + R. -
Type
dcomcnfg, and click OK or press Enter. -
In the Component Services window, expand Component Services > Computers. Right-click My Computer and select Properties.
-
Navigate to the COM Security tab.
-
Under Launch and Activation Permissions, click Edit Limits.
-
Select Distributed COM Users.
-
Enable the Allow option for Remote Access.
-
-
Under Access Permissions, click Edit Limits.
-
Select Distributed COM Users.
-
Enable the Allow option for Remote Access.
-
-
Click OK to apply the changes.
Add Required Users to Local Groups
To add user accounts to required groups:
-
Open Computer Management > Local Users and Groups.
-
Add the following:
-
Add the user account to the Distributed COM Users group.
-
Add the user account to the Performance Log Users group.
-
Configuring WMI
To configure DCOM permissions:
-
On the target system, open the DCOM Configuration Tool by clicking Start > Run
-OR-
press
WIN + R. -
Type
wmimgmt.msc, and click OK or press Enter. -
In the WMI Control window, right-click WMI Control and select Properties.
-
Navigate to the Security tab and select the Root namespace.
-
Click Security> Add to add the user account.
-
In the Select Users, Computers, or Groups window
-
Enter the user account and check names to verify the entry.
-
Click OK.
-
-
Ensure the permissions propagate to all subnamespaces.
-
In the Security window, under Permissions for Authenticated Users, check Enable Account and Remote Enable.
-
Under Security > Advanced, double-click the user/group to open properties.
-
Set the Scope to This namespace and subnamespaces.
-
-
Click OK to apply the changes.