Table Of Contents
For the probe to scan workstations, ensure that the following requirements are met in each target workstation:
|
SMB Protocol |
Open Port |
|
SMB1 |
Port 139 |
|
SMB2 |
Port 445 |
On probe-installed machines, if ports 139 or 445 are restricted due to security concerns, configure security rules to allow access to ports and enable the scan.
Prevent copied files from being automatically deleted by security policies.
In Assets, Scan Failures displays computers that failed to scan or have not been scanned recently, and the reason for each failure.
Following are the possible error messages that will be displayed under Last Scan Summary or in the scan failures list view.
|
Error Message |
Reason |
|
Unknown UserName or Bad Password |
Verify the credentials given in the Credentials Library or in the Domain Scan. If Credential Library is used, make sure the user name is given in DomainNameUserName format for Windows. |
|
Unable to connect to admin$ share |
Remote registry service might not be running in the target machine. Go to Administrative tools > Windows Services in the target machine and start the remote registry service. Go to the target system and open Computer management > Shared folder > ADMIN$. Right click and start sharing if it is not shared. Check whether any antivirus, firewall, or Endpoint security software is preventing access to admin$ share. |
|
None of the credentials configured in the network scan succeeded |
This error occurs when none of the credentials configured in the network scan succeeded during the scan. |
|
Local Asset credential not succeeded |
Authorization for credentials associated in the corresponding asset details page failed due to an unknown user name or incorrect password. |
|
Unable to create or start remote service |
Check whether the given credentials have admin privileges. Also, make sure the above mentioned conditions for Windows machines are satisfied. |
|
Port [139/22] not open |
On target Windows machines, make sure that port 139 or 445 is open and accessible from the probe. On a target Linux machine, make sure that port 22 is open and accessible from the probe. To know how to check if ports are accessible, refer to this section |
|
No Windows credential configured |
In the network scan configuration, check if you have selected a Windows credential in the credential library for scanning Windows machines. |
|
No SSH credential configured |
In the network scan configuration, check if you have selected an SSH credential in the credential library for Linux/Mac machine scanning. If port 139/445 is open but Windows credentials fail, the probe attempts to check if port 22 is open. If open and the credential were not configured, this error would be thrown. |
| No response for SNMP request | The device failed to respond with the SysOid for the given credentials. |
| Connection timeout | The device is detected as an alive host but the probe is unable to complete the scan within the period. |
|
Any other error message |
For Windows machines, make sure that you have provided username in the DomainName/UserName format in Credential Library. Also, check the conditions (mentioned above) for a successful scan. |
When a scan is initiated from ServiceDesk Plus Cloud,
ServiceDesk Plus Cloud server sends a scan job notification to the probe via the data management server (DMS).
The probe receives the notification and requests job details from ServiceDesk Plus Cloud server.
After receiving the job details from ServiceDesk Plus Cloud server, the probe executes the job.

Every five minutes, the probe contacts ServiceDesk Plus Cloud server to check for any new or pending jobs.
If the probe is already executing a job, it picks up pending jobs only after it completes the current job.
ServiceDesk Plus Cloud cannot send job information to the probe if the DMS URL is not reachable from the probe-installed machine. Moreover, a Job Delivery Failed error is thrown on the Probe Task Status page until the probe reconnects with the central server. After the reconnection, the probe will receive and process the pending jobs.
To check whether the DMS is reachable, access it from the probe-installed machine via any web browser. If the DMS is reachable, the following page will be displayed:

Following are the DMS URLs used for the corresponding ServiceDesk Plus Cloud URL.
|
External Domain Details |
||
|
Data Center |
Primary |
Secondary |
|
US |
us4-dms.zoho.com |
us3-dms.zoho.com |
|
EU |
eu1-dms.zoho.eu |
eu2-dms.zoho.eu |
|
IN |
in2-dms.zoho.in |
in1-dms.zoho.in |
|
AU |
au1-dms.zoho.com.au |
au2-dms.zoho.com.au |
|
CN |
cn2-dms.zoho.com.cn |
cn3-dms.zoho.com.cn |
|
JP |
jp1-dms.zoho.jp |
jp2-dms.zoho.jp |
|
CA |
ca1-dms.zohocloud.ca |
ca2-dms.zohocloud.ca |
|
UK |
uk1-dms.zoho.uk |
uk2-dms.zoho.uk |
|
SA |
sa1-dms.zoho.sa |
sa2-dms.zoho.sa |
After receiving a network scan job from the ServiceDesk Plus Cloud server, the probe identifies the specified IP range for the scan.
The probe pings all IP addresses within that range to check for alive machines (machines reachable on the network). Only the machines that respond to the ping (alive hosts) are further scanned for detailed information. The scan results and status of these alive machines are displayed in the Last Scan Summary.
After receiving a domain scan job from the ServiceDesk Plus Cloud server, the probe connects to the Active Directory Domain Controller by using LDAP or LDAPS.
If Use SSL for secure LDAP query is enabled, the probe uses LDAPS over port 636. Otherwise, it uses LDAP over port 389. Therefore, the respective ports must be open on the Active Directory Domain Controller.
After the connection is established (using the configured credentials) with Active Directory, the probe fetches a list of machines.
The probe then fetches the hostnames (computer object names) of the machines from Active Directory. Using DNS, it resolves these hostnames to IP addresses and pings them to check availability.
Only the machines that respond (alive hosts) are scanned. Their status and results are displayed in Last Scan Summary.
After receiving the asset scan job, the probe queries DNS to resolve the asset's name to its corresponding IP address. Then, it pings the IP address to check if the asset is alive and reachable. Only assets that respond to the ping are scanned further.
For example, the probe tries to fetch the DNS entry for sdpod-m1.sdp.com and pings its resolved IP address.

The probe creates an admin$ connection with the target machine by using the given credentials. After the connection is established, the probe copies SDPOD_MiniAgent.exe and ae_scan.vbs (windows_model.vbs during the validate option) to the admin$ shared path and invokes a service (create and start the service) called SDPOD_MiniAgent.
After the SDPOD_MiniAgent service is invoked, the service executes the ae_scan.vbs (windows_model.vbs during the validation). After the script execution is complete, a result.txt file (Model.txt file is generated during the validation) and a DONE file are generated.
Based on the DONE file, the probe copies the result file and converts the result data to XML.
The probe establishes an SSH connection and executes commands on the target machine with help of the plink.exe (available under the probe bin folder) by using the given credentials.
Then, the probe executes a shell script on the target machine (example ae_scan.sh). After the script execution is complete, the probe copies the result file (scan_result.xml) from the target machine.
The probe retrieves the System Object ID (SysOid) of the target SNMP device via SNMP GET operation by using the OID ".1.3.6.1.2.1.1.2.0". Based on the SysOid response, probe categorizes the device's Product and Product Type.
Sample Response
The probe determines the device’s Product and Product Type by using the following method:

Use the ping command to see if the target machine is reachable from the probe-installed machine.

During the network scan, the probe pings the target machine by using the IP address. For example,
If the machine is not alive, the asset scan status will not reflect in the last scan summary.
During the domain scan, the probe retrieves the host's IP address from the DNS entry in AD and pings the resolved IP. i.e.,
If the host does not have a valid DNS entry, the probe will not attempt to ping, and the asset scan status will not reflect in the Last Scan Summary.
When Scan Now or Remote Control is initiated from the asset details page, the probe uses DNS resolution to retrieve the IP address by looking up the asset name.
If the asset name does not have a valid DNS entry, the probe cannot resolve the IP address, and the initiated operation (scan/remote control) will not execute.
Example:
|
Asset Name |
Command |
Result |
|
test-host.sdp.com |
nslookup test-host.sdp.com Or ping test-host.sdp.com |
|
The scan results should show the specified ports as open, as required for proper probe-to-target communication.

Alternatively, run the following command on the probe machine's command prompt:
Syntax
Example:

TcpTestSucceeded must be true.
For a scan to succeed, the Admin$ share of the target workstations must be accessible from the probe machine.

On the target machine, open Windows PowerShell and run the following command:
After establishing connection with admin$ shared path on the target machine, follow the steps below:
If the logged-in user can copy the file, but the probe cannot, it indicates that the SYSTEM user (under which the probe runs) lacks permission to copy the file to the target machine.
To modify the SYSTEM user,

After the files are copied to the target machine, use the following commands to create and start the SDPOD_MiniAgent service.
The output should be [SC] CreateService SUCCESS.
Command to check if the SDPOD_MiniAgent service exists:
Command to stop the SDPOD_MiniAgent service:
Command to delete the SDPOD_MiniAgent service:
In the output, the STATE should be RUNNING.

To execute the ae_scan.vbs on the target machine manually,
A result.txt file should be generated on the same path successfully.
If result.txt is not generated:
To verify this, try running the script from another directory where the user has file creation rights. For example:
Use the following command on the target machine and check if the WMI repository is working as expected.
To know more about WMI repository restoration, click here.
Syntax
Example
On the target machine, run the following command in the remote terminal session:
Scan-supported kernel for linux-based machines: Linux, Darwin, AIX, and SunOS

During a network or domain scan, the probe first identifies the list of alive hosts. Only the hosts included in this list are scanned further.
You can also go to the probe installed machine and refer to the probe logs for more details. The latest scan log will be available in the ProbeMain0.log file under C:ManageEngineSDPODProbelogs
You can run a self scan script in each of the workstations, either through GPO or task scheduler. Please refer here for more details : https://help.sdpondemand.com/self-scan
Let's say the following workstation is already available in the application:
|
Workstation Name |
Service Tag |
|
john.zillum.com |
J1 |
If John’s computer is replaced with a new machine named john.zillum.com but with a different service tag J2, the next scan will update the records as follows:
After the scan, the workstation list will look like this:
|
Workstation Name |
Service Tag |
|
john.zillum.com_old |
J1 |
|
john.zillum.com |
J2 |
Let's say the following workstations are available in ServiceDesk Plus Cloud:
|
Workstation Name |
Service Tag |
|
john.zillum.com |
J1 |
|
TestWin10.zillum.com |
J2 |
John's computer encounters a problem and the IT Team assigns him the TestWin10 machine after renaming it as john.zillum.com at the OS level.
When this machine is scanned, the following happens in the application:
a) john.zillum.com will be renamed as john.zillum.com_old
b) TestWin10.zillum.com will be renamed as john.zillum.com
At the end of the scan, here is how the workstations will be listed:
|
Workstation Name |
Service Tag |
|
john.zillum.com_old |
J1 |
|
john.zillum.com |
J2 |
Verify if the DNS entry for the asset is configured correctly.
i.e., nslookup <AssetName>
If the DNS entry is mapped to the wrong IP, the scan may run on a different machine instead of the intended asset.
If an asset is scanned but does not appear in ServiceDesk Plus Cloud, follow the troubleshooting steps below. Execute the specified commands on the target machine wherever required.
If the MAC address of the probe machine changes, the server will treat it as a new probe since the MAC address is the unique identifier. In this case:
While running a scan by using the scan_script.sh:
If the probe faces specific issues, you can add the following configuration parameters at the end of the probe.props file:
Configuration : force_ping=true
Configuration : use_thread_for_windows_discovery=true
Configuration : response_collector_timeout=10
Configuration : snmp_dns_name=true
If the above configuration is applied on the probe file,