Notification

Icon
Error

Show newly discovered software

Posted: Wednesday, March 28, 2018 3:24:58 PM(UTC)
Hendrik.VE

Hendrik.VE

Member Original PosterPosts: 85
7
Like
The report below list newly discovered software (software not previously discovered by Lansweeper) in the last 7 days, and the asset it has been installed on. Please note that this report compares the first 10 characters of recently scanned software with already existing software names in the database to determine if the software is "new" to the database.

The report will only list assets that meet all of the following criteria:
  • The asset state is set to "active".
  • The asset has been successfully scanned at least once.
  • The asset is a Windows asset.
  • The asset has software which was scanned in the past 7 days and which has not been present in the database before.
Code:
Select Distinct Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tblAssets.Domain,
  tblAssets.Username,
  tblAssets.Userdomain,
  Coalesce(tsysOS.Image, tsysAssetTypes.AssetTypeIcon10) As icon,
  tblAssets.IPAddress,
  tsysIPLocations.IPLocation,
  tblAssetCustom.Manufacturer,
  tblAssetCustom.Model,
  tsysOS.OSname As OS,
  tblAssets.SP,
  tblSoftwareUni.softwareName As Software,
  tblSoftware.softwareVersion As Version,
  tblSoftwareUni.Added,
  tblAssets.Lastseen,
  tblAssets.Lasttried
From tblAssets
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
  Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
  Inner Join tsysIPLocations On tsysIPLocations.LocationID =
    tblAssets.LocationID
  Inner Join tblState On tblState.State = tblAssetCustom.State
  Left Join tsysOS On tsysOS.OScode = tblAssets.OScode
  Inner Join tblSoftware On tblAssets.AssetID = tblSoftware.AssetID
  Right Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
  Left Join tblSoftwareHist On tblSoftwareHist.softid = tblSoftwareUni.SoftID
Where tblSoftwareUni.Added > GetDate() - 7 And
  SubString(tblSoftwareUni.softwareName, 1, 10) Not In (Select
    SubString(tblSoftwareUni.softwareName, 1, 10) From tblSoftwareUni
  Where tblSoftwareUni.Added < GetDate() - 7) And
  tblSoftwareUni.SoftwarePublisher Is Not Null And tblState.Statename = 'Active'
Order By tblAssets.Domain,
  tblAssets.AssetName
dpjhoward
#1dpjhoward Member Posts: 1  
posted: 12/16/2020 10:15:05 PM(UTC)
This is great! Thank you!!!!Pray
ctopaloglu
#2ctopaloglu Member Posts: 1  
posted: 6/15/2021 4:51:03 PM(UTC)
It gives me an empty page :(
CyberCitizen
#3CyberCitizen Member Posts: 429  
posted: 6/16/2021 12:05:54 AM(UTC)
Nice little report, added to our list and setup email alert to monitor for new installs that L1 techs are doing that may breach license agreements (eg personal freeware).
CyberCitizen
#4CyberCitizen Member Posts: 429  
posted: 6/16/2021 12:06:21 AM(UTC)
Originally Posted by: ctopaloglu Go to Quoted Post
It gives me an empty page :(


Most likely cause you don't have any that meet the criteria at present.

Active Discussions

Lansweeper Monitor history showing only last monitors
by  cross_eur   Go to last post Go to first unread
Last post: 7/23/2021 6:06:51 PM(UTC)
Lansweeper Report Login time reduces number of computers by 300
by  cross_eur  
Go to last post Go to first unread
Last post: 7/23/2021 6:05:42 PM(UTC)
Lansweeper Merging 2 reports
by  Apaulcolypse   Go to last post Go to first unread
Last post: 7/22/2021 10:02:59 PM(UTC)
Lansweeper HELP - Add Registry Key Values to Asset Report
by  Apaulcolypse  
Go to last post Go to first unread
Last post: 7/22/2021 9:26:43 PM(UTC)
Lansweeper Can I request a custom report here?
by  Brian G   Go to last post Go to first unread
Last post: 7/22/2021 7:20:56 PM(UTC)
Lansweeper List all users with E-mail address
by  Brandon  
Go to last post Go to first unread
Last post: 7/21/2021 7:06:36 PM(UTC)
Lansweeper Identifying users of Windows legacy authentication
by  Baronet   Go to last post Go to first unread
Last post: 7/21/2021 5:26:38 PM(UTC)
Lansweeper Windows Version different between reports
by  RC62N  
Go to last post Go to first unread
Last post: 7/21/2021 3:27:04 PM(UTC)