Silent installation (no interface)

Silent installation (no user interface) is performed using the SysInternals Suite utilities.

Download SysInternals Suite utilities.

To start installation you will need:

  • a user with local administrator rights or rights to install software;

  • IPv4 address of the computer or its name on which you want to install the agent;

  • iBatyr Monitor server address and port;

  • enabled “admin’s sphere”;

  • configured antivirus exclusions.

The following values will be used in this article:

Parameter

Meaning

Computer name

osnovski-travel

User

osnovski-travel\osnovski (password is known, has administrator rights)

iBatyr Monitor server address

192.168.124.200 (port 443 - standard)

To install the agent on the target machine:

  1. In the iBatyr Monitor web interface, in the Control Panel section → Computers → Download agent → Windows version download the agent.

  2. Rename the agent file to agent.msi - this is the name that is added to antivirus exceptions.

  3. Copy the agent file to the C:\Windows folder via the “admin share”.

  4. Launch a command prompt and go to the folder where the SysInternals Suite utilities were downloaded:

cd \Portable\PSTools
  1. Start the command processor on the computer osnovski-travel:

psexec -i \\osnovski-travel -u osnovski-travel\osnovski -h cmd.exe
  1. Enter the user password.

  2. Using the hosthame and whoami commands, verify that you are on the target machine and logged in as the target user

Illustration 1 — Silent installation (no interface)
  1. Start the agent installation.

Note

If you want to change the agent HWID, please refer to the article Setting up HWID. By default, the HWID will be set based on the computer’s unique hardware data.

msiexec.exe /norestart /l*vx install.log /qn /i "C:\Windows\agent.msi" GATE_URL="ibatyr_server" GATE_URL2="ibatyr_server_reserve" GATE_PORT=port GATE_PORT2=port2 ALLUSERS=1 REBOOT=ReallySuppress

In this case:

  • C:Windowsagent.msi — path to the agent installer; you can specify any path, including a network path, but you will need to add it to the antivirus exceptions;

  • GATE_URL=”ibatyr_server” — IP address of the iBatyr Monitor server; Instead of an IP address, you can specify the computer name;

  • GATE_URL2=”ibatyr_server_reserve” — backup IP address of the iBatyr Monitor server; Instead of an IP address, you can specify the computer name;

  • GATE_PORT=port — iBatyr Monitor server port number; 443 by default.

  • GATE_PORT2=port2 — port number of the backup iBatyr Monitor server.

Note

If the agent installer name is changed to agent[ip_address#port].msi, where instead of ip_address#port you specify the IP addresses and port of the iBatyr Monitor server, then you can omit the “GATE_URL”, “GATE_PORT”, “GATE_URL2”, “GATE_PORT2” parameters in the installation command.

If no error messages are displayed after pressing Enter, the agent installation was successful.

Done! The iBatyr Monitor agent is installed on your computer and is ready to use. Wait until it appears in the server web interface.

The installation log install.log is located in the directory from which the installation command was launched. For example, if the current path is C:\Users\ibatyr, the log is available at the path C:\Users\ibatyr\install.log.

When reinstalling the agent, you may need to additionally specify the REINSTALL=ALL option.

Silent removal of an agent is described in section Removing an agent.

Auto-installation from an executable archive

If you need to create an executable file to automatically install the agent on a workstation, contact technical support: support@ibatyr.kz.

Example script for WinRar:

;Расположенный ниже комментарий содержит команды SFX-сценария

Setup=msiexec.exe /norestart /qn /i "agent_ru.msi" GATE_URL="2.2.2.2" GATE_PORT=443 ALLUSERS=1 REBOOT=ReallySuppress
TempMode
Silent=1
Overwrite=1
Delete=agent_ru.msi