Discovery schedule taking long time to complete using MID Server hosted on 2019 Windows server and uses McAfee Anti virus Issue Discovery Schedules are taking a long time when using MID Server hosted on 2019 Windows Server, whereas it is working as expected when using MID Server host on 2012/2016 Windows Servers.CauseThe MID server host machine has Antivirus McAfee. McAfee has a new feature called the ATP module (Advanced Threat Protection). This features reviews PowerShell scripts before they execute to determine if they are malicious. However, this can take some time. As such this delays the Discovery. The reason this works on the old OS is that this feature is not available on 2012/2016 and is available on 2019 Windows Servers.ResolutionThis KB0960642 outlines the information which can be used so that McAfee avoids analyzing the PowerShell scripts:The end user needs to work with the McAfee team or McAfee support to make it faster.