Single-Command Installation

While we highly recommend using one of the deployment scripts to install the Huntress agent, we do realize there are use cases for a single command install.

Please be aware that this command provides no error checking, installation validation, etc. PowerShell errors can be terse. If you are not familiar with troubleshooting PowerShell errors please use one of the other installation methods.

Before running the following command, replace the two instances of YOUR_ACCOUNT_KEY with your Huntress account key and CLIENT_NAME with the customer name.

From a Command Prompt (cmd.exe): 

powershell "(New-Object Net.WebClient).DownloadFile('',\"$env:temp/HuntressInstaller.exe\");"%TEMP%\HuntressInstaller.exe /S /ACCT_KEY=YOUR_ACCOUNT_KEY /ORG_KEY="CLIENT_NAME"

From a PowerShell Prompt (powershell.exe):

(New-Object Net.WebClient).DownloadFile('',$env:temp+'/HuntressInstaller.exe');iex $env:temp'\HuntressInstaller.exe /S /ACCT_KEY=YOUR_ACCOUNT_KEY /ORG_KEY=CLIENT_NAME'
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Need help? Click here to Contact Us Click here to Contact Us