Perfmon continues to run after Kaseya Agent has been removed

After uninstalling the kasyea agent, performance counters continue to run and you see files such as KLOG$1234.csv being created in c:\kworking on the machine

When you configure Kaseya to collect Windows performance counter logs from a machine, kaseya sends instructions down to the machine that tells windows to create User Defined Data Collection Sets.
This makes perfmon start to collect the information that you have requested and tells perfmon to log the output of this to the CSV files that you are seeing.
This process is a one-time operation - once Kaseya has instructed Perfmon to start creating these logs, Perfmon will just keep running as instructed without further instructions from the Agent.

When you uninstall the Agent from a machine, nothing tells Perfmon to stop collecting these logs.

Before uninstalling the Kaseya Agent from the machine, be sure to remove the monitor sets that you have applied to the machine. This will instruct the Agent to disable the Perfmon counters and stop the logs being generated.

If you have already uninstalled the Kaseya agent from the machine and wish to stop the logging:

1. log in to Windows on the affected machines
2. load perfmon
3. expand the Data Collector Sets and then the User Defined section
4. stop and/or delete the collectors that are listed

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


  • 0
    Scott Hickey

    That is a problem with most of the Kaseya functions. It applies setting and does not undo the settings when removed. Then it is up to the admin to spend more labor tracking down what the VSA did and manually undo things. Its basically just an elaborate batch file processor. No thought put into thinking things thru on the design of most the pieces. One way thinking. 

  • 0
    John Nuttall

    Agreed, in some cases, when you uninstall the agent, you would want all the changes it made removing, but the uninstaller tool has no way of knowing what you are thinking.

    If you had used the agent to install software on the machine or make configuration changes, would you want those to all be reversed when you uninstall the agent? What if you are uninstalling the agent in order to update to a newer version, would you want all the monitoring to be removed in the interim?

    The uninstaller removes the Kaseya Agent from a machine, that is all. If you need configuration changes, software or other settings removing, then just remember to do this first, before removing the agent.

Article is closed for comments.