All Collections
Troubleshooting and How-To
How-To Articles
How to verify if the Agent is installed / uninstalled / running
How to verify if the Agent is installed / uninstalled / running
A
Written by Arick Disilva
Updated over a week ago

Windows

Option 1:

You can quickly check if the Teramind Hidden Agent is installed on a computer by looking for this folder*: C:\ProgramData\{4CEC2908-5CE4-48F0-A717-8FC833D8017A} and the Revealed Agent is installed in: C:\ProgramData\Teramind Agent folder. If any of these folders exists, then the Agent is Installed.

*The installation folder of the Hidden Agent can be changed with the TMROOTDIR parameter. In that case, this method will not work and you might need to use Option 2 below instead.

Option 2:

You can open the Windows Command Prompt (cmd.exe) as an admin user, then execute this command:

sc query tsvchst

If you see the following message, then the Agent is uninstalled / not running:

[SC] EnumQueryServicesStatus:OpenService FAILED 1060:
The specified service does not exist as an installed service.

Alternatively, if you see a message like the below, then the Agent is running and working properly:

SERVICE_NAME: tsvchst
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Mac Agent 0.1.226 and Later

The expected results of running ps aux | grep -i teramind on a Mac with a Hidden Agent are:

image (7).png

The expected results of running ps aux | grep -i teramind on a Mac with a Revealed Agent are:

image (8).png

Mac Agent 0.1.204 and Earlier

Please open the Terminal and run this command to check the Agent's status:

ps aux | grep -i teramind

The command will return a result similar to the one below:

photo_2020-08-14_11-45-06.jpg

If you see tmagent and tmsysd on the list, then the Agent is installed and running properly.

The expected results of running ps aux | grep -i teramind on a Mac with a Hidden Agent are:

/usr/local/teramind/agent/bin/tmsysd
/usr/local/teramind/agent/bin/tmagent.app/Contents/MacOS/tmagent

The expected results of running ps aux | grep -i teramind on a Mac with a Revealed Agent are:

/usr/local/teramind/agent/bin/tmsysd
/usr/local/teramind/agent/bin/Teramind Agent.app/Contents/MacOS/tmui

Did this answer your question?