on 09-26-2017 08:30 PM - edited on 01-11-2023 02:48 PM by Nils
Lansweeper includes several scanning methods to scan the assets in your network. You can scan the Linux, Unix, Mac and Windows computers, VMware servers and other devices in your network without installing any Lansweeper software on the machines you're scanning.
For Windows computers, however, you can choose to perform your scans with a scanning agent. Lansweeper's scanning agent is called LsPush. One of the ways it can be implemented is by using a scheduled task. LsPush is a small executable that scans the computer locally when run on a Windows computer. LsPush cannot and does not need to be installed on the computer you're scanning. The LsPush executable must simply be executed on the computer whenever you want to scan the machine. The LsPush scan results can be sent directly to your Lansweeper server for automatic processing or stored in a file that can be imported into your Lansweeper installation later on.
There are many ways to run LsPush on your machines. Any process that can run the LsPush executable, preferably with a parameter, can trigger LsPush scans of your machines. For instance, LsPush scans can be fully automated by integrating the scanning agent into logon scripts, group policies, or scheduled tasks.
This article explains what the most basic way is to scan a Windows computer using LsPush, i.e. by manually running the executable. This scanning approach can be useful if you have a stock computer for instance that you quickly want to scan without fully deploying it in your network.
To scan individual Windows computers with the LsPush scanning agent, follow these steps:
Program Files (x86)\Lansweeper\Clientand copy the LsPush executable contained within.
Double-click the LsPush executable to run it. LsPush will perform a full local scan of the machine it's running on, as you can see by the on-screen progress bar. The scan may take a short while to complete. Once the scan has completed, LsPush opens the default email program configured on the computer and attaches the scan results as a text file to a draft email. This is so you can easily send the results to whoever is managing your Lansweeper installation.
If there is no default email program configured on the computer, you may see errors similar to the ones below, but you can still find the scan results as a text file in the
%localappdata%\Temp\lspush folder on the scanned computer. This folder is automatically opened when you close the error messages below.
Program Files (x86)\Lansweeper\Service\importon the machine hosting your Lansweeper installation. If your Lansweeper installation is spread out over several machines, you can find the folder on the machine hosting the Lansweeper Server service instead.
Search for the name of the scanned computer in the web console search bar, which takes you to the machine's Lansweeper webpage. The Scan time tab of the machine's asset page should also indicate an LsPush scan has taken place.
If the search bar finds no asset for the scanned computer, the import may have failed for any of the following reasons: you've reached your Lansweeper license's asset limit, your Lansweeper database is full, the Windows computer is excluded from scanning, the text file generated by LsPush was modified by an anti-virus scanner or other program.