Install Huntress

The following script will install the Huntress agent on any Windows PC. This has been tested against Clients, Locations and individual computers. The official documentation is located here.

Instructions:

  • Copy the below code and save to an .xml file
  • From the LabTech Control Center, click on Tools > Import > LT XML Expansion
  • Import the newly saved XML file
  • Your new script will be saved in the Custom Scripts folder called Huntress Agent Install
  • Double-click on the script and make the edits below:
    • Update the "acct_key" Global Variable with your Account Key from the Huntress Web Interface
  • Download the Huntress installer file from the Huntress Web Interface and save it in the LT Transfer folder as huntressinstaller.exe

License: This may be freely distributed and modified for your own needs. If you make it better please share.

Original Author: Ray Orsini / Orsini IT (updated by Huntress Labs)

<LabTech_Expansion
    Version="110.286"
    Name="LabTech Script Expansion"
    Type="PackedScript">
    <PackedScript>
   <NewDataSet>
            <Table>
                <ScriptId>5963</ScriptId>
                <FolderId>190</FolderId>
                <ScriptName>Huntress Agent Install</ScriptName>
                <ScriptNotes>Installs Huntress Agent silently. Sets Org Key to company name (clientname) for easy grouping of clients.

Requirements:
- Set your ACCT_KEY on Globals and Parameters tab
- Installer file needs to be saved in the root of the transfer (LabTech/Transfer) folder as huntressinstaller.exe.

Updated: 4 December 2017</ScriptNotes>
                <Permission>0,</Permission>
                <EditPermission>0,</EditPermission>
                <ComputerScript>1</ComputerScript>
                <LocationScript>0</LocationScript>
                <MaintenanceScript>0</MaintenanceScript>
                <FunctionScript>0</FunctionScript>
                <LicenseData>H4sIAAAAAAAEAFWPwQqDMBBE74X+gx9gSFYbLbIESi29tJdWeo9xhRwaJRqof98qLdjDMOwMb2HwYg25gUo9aoXV1JMC5IvjLbhjF9xIXgnkqwtPr976mSFVBRoaPcVRSYaeNfkoEfFHkEUgCkiKVESHK/IVgnfjbT8+yA+2c/Pv/+Dbn4NtFNV7LbWpmcnSlgFQxvawk0wkudGS8raV8OMXAPl60XbzBmk+TInhAAAA</LicenseData>
                <ScriptData>H4sIAAAAAAAEAN2Z7W+aQBjAvy/Z/3BpYvbJIiDaGkts7MvMtrSZ25IlS8wJj3Lp9TDcsbX//eh5KBi52BTm4JM8z73A/XhecTj1IrISV1hg9/07hIZrmUshEa+fRIRfRm8IUJ8jIx24xxF+BAFRRndLwzmm3MWeJ2YP8HwxDjBbwhcYGumQmrm+y49kNQmZaw6NvCI36zYmvgvzM+xgb972evaibZrQa5+ZXafdsfoedqC/WDibXeQCeRgjexq13VTAavMcl55QD6CulP4mZlKe+G7PGhoZMXt80/0YMxEB5+hyCUwMDaXOTrLcjtJbOb29w7K7IztbeRpG4mUX+at045AJwmJ40W+u1dgd/0weiVySXqqRCfOT58TyqMloVswC2zLSQLM00KzzQ6BhGgH2nxFhXGBKwd8PcAdMs8GZTjG5nYO+FYz5v4GxNWBMW2dS4wC8ByQCLFAafNBShhz0G0cEzymgAHM0B2CIQ4GnNs3QdDz7HQ3OlGFBQLP2BzR3G+6VIkfPHXxf+VjAbJ0L1KRuc0zU6uiYplFvooJddApPUAC4JeBx5ZOo9Uu36m35xKoTWtPsatBucQUKFzkAsllgxYOr8A+jIfZnN5hsk5L9Krp2nehatibpbLz9lUaKjMvx+Nvs0/XPi1EaT0bIuPt6K3UnLY+S5DgsqSJbJ8iYHmbUm7e2EzdcHgBNygke0zS4O7kX0q3VC9HlulHmqKNKEpnTGFayLiBsifKFelpxVkKvVyd6+rJqIPnNJhXS6teJlqPJQiUX52dlczGrtCLrkMpH2yQPprHnJZMWMd2xt7eVOed14nhY25wLYWghi5RTdE8Bc0Ce7IRouOSVuKtZepNTKc9/2U2X3qtU6rH6uL+vUyvZkGrVf2gdcwqarw4hQyIAxOVtP3CkPoQizHyU+YYq8FyqIohiVg3w0luSxnhu6b3BET13f/Nasik1p0FIcW3S6Lji/Fl6d9AYLyy9EziiFxYWsyVbU+ldwtEcsaC65WuQ1dA7Rm+Qyuof17+BVf+WgB0AAA==</ScriptData>
                <ScriptVersion>1</ScriptVersion>
                <ScriptGuid>eb8a5acb-c63f-11e6-8145-027ca5e7ff51</ScriptGuid>
                <ScriptFlags>0</ScriptFlags>
                <Parameters></Parameters>
            </Table>
        </NewDataSet>
        <ScriptFolder>
            <NewDataSet>
                <Table>
                    <FolderID>190</FolderID>
                    <ParentID>0</ParentID>
                    <Name>Custom Scripts</Name>
                    <GUID>af641fc8-27a3-4966-a34e-665c67672a9e</GUID>
                </Table>
            </NewDataSet>
        </ScriptFolder>
    </PackedScript>
</LabTech_Expansion>
  • Last modified: 2018/02/25 01:18
  • by 127.0.0.1