Find Duplicate Agents

SQL query to find duplicate agents


Detailed report showing duplicate machines by MAC address. This will help to find offline machines that can be safely removed. For example, if a machine is reimaged and the Kaseya agent is reinstalled, you may now have two agents in the VSA for the same machine (one of which is permanently offline). You can add additional fields to the SELECT statement to expand this if necessary, or JOIN with other tables to create a more detailed result set.

  • Name: Matt Stanzel
  • Company: Thinix
  • Website:
  • Contact Developer
  • Summary
  • Find Duplicate Agents
  • Released on July 11th, 2016
  • Discussion
    Gravatar for Norberto
    Norberto almost 2 years ago

    How can you import this to the VSA? Can't figure it out.

    Gravatar for Duane Godwin
    Duane Godwin almost 2 years ago

    You need to run it directly on your SQL server. Only possible if you're on-prem.

    Gravatar for Jarrod Delong
    Jarrod Delong about 1 year ago

    Doesn't seem to work... dbo.vAuditMachineSummary doesn't exist in the ksubscribers db.