Before you enable auto-update, please ensure you have set up the Antivirus Exclusions (at least the Temporary Exclusions) to avoid any issues with your antivirus software.
The Auto-update feature allows you to create update channels that you can assign to computers for automatically updating them to the desired Agent versions, on a scheduled basis. For example, you can create a channel to update a computer to the latest version of the Windows Agent on Sundays from 12 am β 1 am. In this case, the Agent will check for the latest update every Sunday and try to download and apply the update within the given timeframe if the computer is online. If the computer is offline on a given Sunday, the Agent will try again the next Sunday.
The Agent checks for an update every 15 minutes and it takes about a minute for the installation process on the computer. However, it might take 2-3 hours for the update to take place to avoid network throttling and load.
From the Dashboard
1. From the main menu, select Configurations.
2. Select Settings.
3. Select the Agents tab.
4. Scroll to the Agent automatic updates section and then click the Enable automatic updates checkbox to toggle automatic update.
5. Click the Save changes button to save the setting.
Via Installation/Configuration File Parameters
You can also enable/disable auto-update via installation/configuration file parameters.
Unless disabled during the Agent installation or in the Agent's config file, an Agent will update itself based on the update channel settings defined on the Dashboard. Disabling automatic updates during installation or in the Agent config file will prevent the Agent from checking for updates.
Windows
Via the Installation Parameters
You can enable/disable auto-update when installing the Agent by adding the TMDISABLEAUTOUPDATE=0 or TMDISABLEAUTOUPDATE=1 command line parameter to the file name. Where, 1 means enable, 0 means disable. For example, to enable auto-update, use the following command:
msiexec /i teramind_agent_v0.1.249_x86.msi TMDISABLEAUTOUPDATE=1
To disable auto-update, use the command below:
curl teramind_agent_v1.235-d(1).pkg | sudo bash -
Via the Configuration File
For an existing Agent installation, you can change the Agent configuration file to enable/disable auto-update. The configuration file is usually located at this location:
The config file is usually located in the following locations:
Hidden Agent:
C:\ProgramData\{4CEC2908-5CE4-48F0-A717-8FC833D8017A}\configRevealed Agent:
C:\ProgramData\Teramind Agent\config
Here, <agent version> is the Agent version, for example, 20.0.1084. <guid> is the globally unique identifier of the Agent. For example, {551DD8F9-2009-4565-B57B-1390B7DA6AF0}. Check out this Knowledge Base article to learn how to find your Agent version.
To enable the auto-update, add this line to the agent.conf file:
disable-autoupdate=0
Alternatively, you can just remove the disable-autoupdate line entirely to enable auto-update.
To disable auto-update, add this line:
disable-autoupdate=1
Mac
Via the Installation Parameters
You can enable/disable auto-update when installing the Agent by adding the -d(0) or -d(1) command line parameter to the file name. Where, 1 means enable, 0 means disable. For example, to enable auto-update, use the following command:
curl teramind_agent_v1.235-d(0).pkg | sudo bash β
To disable auto-update, use the command below:
curl teramind_agent_v1.235-d(1).pkg | sudo bash -
Via the Configuration File
For an existing Agent installation, you can change the Agent configuration file to enable/disable auto-update. The configuration file is usually located at this location: /usr/local/teramind/agent/etc/agent.conf).
To enable the auto-update, add this line to the agent.conf file:
disable-autoupdate=0
Alternatively, you can just remove the disable-autoupdate line entirely to enable auto-update.
To disable auto-update, add this line:
disable-autoupdate=1

