diff --git a/ConnectWise-Automate/staged/InstallHuntress.automate.ps1 b/ConnectWise-Automate/staged/InstallHuntress.automate.ps1 index 066839e..977bd99 100644 --- a/ConnectWise-Automate/staged/InstallHuntress.automate.ps1 +++ b/ConnectWise-Automate/staged/InstallHuntress.automate.ps1 @@ -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. @@ -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 diff --git a/ConnectWise-Control/InstallHuntress.ConnectWiseControl.ps1 b/ConnectWise-Control/InstallHuntress.ConnectWiseControl.ps1 index e8d234b..e484622 100644 --- a/ConnectWise-Control/InstallHuntress.ConnectWiseControl.ps1 +++ b/ConnectWise-Control/InstallHuntress.ConnectWiseControl.ps1 @@ -1,4 +1,4 @@ -#!ps +#!ps #timeout=90000 $AccountKey="__ACCOUNT_KEY__" @@ -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 @@ -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 diff --git a/Continuum/InstallHuntress.continuum.ps1 b/Continuum/InstallHuntress.continuum.ps1 index afc7101..604e06d 100755 --- a/Continuum/InstallHuntress.continuum.ps1 +++ b/Continuum/InstallHuntress.continuum.ps1 @@ -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. @@ -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 diff --git a/Datto-RMM/scripts/InstallHuntress.dattormm.comstore.ps1 b/Datto-RMM/scripts/InstallHuntress.dattormm.comstore.ps1 index 328260a..cd9b82c 100644 --- a/Datto-RMM/scripts/InstallHuntress.dattormm.comstore.ps1 +++ b/Datto-RMM/scripts/InstallHuntress.dattormm.comstore.ps1 @@ -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 @@ -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" @@ -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 diff --git a/N-able (SolarWinds) N-central/powershell/InstallHuntress.powershellv2.ps1 b/N-able (SolarWinds) N-central/powershell/InstallHuntress.powershellv2.ps1 index fb54527..e981db5 100644 --- a/N-able (SolarWinds) N-central/powershell/InstallHuntress.powershellv2.ps1 +++ b/N-able (SolarWinds) N-central/powershell/InstallHuntress.powershellv2.ps1 @@ -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. @@ -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" @@ -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 diff --git a/Powershell/InstallHuntress.powershellv2.ps1 b/Powershell/InstallHuntress.powershellv2.ps1 index a3e3c88..5c6756a 100644 --- a/Powershell/InstallHuntress.powershellv2.ps1 +++ b/Powershell/InstallHuntress.powershellv2.ps1 @@ -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 @@ -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" @@ -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 diff --git a/SolarwindsRMM/scripts/InstallHuntress.SolarWindsRMM.ps1 b/SolarwindsRMM/scripts/InstallHuntress.SolarWindsRMM.ps1 index 6006a43..76b190e 100755 --- a/SolarwindsRMM/scripts/InstallHuntress.SolarWindsRMM.ps1 +++ b/SolarwindsRMM/scripts/InstallHuntress.SolarWindsRMM.ps1 @@ -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. @@ -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 diff --git a/Syncro/InstallHuntress.syncro.ps1 b/Syncro/InstallHuntress.syncro.ps1 index e233eb7..0cc83bd 100755 --- a/Syncro/InstallHuntress.syncro.ps1 +++ b/Syncro/InstallHuntress.syncro.ps1 @@ -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. @@ -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