Wednesday, December 16, 2009

Reading performance counters on remote machines

One of the nice features of the Performance Monitor tool is that you can read performance counters on remote machines. That is of course when it works!

When I tried to monitor the performance counters on a remote computer in Perfmon, I received an error message that resembles the following:

Unable to connect to machine

To resolve this issue, check the following actions.

Action  1: Verify that the Remote Registry service is running on the remote computer

  1. Click Start, click Run, type cmd, and then click OK.
  2. At the command prompt, type tasklist -svc, and then press ENTER.
    Verify that a Svchost.exe host process is running that has RemoteRegistry in the Services column. If the service is not running, go to step 3.
  3. At the command prompt, type net start RemoteRegistry, and then press ENTER.

Action 2: Verify that you have the required permissions

  • You must be a member of the Administrators group on the remote computer.
  • If the remote computer is running Windows Server 2003, you must be a member of the Performance Monitor Users group to monitor performance counters.
  • If the remote computer is running Windows Server 2003, you must be a member of the Performance Log Users group to log the performance counters. Additionally, you must use the Run As command to configure the logging process to run under the Administrators group or under the Performance Log Users group.

No comments: