Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 

How to start scanning with Lansweeper freeware?

Although the name would suggest otherwise lsclient.exe is no real client or agent. 
Basically it just sends a message to the server “hello, I’m here, scan me on this IP Address” and stops working.
The service processes this request and starts scanning the client when ready.

All the scanning is done by the lansweeper service.

 Lansweeper Premium doesn’t require lsclient and uses active directory & IP range scanning to scan your computers.

Lsclient.exe can be found in your installation folder



Usage: Lsclient.exe “name of server where the service is installed”



As a test we try from the command prompt:

“C:\Program Files\lansweeper\Client\lsclient.exe” myserver
or
“C:\Program Files\lansweeper\Client\lsclient.exe” myserver /showresult

If you have problems with DNS resolution or want to use lsclient from a DMZ or VPN connection you can use the /scanonIP switch.

Lansweeper service will try to scan the client machine on the IP address it connected from instead of looking up the hostname in DNS.

Using lsclient in a standard login script

In this example the startup script is called “startup.cmd”

 

Contents of the startup.cmd

%logonserver%\netlogon\lsclient.exe myserver


Now copy the lsclient.exe to your netlogon folder.
 

Deploying lsclient by using a GPO

More technical info on: http://support.microsoft.com/kb/322241/en-us

Make sure that you use a logon script instead of a startup script because this is running in the context of the user.

A sample vbs script that runs the lsclient hidden could look like this:

Set WshShell = CreateObject("WScript.Shell")
WshShell.run "%logonserver%\netlogon\lsclient.exe myserver",0


Most requested articles:

Lansweeper troubleshooting guide.
The RPC server is unavailable. 0x800706BA
WMI Access is denied. 0x80070005
How to configure the windows firewall using group policies.
Configuring Internet explorer to allow custom actions.
   
Hemoco E-mail: support@lansweeper.com 
Copyright 2004 - 2012 Hemoco bvba