Notification

Icon
Error

LsAgent for Windows command line options?

Posted: Wednesday, February 5, 2020 10:43:07 PM(UTC)
RobertB

RobertB

Member Original PosterPosts: 30
0
Like
Are there any command line switches for the LsAgent that is currently installed on a Windows computer?

For example.

LsAgent.exe /scan to force it to scan?

If yes, where might I find a list of these switches?

Thank you,
Erik.T
#1Erik.T Member Administration Posts: 99  
posted: 2/13/2020 8:43:21 AM(UTC)
Hi RobertB,

LsAgent has no switches to force start a scan. However, you can force start it by:
  • Stopping the Lansweeper Agent Service under services.msc.
  • Open LsAgent.ini in the LansweeperAgent installation folder.
  • Remove the values for LastScan and LastSent in this file and save the file.
  • Restart the Lansweeper Agent Service.
LANGuy
#2LANGuy Member Posts: 2  
posted: 6/25/2020 7:05:36 PM(UTC)
Well that doesn't sound like something I can push out or easily automate.
RobertB
#3RobertB Member Original PosterPosts: 30  
posted: 6/25/2020 7:08:35 PM(UTC)
Originally Posted by: LANGuy Go to Quoted Post
Well that doesn't sound like something I can push out or easily automate.


Exactly. Not sure why something basic like a switch to start a scan is not available.
cycleheat
#4cycleheat Member Posts: 34  
posted: 6/29/2020 8:58:59 PM(UTC)
It's not very clean, but if you reinstall the agent then it will scan again.

Active Discussions

Lansweeper Lost Configuration tab (Admin rights)
by  kspap   Go to last post Go to first unread
Last post: Today at 10:30:12 AM(UTC)
Lansweeper Deployment with different user rights
by  Jupiter_IT  
Go to last post Go to first unread
Last post: Today at 9:39:20 AM(UTC)
Lansweeper cisco fuji device not linking with connected devices
by  char   Go to last post Go to first unread
Last post: Yesterday at 9:12:07 AM(UTC)
Lansweeper Microsoft CVE-2020-1425
by  Richard_B  
Go to last post Go to first unread
Last post: 7/3/2020 4:29:41 PM(UTC)
Lansweeper Wake on Lan in VLANs
by  FrankSc   Go to last post Go to first unread
Last post: 7/3/2020 1:56:46 PM(UTC)
Lansweeper Ticket Closed = email to all helpdesk desk agents
by  Laurent Maene  
Go to last post Go to first unread
Last post: 7/3/2020 1:23:49 PM(UTC)
Lansweeper Helpdek Call Re-Opened
by  pryan67   Go to last post Go to first unread
Last post: 7/3/2020 1:12:17 PM(UTC)
Lansweeper Office 365 32bit vs 64bit?
by  brodiemac-too  
Go to last post Go to first unread
Last post: 7/2/2020 10:35:19 PM(UTC)