Search our knowledgebase

Scanning file properties with custom file scanning

Last updated on May 09 2016

Lansweeper allows you to scan specific files on your Windows computers, through custom file scanning. File scanning retrieves various properties (version, company, size, creation date, last accessed date and last modified date) of a specific file. This is useful to detect software packages not listed in Add/Remove Programs for instance, i.e. software not detected by Lansweeper's built-in software scanning procedure. If you submit vRD.exe (Visionapp executable) for file scanning for instance, Lansweeper will scan the aforementioned properties of the file.

Visionapp file properties

To scan the properties of a specific file, do the following:

  1. Browse to the following section of the web console: Scanning\Scanned Item Interval
    Scanned Item Interval menu
  2. Make sure that the Enabled checkbox is ticked for the FILES item, indicating that file scanning is enabled.
    enabling file scanning
  3. Browse to the following section of the web console: Scanning\File & Registry Scanning
    File & Registry Scanning menu
  4. Hit the Add File Scan button in the File Scanning section of the page, enter the file path of the file you want to scan into the popup window and hit Ok.
    submitting file for scanning
    - Available parameters are: %programfiles%, %programfiles(x86)% and %windir%. You can use these parameters in your file paths to make Lansweeper search for the Program Files, Program Files (x86) or Windows directory in any drive on your machines.
    - If you use the %programfiles(x86)% parameter and a computer’s OS is 32-bit, scanned file information will be the same as if you were using the %programfiles% parameter.
    - To scan files in any directory other than Program Files, Program Files (x86) or the Windows directory, you must submit the exact file path, drive included. For performance reasons, file scanning only scans specific file paths. Scanning all files within a folder or listing all files with a specific extension (extension based scanning) is not possible with file scanning, though you could potentially use a deployment package to perform file searches like this.
  5. If you plan on scanning your Windows computers with our LsPush scanning agent and without a direct connection to your Lansweeper server, hit the Export Files.tsv for LsPush button to export your file scanning configuration. You can then place the Files.tsv file in the same folder as your LsPush executable to have LsPush perform custom file scanning as well.
    scanning files with LsPush
    Exporting file scanning settings is only necessary if you are scanning with our LsPush scanning agent and if your LsPush command does not reference your Lansweeper server, i.e. if LsPush is not connecting directly to your Lansweeper server. If LsPush *is* connecting to your server, it will automatically retrieve your settings and an export is not required.
  6. Rescan your Windows computers with LsPush or by clicking the Assets link at the top of the web console, ticking the checkboxes in front of the computers and hitting the Rescan button on the left.
    rescanning Windows computers
    - You can perform a search on one or more columns to easily find specific assets. In the example above, we filtered the Domain column to only list assets within the lansweeper domain.
    - You could also tick the checkbox at the very top to select all assets in the current search results.
  7. Scan results can be viewed under Scanning\File & Registry Scanning, by hitting the Report button. Alternatively, you can run a custom report or view an individual computer's scan results in the Config\Scanned Info\File Info section of the computer's Lansweeper webpage.
    viewing file scanning results in a report
    viewing file scanning results on a computer webpage
    - If a file’s Found value is set to True, that means the file was found on the computer and you can view the file’s properties.
    - If a file’s Found value is set to False, that means the file was not found on the computer.