Description
By default the LANDesk inventory scanner (ldiscn32.exe) will scan for files with extensions of *.EXE. However, the scanner is capable of scanning for any file type with an extension.
(This information applies to the Windows inventory scanner.) Scan for custom information. Scan for .DLL files. Scan for EXE files. Scan for custom files. Change ldappl file to scan for other files.
Resolution
To search for one specific file that you know the name of, follow these steps.
- Edit the LDAPPL3.template file on your core server. Open up the file and go to the section that looks like this:
; extensions, only the first 40 will be used.
ScanExtensions=.exe
;ScanExtensions=.exe .com .sys .nlm .lan .dll .hlp .lvl .crh .lib .run .jar .dat
Change the ScanExtensions= line to include the filetype of the file you want to search for. For example, if you want to search for a .pst file, it should look like this:
ScanExtensions=.exe .pst - Go to the section of the ldappl3.template file that looks like this:
;Mode=Unlisted
;Mode=All
Mode=Listed
Ensure that it is set to Mode=Listed. If it is set to Mode=All, it will search for all files of the extension types you specified above. This can kill performance, so if they know the name of the exact file, leave it on Listed. - Make sure that the folder that the file is in on the device you want to search is not in the Excluded Folders section. If it is, you will never find it on a computer. If the folder is listed, just put a ; in front of the line.
- For version 8.8, Open Software License Monitoring and go into Inventory>Files. Right click on To Be Scanned, and click New File. Enter the file information in the screen. If you do not know the exact size, or do not want to specify a size, enter 1, which is the wildcard for size. If you do not know what the Product Name, Vendor, or Version is, you can enter an X, which is the wildcard for any of these character strings.
- For version 9.0, Open Reporting/Monitoring and select 'Manage Software List', > Right click on To Be Scanned, and click New File. Enter the file information in the screen. If you do not know the exact size, or do not want to specify a size, enter 1, which is the wildcard for size. If you do not know what the Product Name, Vendor, or Version is, you can enter an X, which is the wildcard for any of these character strings.
- Click Make available to clients icon.
- Run two full inventory scans with /f /sync switch on the clients. This command should be like follow: "C:\ProgramFiles\LANDesk\LDClient\LDISCN32.EXE"/NTT=[CORE_SERVER]:5007 /S=[CORE_SERVER] /I=HTTP://[CORE_SERVER]/ldlogon/ldappl3.ldz /V /f /sync
NOTE: replace [CORE_SERVER] with your core server's name. - Once you have scanned machines that have the files, go back in to step 4 or 5, (depending on LDMS version) to where you created the wild card file, but this time find the new files in To Be Dispositioned, and move them to the To Be Scanned folder and run the Make available to clients.
You can now write a query to search for the file, something like this would work:
"Computer"."Software"."Package"."File Name" Like "msdia80.dll"
- Right-click on inventoryscanner and select 'Schedule'.
- Drag all the desired devices from the Network View down to the newly-created Scheduled Task.
- Right-click on the new task and select 'Start Now'.