Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions ConnectWise-Automate/staged/InstallHuntress.automate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Set-StrictMode -Version Latest

# Do not modify the following variables.
# These are used by the Huntress support team when troubleshooting.
$ScriptVersion = "Version 2, major revision 7, 2023 June 21"
$ScriptVersion = "Version 2, major revision 8, 2025 July 10"
$ScriptType = "Automate"

# Check for an account key specified on the command line.
Expand Down Expand Up @@ -278,14 +278,13 @@ function Test-Installation {

$HuntressAgentPath = Join-Path $HuntressDirPath "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirPath "HuntressUpdater.exe"
$hUpdaterPath = Join-Path $HuntressDirPath "hUpdate.exe"
$HuntressKeyPath = "HKLM:\SOFTWARE\Huntress Labs\Huntress"
$AgentIdKeyValueName = "AgentId"
$OrganizationKeyValueName = "OrganizationKey"
$TagsValueName = "Tags"

# Ensure the critical files were created.
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist."
LogMessage $err
Expand Down
7 changes: 3 additions & 4 deletions ConnectWise-Control/InstallHuntress.ConnectWiseControl.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!ps
#!ps
#timeout=90000

$AccountKey="__ACCOUNT_KEY__"
Expand All @@ -15,7 +15,7 @@ $reinstall = $false
$acctkey = $AccountKey
$orgkey = $OrganizationKey
Set-StrictMode -Version Latest
$ScriptVersion = "Version 1, major revision 1, 2023 Oct 9"
$ScriptVersion = "Version 1, major revision 2, 2025 July 10"
$ScriptType = "PowerShell (ConnectWise Control / ScreenConnect)"
if ( ! [string]::IsNullOrEmpty($acctkey) ) {
$AccountKey = $acctkey
Expand Down Expand Up @@ -207,12 +207,11 @@ function Test-Installation {
}
$HuntressAgentPath = Join-Path $HuntressDirPath "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirPath "HuntressUpdater.exe"
$hUpdaterPath = Join-Path $HuntressDirPath "hUpdate.exe"
$HuntressKeyPath = "HKLM:\SOFTWARE\Huntress Labs\Huntress"
$AgentIdKeyValueName = "AgentId"
$OrganizationKeyValueName = "OrganizationKey"
$TagsValueName = "Tags"
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist."
LogMessage $err
Expand Down
5 changes: 2 additions & 3 deletions Continuum/InstallHuntress.continuum.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Set-StrictMode -Version Latest

# Do not modify the following variables.
# These are used by the Huntress support team when troubleshooting.
$ScriptVersion = "Version 2, major revision 7, 2023 May 1"
$ScriptVersion = "Version 2, major revision 8, 2025 July 10"
$ScriptType = "Continuum"

# Check for an account key specified on the command line.
Expand Down Expand Up @@ -403,14 +403,13 @@ function Test-Installation {

$HuntressAgentPath = Join-Path $HuntressDirPath "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirPath "HuntressUpdater.exe"
$hUpdaterPath = Join-Path $HuntressDirPath "hUpdate.exe"
$HuntressKeyPath = "HKLM:\SOFTWARE\Huntress Labs\Huntress"
$AgentIdKeyValueName = "AgentId"
$OrganizationKeyValueName = "OrganizationKey"
$TagsValueName = "Tags"

# Ensure the critical files were created.
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist."
LogMessage $err
Expand Down
5 changes: 2 additions & 3 deletions Datto-RMM/scripts/InstallHuntress.dattormm.comstore.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ $estimatedSpaceNeeded = 200111222
##############################################################################

# These are used by the Huntress support team when troubleshooting.
$ScriptVersion = "Version 2, major revision 8, 2025 Apr 1"
$ScriptVersion = "Version 2, major revision 9, 2025 July 10"
$ScriptType = "PowerShell"

# variables used throughout this script
Expand Down Expand Up @@ -428,7 +428,6 @@ function Install-Huntress ($OrganizationKey) {
function Test-Installation {
# Get the file locations of some of the Huntress executables and setting up some registry related variables
$HuntressDirectory = getAgentPath
$hUpdaterPath = Join-Path $HuntressDirectory "hUpdate.exe"
$HuntressAgentPath = Join-Path $HuntressDirectory "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirectory "HuntressUpdater.exe"
$AgentIdKeyValueName = "AgentId"
Expand Down Expand Up @@ -459,7 +458,7 @@ function Test-Installation {
}

# Ensure the critical files were created.
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist. Check your AV/security software quarantine"
LogMessage $err
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if ($PsVersionTable.PsVersion.Major -lt 3){
$kernelVersion = [System.Environment]::OSVersion.Version

# These are used by the Huntress support team when troubleshooting.
$ScriptVersion = "Version 2, major revision 7, 2023 May 1, N-central specific"
$ScriptVersion = "Version 2, major revision 8, 2025 July 10, N-central specific"
$ScriptType = "PowerShell"

# Check for an account key specified on the command line.
Expand Down Expand Up @@ -349,7 +349,6 @@ function Test-Installation {

# Get the file locations of some of the Huntress executables
$HuntressDirectory = getAgentPath
$hUpdaterPath = Join-Path $HuntressDirectory "hUpdate.exe"
$HuntressAgentPath = Join-Path $HuntressDirectory "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirectory "HuntressUpdater.exe"

Expand All @@ -359,7 +358,7 @@ function Test-Installation {
$TagsValueName = "Tags"

# Ensure the critical files were created.
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist. Check your AV/security software quarantine"
LogMessage $err
Expand Down
5 changes: 2 additions & 3 deletions Powershell/InstallHuntress.powershellv2.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $estimatedSpaceNeeded = 200111222
##############################################################################

# These are used by the Huntress support team when troubleshooting.
$ScriptVersion = "Version 2, major revision 8, 2025 May 20"
$ScriptVersion = "Version 2, major revision 9, 2025 July 10"
$ScriptType = "PowerShell"

# variables used throughout this script
Expand Down Expand Up @@ -421,7 +421,6 @@ function Install-Huntress ($OrganizationKey) {
function Test-Installation {
# Get the file locations of some of the Huntress executables and setting up some registry related variables
$HuntressDirectory = getAgentPath
$hUpdaterPath = Join-Path $HuntressDirectory "hUpdate.exe"
$HuntressAgentPath = Join-Path $HuntressDirectory "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirectory "HuntressUpdater.exe"
$AgentIdKeyValueName = "AgentId"
Expand Down Expand Up @@ -461,7 +460,7 @@ function Test-Installation {
}

# Ensure the critical files were created.
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist. Check your AV/security software quarantine"
LogMessage $err
Expand Down
5 changes: 2 additions & 3 deletions SolarwindsRMM/scripts/InstallHuntress.SolarWindsRMM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Set-StrictMode -Version Latest

# Do not modify the following variables.
# These are used by the Huntress support team when troubleshooting.
$ScriptVersion = "Version 3, major revision 7, 2023 July 20"
$ScriptVersion = "Version 3, major revision 8, 2025 July 10"
$ScriptType = "SolarWindsRMM"

# Check for an account key specified on the command line.
Expand Down Expand Up @@ -292,14 +292,13 @@ function Test-Installation {

$HuntressAgentPath = Join-Path $HuntressDirPath "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirPath "HuntressUpdater.exe"
$hUpdaterPath = Join-Path $HuntressDirPath "hUpdate.exe"
$HuntressKeyPath = "HKLM:\SOFTWARE\Huntress Labs\Huntress"
$AgentIdKeyValueName = "AgentId"
$OrganizationKeyValueName = "OrganizationKey"
$TagsValueName = "Tags"

# Ensure the critical files were created.
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist."
LogMessage $err
Expand Down
5 changes: 2 additions & 3 deletions Syncro/InstallHuntress.syncro.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Set-StrictMode -Version Latest

# Do not modify the following variables.
# These are used by the Huntress support team when troubleshooting.
$ScriptVersion = "Version 2, major revision 7, 2023 May 1"
$ScriptVersion = "Version 2, major revision 8, 2025 July 10"
$ScriptType = "Syncro"

# Variables used throughout the Huntress Deployment Script.
Expand Down Expand Up @@ -256,14 +256,13 @@ function Test-Installation {

$HuntressAgentPath = Join-Path $HuntressDirPath "HuntressAgent.exe"
$HuntressUpdaterPath = Join-Path $HuntressDirPath "HuntressUpdater.exe"
$hUpdaterPath = Join-Path $HuntressDirPath "hUpdate.exe"
$HuntressKeyPath = "HKLM:\SOFTWARE\Huntress Labs\Huntress"
$AgentIdKeyValueName = "AgentId"
$OrganizationKeyValueName = "OrganizationKey"
$TagsValueName = "Tags"

# Ensure the critical files were created.
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath, $hUpdaterPath) ) {
foreach ( $file in ($HuntressAgentPath, $HuntressUpdaterPath) ) {
if ( ! (Test-Path $file) ) {
$err = "ERROR: $file did not exist."
LogMessage $err
Expand Down
Loading