The Altiris Agent sends an uninstall event to the Notification Server before completely removing itself, so that the removal can be tracked down on the Notification Server using reports on the Software Delivery execution (if this type of events is enabled on the Notification Server).
select ex._ResourceGuid, vc.Name as 'Computer name', vc.Domain as 'Computer domain', ex.PackageName 'Package name', ex.[Start] 'Execution start', ex.[End] 'Execution end'This SQL statement is used in the report attached to this article (on the right hand pane, "Altiris Agent uninstallation status.xml"). You can import it in your Notification Server > Reports > Notification Server Infrastructure > Agent folder or another location.
from Evt_AeX_SWD_Execution ex
join vComputer vc
on ex._ResourceGuid = vc.Guid
where AdvertisementId in (
where name = 'Altiris Agent Uninstall'