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

  1. 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.
  2. Create a network share and place the agent in that folder.
  3. Download PSTools and extract the contents of the zip file.
  4. Create a text file named computer.txt in the folder where PSTools is extracted.
  5. 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).
  6. 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

If you have Proxy configured within your organization, replace the command in the last step with the following (remaining steps are the same as mentioned in the above procedure):


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.