Basic Probe Requirements to Scan Workstations 

For the probe to scan workstations, ensure that the following requirements are met in each target workstation:

Windows Machines  

SMB Protocol

Open Port

SMB1

Port 139

SMB2

Port 445

Prevent copied files from being automatically deleted by security policies.

Linux Machines  

SNMP Devices  

 Virtual Host 

Scan Failures 

In Assets, Scan Failures displays computers that failed to scan or have not been scanned recently, and the reason for each failure.

Error Messages

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

The credentials selected under Workstations > Change Credentials pop-up did not succeed due to an unknown user name or bad 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

For a target Windows machine, make sure that port 139 is open and accessible from the probe.

For 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 a SSH credential in the credential library for scanning Linux/Mac machines.

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.

How Does a Probe Perform a Network Scan/Domain Scan/Asset Scan By Using Scan Flow?  

Assign Job to the Probe

After the DMS server connects with the probe-installed machine, a page opens as shown:

Following are the DMS URLs used for the corresponding ServiceDesk Plus Cloud URL.

DMS Domain Details

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

Network Scan

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.

Domain Scan

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.

Asset Scan (Scan Now in the Asset Details Page)

After receiving the asset scan job, the probe queries DNS to resolve the asset’s hostname to its corresponding IP address. Then, it pings the IP address to verify if the asset is alive (reachable on the network). Only assets that respond to the ping are scanned further. 

Scan Flow

Scan on Windows Machines

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 scan timeout period is 3 Minutes and the result.txt size must be below 500KB.  

Scan on Linux Machines

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.

Scan on Virtual Hosts

Scan on SNMP Devices

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:

Probe Architecture Diagram

How to Check Whether a Machine Is Alive Based on the Scan Type?

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

 ping TargetMachineHostOrIP 

During the network scan, the probe pings the target machine by using the IP address. For example,

 ping 192.168.1.1 

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.,

nslookup test-host → 192.168.1.1

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:

nslookup test-host.sdp.com

Result:

Name: test-host.sdp.com
Address: 192.168.1.2

Here, the probe resolves the asset test-host.sdp.com to 192.168.1.2 and proceeds the operation with the resolved IP. 

How to Check Whether the Required Ports Are Open ?  

 cd ManageEngineSDPODProbebinNMap 
 nmap.exe -Pn -p 139,22,445,389,636,161 10.63.22.20 

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

 PowerShell -command "Test-NetConnection -ComputerName IP_ADDRESS -Port PORT_NUMBER" 

Example:  

 PowerShell -command "Test-NetConnection -ComputerName 192.168.1.1 -Port 139 

TcpTestSucceeded must be true.

How to Check Whether the Remote Registry Service Is Running on a Target Workstation?

How to Check Whether Admin$ Share Is Accessible ?  

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

Method 1: Using Command Prompt

 net use \TargetHostAdmin$ /user:domainadministrator 

Method 2: Using Run Dialog

How to Check Whether the Required SMB Protocol is Enabled?

On the target machine, open Windows PowerShell and run the following command:

 Get-SmbServerConfiguration | Select EnableSMB1Protocol, EnableSMB2Protocol 

How to Troubleshoot if Port 139 is Not Open and Admin$ Share is Not Accessible?

How to Verify Whether the Probe Machine Can Create Remote Service on the Target Machine?  

After establishing connection with admin$ shared path on the target machine, follow the steps below:

Step 1: Copy file to target machine from Probe machine

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,  

Step 2: Service creation and VBS execution

After the files are copied to the target machine, use the following commands to create and start the SDPOD_MiniAgent service.

Command to create the SDPOD_MiniAgent service:

 sc \TargetMachineHostOrIP create SDPOD_MiniAgent binPath= "C:Windowssdpod_agentSDPOD_MiniAgent.exe" 

The output should be [SC] CreateService SUCCESS.

Command to start the SDPOD_MiniAgent service:

 sc \TargetMachineHostOrIP start SDPOD_MiniAgent 

In the output, the STATE should be RUNNING. 

Step 3: To execute VBS on the target machine (To verify if VBS script executes successfully):

To execute the ae_scan.vbs on the target machine manually,

 cscript ae_scan.vbs 10 

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: 

cscript E:TestFolderae_scan.vbs 10 

Step 4: WMI repository verification

Use the following command on the target machine and check if the WMI repository is working as expected.

 wmic path Win32_ComputerSystem get name, model 

To know more about WMI repository restoration, click here.

How to Check if a Connection is Created on the Linux Machine?

Syntax

 plink.exe -P 22 userName@Host 

Example

 plink.exe -P 22 test-user@192.168.1.1 

How to Check Whether the Linux Machine is Supported for Scan?

On the target machine, run the following command in the remote terminal session:

 uname 

Scan-supported kernel for linux-based machines: Linux, Darwin, AIX, and SunOS 

To copy the scan result of the target Linux machine, pscp.exe is used. 

Things to Check in Probe Logs  

Alive Hosts in Network/Domain Scan

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

Is There Any Alternate Way of Scanning ?   

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

When will a workstation be renamed with _old as suffix?  

Case 1: User is provided with a new workstation  

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

Case 2: User is provided with a workstation, which is already available in the application  

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

 

FAQs

1. Why does using Scan Now from the asset details page not update the asset, while a network scan does?

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.

2. Why is an asset being scanned but not reflected in ServiceDesk Plus Cloud?

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.

Step 1: Check MAC address identification  

Step 2: Verify service tag uniqueness  

 wmic path Win32_BIOS get SerialNumber 

Step 3: Verify product (model) mapping  

 wmic path Win32_ComputerSystem get Model 
Note: By default, newly discovered products are placed under Computer. If manually moved to another product type (outside Computer or its child products), scans for those machines will fail.

3. What happens when the probe key is already registered in another machine?

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:

  1. Add a new probe in ServiceDesk Plus Cloud.
  2. Reassign all scans associated with the old probe to the new probe. To reassign, click Edit > Update Scans.
  3. Register using the new probe’s key.

4. Why do I see the error "curl command not found" or "netcat command not found"?

While running a scan by using the scan_script.sh:

Probe Configuration 

Configuration File Path: \ManageEngineSDPODProbeconfprobe.props 

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,

If no valid DNS entry exists for the device, the asset will be added using its IP address as the name.

 

After applying any of the above configurations, restart the probe by using the Probe Tray icon.