Deploying Huntress with ConnectWise Automate

Installing any product should be a breeze and that's especially true with Huntress. We've created a deployment script for LabTech RMM that will install the Huntress agent on 32 and 64-bit Windows systems (Vista/Server 2008 and above) without any user interruptions or reboots. The script will also automatically gather your client's LabTech ClientName and use it to organize the agents within Huntress' multi-tenant Web Interface. This is a three step process that involves:

1
Downloading and Importing the Huntress Agent Install script
2
Customizing the Huntress Agent Install Script

Download and Import the Huntress Agent Install script

  1. Download the Huntress Agent install script from our GitHub repository. The file is XML so the browser displays the contents. From the "Save as" dialog, save the file as "Huntress Agent Install script - Download.xml" for use with Automate.
  2. Open the LabTech Control Center and import the script. From the Tools menu > Import > LT XML Expansion
  3. In Automate 12 the process is the same, but the interface looks different.

    In the File Browser window, browse to the XML file you just downloaded and click the "Open" button.

    Customize the Huntress Agent Install Script

    NOTE: We have heard from some of our partners that Automate 12 does not refresh the script repository view immediately after importing a script. If the Huntress Agent Install script is not listed, closing and then reopening the Control Center will likely resolve the issue. 

    1. From the Navigation tree within LabTech Control Center, expand the "Custom Scripts" folder. 
    2. Double click on the "Huntress Agent Install" script to edit the options.
    3. Select the "Globals and Parameters" tab and update the acct_key global variable by replacing "ChangeMe" with your Huntress Account Key. Be sure to click the "Save" button after you have updated the acct_key.
    4. (Optional) This deployment script will automatically use the LabTech ClientName to group your agents into Huntress Organizations and tag the agent using the LabTech LocationName (as seen below). If you'd like to use a different value for the tag you'll need to edit line 5 of the LabTech script.
    5. %tempdir%\HuntressInstaller.exe /ACCT_KEY=@acct_key@ /ORG_KEY="%clientname%" /TAGS="%locationname%" /S
      		

    6. Save the script with your changes.

    You are ready to deploy

    Congratulations, your LabTech Deployment Script is ready. Schedule it to run and watch your agents show up within the Huntress Dashboard!

Still need help? Contact Us Contact Us