Installation via .bat file with preset parameters

Installation via .bat file with preset parameters.Preparing for installation

In order to install the Agent with the required parameters, you need to open and edit the cmdline_install.bat file located in the installation folder.

 

 
Parameter values
  • /uploadurl=https://192.168.1.50/upload-v2
    Local StaffCounter server address. If not specified, by default connects to https://data.staffcounter.net/upload-v2
  • /devid=111-11-11
    Device ID to connect to the server. It is only needed if it is necessary to reconnect the PC to this ID on the server.
  • /autoregister=1
    Monitoring of all accounts on a PC with auto-connection to the server (in this case, be sure to specify // adminmail)
  • /adminemail=admin@mail.com
    account email for auto-connection and auto-substitution in the connection dialog.
    If not specified, you will need to enter it manually.
  • /VERYSILENT
    does not show interface during installation
  • /ignoreapp=mstsc – do not track time for MSTSC process (MS Remote Desktop app)
  • /noidleapp=skype,ApplicationFrameHost – do not track downtime for skype, ApplicationFrameHost process (Skype)
  • /startmenu=1 – create a shortcut in the Start menu and a shortcut to Uninstall under Add or Remove Programs (default 0)
  • /lang=russian – define an alternative language
Example of a line with parameters:

staffcounter_install.exe /autoregister=1 /adminemail=admin@mail.com