Retrieving System Under Test - Performance Counters results in an Error

Issue description

When trying to retrieve the Performance Counters on a machine that is or is not a member of an Active Directory Domain, you cannot retrieve the Performance Counters of the remote machine. You will receive the following error: An error occurred while collecting the Performance Counters: The network path was not found. If you receive this error please start Microsoft Performance Monitor (perfmon) and try to make a connection to the remote machine. If you receive an error follow Solution 1.

In case the remote machine is not part of the Active Directory domain and you can successfully create a network connection to the remote machine follow Solution 2.

Solution 1 - The network path was not found

Please check the firewall and Advanced Sharing options on the remote machine.

Solution 2 - The network path was not found

Performance counters require access to the system registry. If monitoring performance counters on a non-local machine, the Remote Registry Service must be running on the remote machine.

The Remote Registry Service is disabled by default.

  1. Start services.msc from the Run form
  2. Find the Remote Registry Service and open it

  1. Change the Startup type: from Disabled to Automatic
  2. Start the the Remote Registry Service

Solution 3 - Remote machine is not a member of the domain

Target Machine is not a member of an Active Directory Domain

This issue only effects machines that are not member of an Active Directory Domain

Solution: you need to add a key in your Registry editor of the target machines you want to retrieve the Performance Counters:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
1 (to disable, 0 enables filtering)
REG_DWORD (32-bit)

Step by Step Guide to add key

  • Open Registry Editor on the machine you want to be able to install the LoadGen Agent or Add-in
    click the Start menu and type regedit, press Enter.
  • This will open you Registry Editor.

  • In the Registry Editor go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
  • Click the System Key.

  • In the right pane click with the right mouse button.
  • Select: New > DWORD (32-bit) Value

  • This will add the new REG_DWORD, rename it to LocalAccountTokenFilterPolicy
  • Double click the just created value and change the Value data to: 1

  • Your new key should look like the image below.

  • Now Restart the machine where you have created the new Value.
  • After the restart you have completed this adjustment and you will be able to retrieve the Performance Counters on the remote machine.
Was this article helpful?
0 out of 0 found this helpful