cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
julianhaines
Engaged Sweeper

Good Day,

I am trying to create a report on all Workstations & Servers without Windows Defender enabled/installed, but also ignoring Kaspersky which as been uninstalled but still showing.

I have tried a few examples I have seen but I cant get to work.

 

 

 

 

 

 

2 REPLIES 2
rader
Champion Sweeper III

Try this for starters.

Select Top (1000000) tsysOS.Image As icon,
  tblAssets.AssetID,
  tblAssets.AssetName,
  tblAssets.Domain,
  tblAssets.Username,
  tblAssets.Userdomain,
  tblAssets.IPAddress,
  tblAssets.Description,
  tblAssetCustom.Manufacturer,
  tblAssetCustom.Model,
  tblAssetCustom.Location,
  tsysIPLocations.IPLocation,
  tsysOS.OSname As OS,
  tblAssets.SP,
  tblAssets.Firstseen As [Created at],
  tblAssets.Lastseen As [Last successful scan]
From tblAssets
  Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
  Left Outer Join tsysIPLocations On tsysIPLocations.LocationID =
      tblAssets.LocationID
  Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssets.AssetID Not In (Select tblSoftware.AssetID
    From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =
          tblSoftware.softID Inner Join tsysantivirus On
          tblSoftwareUni.softwareName Like tsysantivirus.Software) And
  tblAssets.AssetID Not In (Select tblAntivirus.AssetID
    From tblAntivirus) And tblComputersystem.Domainrole <= 1 And
  tblAssetCustom.State = 1
Order By tblAssets.AssetName
brandon_jones
Champion Sweeper III

This is a report that is in Lansweeper already, but I changes it to show  Windows Defender. If this is not what you are looking for please reply.