Windows
Stealth Agent
To edit the server IP or Hostname for Windows Stealth Agents, you will need to open the Agent config file.
1. Stop the Agent service on the target computer by opening a Command Prompt window as Administrator and then running the following command:
sc stop tsvchst
2. After a few seconds, check if the service is stopped with the following command:
sc query tsvchst
Repeat every few seconds until you can see the service is stopped.
3. Type Notepad into Start menu the search bar.
4. Right-click on the Notepad app and select Run as administrator.
5. Click Yes when the User Account Control (UAC) prompt appears.
4. In Notepad, go to File > Open. Ensure the dropdown in the bottom-right of the Open window is set to All Files (.) so you can see the .cfg files.
6. Select C:\ProgramData\{4CEC2908-5CE4-48F0-A717-8FC833D8017A}\config.cfg.
7. The config file will look like the example below:
stealth = 1
instance = onsite
router = onsite.teramind.io
8. Change the router path to the Teramind server's new public IP or hostname and then save the file.
9. Restart the Agent service using the following command:
sc start tsvchst
Revealed Agent
1. Open Teramind Agent from the Windows Start Menu.
2. Click the Advanced link on the agent login screen.
3. Type the new public IP or Hostname of the Teramind Server into the Server field and then click the Sign In button to log into the agent.
macOS
1. To edit the server IP or Hostname on a Mac, click the Spolight icon (magnifying glass) on the menu bar and type Terminal. Press Enter/Return to open a Terminal command window.
2. Enter the following command in the Terminal window and enter your administrator password when prompted:
sudo nano /usr/local/teramind/agent/etc/agent.conf
3. The configuration file will look like the example below:
instance=onsite
router=onsite.teramind.io
4. Change the router path to the Teramind server's new public IP or hostname.
β
5. Press Ctrl + X to exit out of Nano.
β
6. Type Y to save the changes and then press Enter/Return to save the file.
7. To restart the Agent:
Stealth Agent:
killall "System Monitoring"; open "/usr/local/teramind/agent/bin/System Monitoring.app"
Revealed Agent:
To restart the Revealed Agent, close the Teramind Agent application and then re-open it from your Applications list or run the following command in the Terminal:
killall tmui; open '/usr/local/teramind/agent/bin/Teramind Agent.app'

