How can I verify if the Agent is installed / uninstalled / running?

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.

i
*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 204 and Earlier

Please open the Terminal and run this command to check the agent 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(click to enlarge)

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

Mac Agent 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

Was this article helpful?
19 out of 29 found this helpful