Skip to main content
All CollectionsCYFOX EDRUser Guides
How to re-install agent in "Server" Mode
How to re-install agent in "Server" Mode
Omer Kushmirski avatar
Written by Omer Kushmirski
Updated over 9 months ago

Starting with AG.AI Version 2.0.4 and above, CYFOX introduces a new Agent Mode called "Server," which is ideal for high-performance servers experiencing slowness.

Note that servers can still operate in the regular mode, and the "Server" mode provides extensive support for servers experiencing significant slowness.

The primary reason for introducing this extra mode is that some servers generate a large number of files every second. Since the agent is required to scan each file to identify threats, this can lead to slowness. Therefore, the "Server" mode employs a new approach to scanning that minimizes interruptions to the processes running on the

servers.


Uninstalling the Agent

Note: The commands should be executed from the Command Prompt (CMD) that is running with Administrator credentials.

Currently, switching between Agent modes requires reinstalling the agent. To reinstall, execute the following command in the Command Prompt (CMD) on the machine from which you wish to uninstall the agent.

msiexec /x "<PRODUCT_CODE>" /qn Password="<PASSWORD>" 

You can find the product code in the registry at the following path (be sure to copy the product code, including the curly brackets):

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Cyfox Agent\ProductCode

For example, the following demonstrates how to uninstall an agent without using a password:

msiexec /x {DE05DA50-988A-4655-8427-81555F57D4AE} 


Installing the Agent in "Server" Mode

Note: The commands should be executed from the Command Prompt (CMD) that is running with Administrator credentials.

Run the following command in the Command Prompt (CMD) to install the CYFOX agent, replacing the placeholders with your specific details:

msiexec /i "<path to the CYFOX installation MSI package>" /qn /l* "<path to installation log file, 
for example: log.txt>" ServerAddress="<server IP address>" ActivationKey="<activation key>" License="<license key>" AgentMode=<Agent mode.
1 for sensor, 2 for EDR> Password="<password for the agent)>"

Starting from version 2.0.4.0 and up, the agent can be installed in server mode. To do this, add the following argument to the installation command:

MachineType=<type of the machine that the agent will run on. 1 for Server, 2 for employee endpoint. The default is employee endpoint>


Examples

Installing the Agent in EDR Mode Without a Password

msiexec /i C:\Users\nivg\Documents\GitHub\Agent\CfxSetup\debug\Cyfox.msi /qn /l* C:\Users\nivg\Desktop\installationLogs\install_log.txt ServerAddress="192.168.23.1" ActivationKey="" License="" AgentMode=2 Password=None

Installing the Agent in Server Mode Without a Password

msiexec /i C:\Users\nivg\Documents\GitHub\Agent\CfxSetup\debug\Cyfox.msi /qn /l* "C:\Users\nivg\OneDrive - CyFox\Desktop\installationLogs\install_log.txt" ServerAddress="192.168.23.1" ActivationKey="" License="" AgentMode=2 Password=None MachineType=1
Did this answer your question?