Search our knowledgebase

How to scan Windows computers with the LsPush scanning agent

Last updated on August 10 2017
 From Lansweeper version onward, the Lansweeper Server service uses HTTPS instead of HTTP to handle incoming requests by the LsPush scanning agent, which also means that only the most recent version of LsPush found in Program Files (x86)\Lansweeper\Client on the Lansweeper server will still work for agent based scanning. Make sure to implement this new version in any logon scripts, group policies or other scheduled jobs you're using to run LsPush. Use of older versions of LsPush will result in socket errors similar to the one below.

Connection to server failed Socket Error # 10054
Connection reset by peer.

Lspush is a small executable that takes a full local inventory of the local computer and sends the results to the lansweeper server or stores them in a file which can be imported later.
LsPush is automatically copied to Program Files (x86)\Lansweeper\Client on your Lansweeper server when you install Lansweeper.


  • Does not require administrative privileges.
  • A full scan takes only 40 KB of traffic.
  • No more problems with inbound firewalls or RPC server unavailable.
  • No more remote “access denied” problems.
  • Make an inventory of the computers of your remote workers and have them send the results by e-mail.
  • Can be used in login scripts/scheduled jobs/custom scripts,…
  • Works with Windows Home version.

Screenshot in E-mail or File mode:


Using LsPush with direct server connection.

The syntax is similar to lsclient.exe


Lspush.exe <servername> <port> /showresult

Port is optional, default port is 9524
/showresult is optional

/showresult shows a message “failed” or “success” if the connection to the server worked.


Lspush.exe servername
Lspush.exe servername 9500
Lspush.exe /showresult

Using LsPush with E-mail.

Start lspush.exe without any extra parameters.

After the scan MAPI is used to open the default mail program and attach the result.

The administrator can copy the file to the “lansweeper\service\import” folder where the service will process it.


Using LsPush with file export.

Start lspush.exe with parameter /file.


Lspush.exe /file

After the scan the temporary folder will be opened with the result.

You can now copy the file to the “lansweeper\service\import” folder where the service will process it.


Using LsPush with direct copy to folder.

Start lspush.exe with parameter /folder.


Lspush.exe /folder "c:\temp\foldername"
Lspush.exe /folder "\\servername\sharedfolder"