Skip to main content

Reinstall Huntress Agent Windows

Summary

This script can be used to reinstall the Huntress Agent for Windows machines.

File Hash:

  • MD5: 8F19848478D623C13615D166134FE8C1
  • SHA256: DFC9C59A249E2C5EA0E3AD26CD9639F7F6953FF9781A17823BF84A6009627076

Sample Run

Sample Run

Dependencies

Variables

NameDescription
projectNameInvoke-HuntressAgentCommand
workingDirectoryC:/ProgramData/_Automation/Script/Invoke-HuntressAgentCommand
scriptPathC:/ProgramData/_Automation/Script/Invoke-HuntressAgentCommand/Invoke-HuntressAgentCommand.ps1

Client-Level EDF

NameTypeExampleSectionRequiredDescription
Huntress Agent - Account KeyText1SA2345AASSSS234Security ToolsTrueThis is the Account Key that determines which Huntress Account an Agent should be associated with.
Huntress Agent - Org KeyTextDevelopmentSecurity ToolsFalseBy default, the Huntress Organization key is the name of the client. Set this EDF if it's different for the client.

These EDFs can be created by running the Deploy Huntress Agent [Windows, Mac] script with the Set_Environment parameter set to 1.

Location-Level EDF

NameTypeExampleSectionRequiredDescription
Huntress Agent Install - ExcludeCheck-Box0/1Security ToolsFalseMark this EDF to exclude the location from the auto deployment of the Huntress Agent from the Deploy Huntress Agent monitor set.

This EDF can be created by running the Deploy Huntress Agent [Windows, Mac] script with the Set_Environment parameter set to 1.

Output

  • Script log