For a probe to scan workstations, certain conditions must be met.
If, for any reason, these conditions cannot be fulfilled, you can use the Self Scan script as an alternative.
Self Scan scripts allow you to scan a standalone machine locally and upload the results either to the probe machine or directly to ServiceDesk Plus Cloud.
To run a self scan script,
These scripts must be executed individually on each machine to be scanned.
If the machine to be scanned is inside your network and has access to the probe, you can configure the script to send the scan data to the probe.
If the machine is outside of your network and does not have probe access, you can configure the script to send data directly to ServiceDesk Plus Cloud.

You can scan a standalone workstation and upload the results to the probe using the Self Scan script. The script must be run from the workstation’s command prompt, with the probe's hostname specified as an argument.
|
Platform |
Command |
Parameters |
Example |
|
Mac/Linux |
bash scan_script.sh <probehostname> sw_scan=false |
sw_scan: Set to true if software information needs to be collected during the scan on Linux machines. Default: sw_scan=false. |
bash scan_script.sh test-probe-machine sw_scan=true |
|
Windows |
SelfScan.exe <probehostname> 5454 |
|
SelfScan.exe test-probe-machine 5454 |
SelfScan.exe / scan_script.sh scripts can directly upload the scan data to ServiceDesk Plus Cloud.
To scan the standalone system, follow the steps below:


For Mac/Linux
|
Parameter |
Description |
|
sw_scan |
If the software information need to be discovered during the scan on Linux machines, use "sw_scan=true" Default: sw_scan=false |
|
serverUrl |
Depends on the ServiceDesk Plus Cloud data center used. Click here to know more. Example: For IN DC, bash scan_script.sh apiKey=1003.e3d5xxxx.xxxx2hlc sw_scan=true server=https://sdpondemand.manageengine.in |
For Windows
|
Parameter |
Description |
|
server |
Depends on the ServiceDesk Plus Cloud data center used. Click here to know more. Example : |
This will scan the standalone system, and send the scan data to ServiceDesk Plus Cloud.
You can configure the self-scan script as a Logon script in Active Directory. If configured, the script will run during the user login process, scan the user's machine, and send the scanned data to the probe.
To configure as a Logon script, do the following:
For Windows Machine:
1) timeout=10: If the SelfScan throws timeout error, you can use this parameter to increase the wait time and complete the scan.
2) no_vm_scan: To exclude the Hyper-V virtual machine during the scan.
1. Error: "Please check apiKey or Problem while uploading to server,error=401"
Cause:
Resolution
2. Error while using the probe host name: "Unable to resolve probe host"
Cause:
Resolution:
Port 5454 should be enabled in the probe-installed machine if you are using the probe hostname as a parameter.

TcpTestSucceeded should be true.
3. Error: SelfScan terminated with error "Going to terminate process with timeout =150000"
Resolution:
Use the timeout parameter while executing the Self Scan.
For example,
4. Error: Configured GPO policy is not working
Cause:
Resolution: