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 Hunt 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
:: Set "instancename" to the instance name provided by SonicSentry
:: Set "regkey" to your registration key provided by SonicSentry
set instancename=myinstancename123
set regkey=myregkey123
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%"
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
file /sbin/init
sbin/init: symbolic link to /lib/systemd/systemd
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
sudo chmod +x agent.macos.exe
sudo ./agent.macos.exe --url https://***********.infocyte.com --key %%%%%%%%%
ps -u root | grep agent

sudo /usr/local/infocyte/agent/agent.exe --uninstall
systemctl stop HUNTAgent
systemctl disable HUNTAgent
rm /etc/systemd/system/HUNTAgent.service
systemctl daemon-reload
systemctl reset-failed
rm -rf "opt/ infocyte
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 %%%%%%%%%
ps -u root | grep agent

sudo /usr/local/infocyte/agent/agent.exe --uninstall
systemctl stop HUNTAgent
systemctl disable HUNTAgent
rm /etc/systemd/system/HUNTAgent.service
systemctl daemon-reload
systemctl reset-failed
rm -rf "opt/ infocyte
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 
![]()
OR
ps -u root | grep agent

sudo /usr/local/infocyte/agent/agent.exe --uninstall
systemctl stop HUNTAgent
systemctl disable HUNTAgent
rm /etc/systemd/system/HUNTAgent.service
systemctl daemon-reload
systemctl reset-failed
rm -rf "opt/ infocyte
!!Deploying the agent via RMM may limit our ability to assist with troubleshooting stability issues!!
Disclaimer : Deploying the agent via RMM may limit our ability to assist with troubleshooting stability issues.
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


