To work around this issue, you have to grant the BUILTIN\Performance Monitor Users group (S-1-5-32-558) permissions to Write to the Application log on the Exchange 2007 server. Then, you must use the BUILTIN\Performance Monitor Users group to grant remote access to the performance counters. To do this, follow these steps.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
- Click Start, click Run, type regedit, and then click OK.
- Locate, and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Eventlog\Application
- Right-click CustomSD, and then click Modify.
- In the Edit String dialog box, append the following string to the value that appears in the Value data box:
(A;; 0x2;;; S-1-5-32-558)
- Exit Registry Editor.
- Restart the computer.
The remote user must have permissions on the server to view the performance counters. To grant these, follow these steps.
For Performance Monitor- Create a domain user. This user will monitor the server. For example, create MyDomain\PerformanceMonitorUser.
- Add the domain user to the BUILTIN\Performance Monitor Users group on the Exchange 2007 server.
- Make sure that the Remote Registry Service is enabled.
To do this, follow these steps:
- Click Start, point to Programs, point to Administrative Tools, and then click Services.
- Locate the Remote Registry Service. If it is stopped, right-click Remote Registry Service, and then click Properties.
- On the Startup type drop-down list, click Automatic.
- Under Service status, click Start.
- Click OK, and then close Services.
For WMI Query- Create a domain user. This user will monitor the server. For example, create MyDomain\WMIUser.
- Add the domain user to the following groups on the Exchange 2007 server:
- BUILTIN\Performance Monitor Users
- BUILTIN\Distributed COM Users