Hi, I have a problem that duplicates the machine, for example I run the windows script on a computer with windows 10 it works, if I run the script on a machine with windows 7, it replaces the machine that ran from windows 10, not even create a new one.
I have already enabled the mach_ip option, but it still doubles.
Does anyone know how to solve it?
It is important to understand that each of the matching rules act as OR clauses and NOT as AND. If any of the matching rules match a device found during discovery with a device already in the dB then it is considered the same device. This will result in what you are seeing - existing device records being overwritten.
In many cases this is caused by duplicate fields in virtual machines (like serial number or UUID).
More information on matching rules can be found on our wiki HERE: Matching Devices