Here you will find the installation instructions for the EDR Agent
Required Parameters
[System.Net.ServicePointManager]::SecurityProtocol = [Enum]::ToObject([System.Net.SecurityProtocolType], 3072); (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/Infocyte/PowershellTools/master/AgentDeployment/install_huntagent.ps1") | iex; installagent *********** %%%%%%%%% agent.windows.exe --url https://***********.infocyte.com --key %%%%%%%%% agent.windows32.exe --url https://***********.infocyte.com --key %%%%%%%%% @echo off
:: Install Infocyte Agent
:: For use in a GPO Startup Script (Note: Logon script will not work as it operates with the user's non-admin permissions)
:: Best Reference for steps: https://www.petri.com/run-startup-script-batch-file-with-administrative-privileges
:: Change "instancename" to your cname
:: Change "regkey" to your registration key made in the Infocyte HUNT admin panel (or leave blank if not using)
set instancename=demo1
set regkey=
:: if download folder needs to be changed, uncomment the following and modify the path:
set downloadpath=
::set downloadpath=-DownloadPath 'C:\windows\temp\agent.windows.exe'
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -nologo -win 1 -executionpolicy bypass -nop -command "& { [System.Net.ServicePointManager]::SecurityProtocol = [Enum]::ToObject([System.Net.SecurityProtocolType], 3072); (new-object Net.WebClient).DownloadString('https://raw.githubusercontent.com/Infocyte/PowershellTools/master/AgentDeployment/install_huntagent.ps1') | iex; installagent %instancename% %regkey% %downloadpath% }"
:: for testing, you can add a -interactive to the installagent command. The end of the above command would look like this:
:: ...installagent %instancename% %regkey% -interactive }"
Create the GPO:
Your script should now run and install the ARR agent on all machines in the selected group.

Uninstall
"C:\Program Files\Infocyte\Agent\agent.exe" --uninstall "C:\Program Files\Infocyte\Agent\agent.exe" /quiet --uninstall
Linux Support for Agent Installation:
file /sbin/init sbin/init: symbolic link to /lib/systemd/systemd
Installing Agent
64-Bit
chmod +x linux64.exe sudo ./linux64.exe --key %%%%%%%%% --url https://***********.infocyte.com 32-Bit
chmod +x linux32.exe sudo ./linux32.exe --key %%%%%%%%% --url https://***********.infocyte.com
Validating Install
systemctl status huntagent
Uninstall (Linux)
sudo /usr/local/infocyte/agent/agent.exe --uninstall
Manual Uninstall
systemctl stop HUNTAgent
systemctl disable HUNTAgent
rm /etc/systemd/system/HUNTAgent.service
systemctl daemon-reload
systemctl reset-failed
rm -rf "opt/ infocyte
Installing Agent
sudo chmod +x agent.macos.exe sudo ./agent.macos.exe --url https://***********.infocyte.com --key %%%%%%%%%
Validating Install (All macOS)
ps -u root | grep agent 
Uninstall
sudo /usr/local/infocyte/agent/agent.exe --uninstall
Manual Uninstall
systemctl stop HUNTAgent
systemctl disable HUNTAgent
rm /etc/systemd/system/HUNTAgent.service
systemctl daemon-reload
systemctl reset-failed
rm -rf "opt/ infocyte
MacOS - Catalina –> Monterey
Installing Agent
sudo cat rts.macos.exe > rts.macos-catalina.exe && sudo chmod +x rts.macos-catalina.exe sudo ./rts.macos-catalina.exe --url https://***********.infocyte.com --key %%%%%%%%%
Validating Install (All macOS)
ps -u root | grep agent 
Uninstall
sudo /usr/local/infocyte/agent/agent.exe --uninstall
Manual Uninstall
systemctl stop HUNTAgent
systemctl disable HUNTAgent
rm /etc/systemd/system/HUNTAgent.service
systemctl daemon-reload
systemctl reset-failed
rm -rf "opt/ infocyte
MacOS - Ventura –> Sonoma
Installing Agent
sudo spctl --master-disable cd documents cat rts.macos.exe > rts.macos-catalina.exe 
chmod +x rts.macos-catalina.exe
sudo ./rts.macos-catalina.exe --url https://***********.infocyte.com --key %%%%%%%%% sudo spctl --master-enable 
CAUTION: BE CERTAIN TO RUN THE LAST COMMAND TO RE-ENABLE SYSTEM SECURITY
Validating Install
![]()
OR
ps -u root | grep agent 
Uninstall
sudo /usr/local/infocyte/agent/agent.exe --uninstall
Manual Uninstall
systemctl stop HUNTAgent
systemctl disable HUNTAgent
rm /etc/systemd/system/HUNTAgent.service
systemctl daemon-reload
systemctl reset-failed
rm -rf "opt/ infocyte
RMM Install
!!Deploying the agent via RMM may limit our ability to assist with troubleshooting stability issues!!
Installation Using Atera PowerShell Script
Disclaimer : Deploying the agent via RMM may limit our ability to assist with troubleshooting stability issues.
Prerequisites
Creating the Script



Deployment
Installation Using SyncroRMM PowerShell Script
Disclaimer: Deploying the agent via RMM may limit our ability to assist with troubleshooting stability issues.
Prerequisites
Creating the Script

Optional
Using Variables
Create a new 'Customer Field'
Add the Customer Field variable to each Customer
Add the RegKey for the Target Group of this Customer


Deployment


