08-28-2024 03:50 PM - edited 11-20-2024 04:33 PM
Learn to set up and run Lansweeper IT Agent Discovery Portable on Windows for on-demand network scanning and asset discovery, without installation or credentials.
Lansweeper IT Agent Discovery Portable runs on Windows without requiring installation. It allows on-demand local scanning without credentials, making it a convenient solution for targeted network discovery.
Before proceeding, ensure you have a Network Discovery installation in your environment.'
C:\Program Files\Lansweeper Network Discovery\hub\import
(or ./import
). For a hub on Linux and macOS, the default is ./import
.To execute Lansweeper IT Agent Discovery Portable on a single machine:
tar -xf C:\Users\%USERNAME%\Downloads\Lansweeper.IT.Agent.Portable.zip C:\Temp\Lansweeper-IT-Agent-Portable
fileimportkey
with your copied key:
C:\Temp\Lansweeper-IT-Agent-Portable\Lansweeper-IT-agent-portable-windows-x64.exe scan --file C:\Temp\Lansweeper-IT-Agent-Portable\discoveryresult-%COMPUTERNAME%.data --key fileimportkey
To run the Lansweeper IT Agent on all Windows domain members through a logon script:
Lansweeper.IT.Agent.Portable.zip
file you downloaded to the NETLOGON
share on your domain controller (default location: C:\WINDOWS\SYSVOL\domain\scripts
).DomainController01.domain.local
with the name of your domain controller:
Expand-Archive -Force \\DomainController01.domain.local\NETLOGON\Lansweeper.IT.Agent.Portable.zipC:\Temp\Lansweeper-IT-Agent-Portable
fileimportkey
with your copied key:C:\Temp\Lansweeper-IT-Agent-Portable\Lansweeper-IT-agent-portable-windows-x64.exe scan --file C:\Temp\Lansweeper-IT-Agent-Portable\discoveryresult-%COMPUTERNAME%.data --key fileimportkey
C:\Temp\Lansweeper-IT-Agent-Portable\discoveryresult-%COMPUTERNAME%.data
C:\Program Files\Lansweeper Network Discovery\hub\Import
To execute Lansweeper IT Agent Discovery Portable on a single machine and store the results directly into a Network Discovery hub:
https://mynetworkdiscoveryhub.domain.local:59525
by default).Expand-Archive -Force C:\Users\%USERNAME%\Downloads\Lansweeper.IT.Agent.Portable.zip C:\Temp\Lansweeper-IT-Agent-Portable
fileimportkey
with your copied key:C:\Temp\Lansweeper-IT-Agent-Portable\Lansweeper-IT-agent-portablewindows-x64.exe scan -h https://mynetworkdiscoveryhub.domain.local:59525 --key fileimportkey
To execute Lansweeper IT Agent Discovery Portable on a single machine and store the results directly into a Network Discovery hub:
https://mynetworkdiscoveryhub.domain.local:59525
).Expand-Archive -Force C:\Users\%USERNAME%\Downloads\Lansweeper.IT.Agent.Portable.zip C:\Temp\Lansweeper-IT-Agent-Portable
scanoptions.json
) you downloaded to:{ "ScanOptions": { "Key": "The IT Agent Portable code generated in your Network Discovery hub", "File": "optional: The path of the file where you want to save the output to, example discoveryresult.data", "HubUri": "optional: The URI to connect to your Network Discovery hub, example: https://mynetworkdiscoveryhub.domain.local:59525" } }Run the following command to initiate the scan:
C:\Temp\Lansweeper-IT-Agent-Portable\Lansweeper-IT-agent-portable-windows-x64.exe scan
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try NowExperience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now