We have custom file scanning turned on and we are able to report on the machines that DO have the file installed, however when I try to create a report that will show the devices that do not have this file I am running into troubles. This file will only be present on Windows Laptops and Windows Tablets however every time I try to filter it down to only Windows Portable Chassis Types it gives me a SQL error. Here is the report as it stands without any filtering, please help
![](/legacyfs/online/forums_emojis/eusa_wall.gif)
:
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.IPAddress,
tblAssets.Lastseen,
tsysOS.OSname,
tsysOS.Image As icon,
tblAssets.Domain,
tblAssets.Username,
tblAssetCustom.State,
tblAssets.AssetUnique
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Where tblAssets.AssetID Not In (Select tblFileVersions.AssetID
From tblFileVersions
Where
tblFileVersions.FilePathfull Like 'C:\Windows\System32\drivers\MyFile.sys'
And tblFileVersions.Found = 'True') And tblAssetCustom.State = 1
Order By tblAssets.AssetUnique