The Freshservice Discovery Agent helps you keep track of your assets by sending details and updates about the machine it is installed on. You can use the PsExec tool to install it on all the machines in a workgroup.
Installing Discovery Agent using PsExec Tool
- In your Freshservice instance, go to Admin > Global Settings > Asset Management > Discovery Hub. Click Configure Agent and Probe in the Basic discovery section, and download the Windows Discovery Agent file.
- Create a network share and place the agent in that folder.
- Download PSTools and extract the contents of the zip file.
- Create a text file named computer.txt in the folder where PSTools is extracted.
- Open the computer.txt file and enter the name or the IP address of the computers on which you want to install the Agent (one entry per line).
- Run the following commands where the Agent installer is located. Replace <MSI ABSOLUTE PATH> with the network path.
C:\Your unzipped folder>psexec @computer.txt -e -s -u <USER ACCOUNT> -p <PASSWORD> msiexec /i <MSI ABSOLUTE PATH> REGISTRATIONTOKEN="dummytokenvalue"
Example:
C:\PSEXEC>psexec @computer.txt -e -s -u Admin -p password msiexec /i \\10.1.10.100\public\FSAgent.msi REGISTRATIONTOKEN="dummytokenvalue"
Alternate steps if Proxy is configured
psexec @computer.txt -e -s -u <USER ACCOUNT> -p <PASSWORD> msiexec /i <MSI ABSOLUTE PATH> REGISTRATIONTOKEN="dummytokenvalue" PROXYSERVER="<proxy server name/ip>” PROXYPORT="<proxy port>" PROXYUSERNAME="<proxy user name>" PROXYPASSWORD="<proxy password>"
Example:
psexec @computer.txt -e -s -u Admin -p password msiexec /i \\10.1.10.100\public\FSAgent.msi REGISTRATIONTOKEN="dummytokenvalue" PROXYSERVER="192.168.5.161" PROXYPORT="808" PROXYUSERNAME="Admin" PROXYPASSWORD="Freshservice"
More information on the Agent (supported OS, Prerequisites, and download instructions) can be found here.
To install the Discovery Agent on computers in a domain, use GPO.