Skip to main content

New Page

Agent Installation

The TinCanIfy Agent can be deployed either manually on individual workstations or centrally using Group Policy (GPO). This provides flexibility for both small and large-scale deployments.

Manual Installation
  • Download the Agent Installer from https://tincanify.com/downloads. Move it to the Agents folder of your TinCanIfy database path set during the service setup. There should already be an accompanying agent.xml file there.
  • Run the TinCanIfy Agent Setup.exe (1).
  • Ensure the installation path is correct (2). Press the Browse (3) button to select an alternative path.
  • Press Next (4).

image.png

  • At the Ready to Install dialog (5), press Install (6) to start the installation.

image.png

  • After the installation, the completion page (7) is displayed.
  • Press Finish (8) to exit the installation wizard.

image.png

During installation, the TinCanIfy update service will be set to launch at startup.

Important! When the agent installer runs, it looks for the agent.xml file in the same folder as the installer is ran - this file contains settings essential for TinCanIfy to operate. If this file is not found during the setup, the following message (16) will be displayed. The installation can continue but the agent.xml MUST be available in order to process messages and perform updates.

image.png


Testing

On completion of the installation of the TinCanIfy service, console and agent on your server, launch the admin console.

You can test connectivity by launching the agent with your shared secret as an additional argument.

For example..

"C:\Program Files (x86)\TinCanIfy Agent\TinCanIfy Agent.exe" /SharedSecret="HmkBCAhUwx2TRCikDKKjcE8n1EVugjt4lkkYAMgZdyiUX5X4ED6ONW030wu3sE"

If the installation is successful, your netbios user name should appear in the list of recipients. You can then deploy the agent to your stations manually or via Group Policy (see below).

If the server does not appear in the admin console:

  • Ensure that the service is running via services.msc.
  • Ensure the agent is running (via Task Manager).
  • check that the shared secret in the server.xml is identical to the one passed as the argument above.


Group Policy Deployment

For larger environments, the Agent can be deployed centrally using Microsoft Group Policy,  SCCM or other 3rd-party deployment solutions. This allows administrators to install and update the software across multiple devices without requiring local user intervention. 

Tip: For silent deployment, ensure you pass /VERYSILENT as the TinCanIfy Agent Setup.exe command line. Remember to remove the Mark of the Web before deployment!


Agent Updates

Your agents will auto-update. Simply download the latest TinCanIfy Agent Setup.exe from the TinCanIfy website and move it into the Agents folder of your TinCanIfy database path set during the service setup.

When your endpoints start up, the TinCanIfy Updater Service will start and check the path above for newer versions and will apply them, including a custom logo (logo.png) and any audio (*.wav) files. It will synchronise these so all endpoints will have an identical TinCanIfy file system.


Logging On Users

The agent should run when a user logs on. To prevent message tampering, messages are signed by a shared secret known by the server service, console and agent. This shared secret is passed to the agent in the form of a command line argument. 

For best results, it is recommended to create a custom policy in Group Policy Management (gpo.msc).

Our recommendation:

  • Create a TinCanIfy Policy in User Configuration .. Policies .. Windows Settings .. Scripts (Logon\LogOff). 
  • Script Name: C:\Program Files (x86)\TinCanIfy Agent\TinCanIfy Agent.exe.
  • Script Parameters: /SharedSecret="HmkBCAhUwx2TRCikDKKjcE8n1EVugjt4lkkYAMgZdyiUX5X4ED6ONW030wu3sE"
  • Replace with your SharedSecret set in the TinCanIfy Service install.
  • Link the policy with your staff users.

image.png

This should ensure that the SharedSecret is passed to your agents at each login and allow that user to receive messages.


User Logon Configuration

The TinCanIfy Agent must be launched whenever a user signs in to Windows. To prevent message tampering and unauthorised communication, all messages are validated using a Shared Secret known only to the TinCanIfy Service, TinCanIfy Console, and TinCanIfy Agent.

The agent receives this Shared Secret as a command-line parameter when it starts. For this reason, we recommend launching the agent through Group Policy rather than relying on Startup folders or manual execution.

Create a dedicated Group Policy Object (GPO) within Group Policy Management (gpmc.msc) and configure a user logon script as follows:

  1. Navigate to: User Configuration > Policies > Windows Settings > Scripts (Logon/Logoff)

  2. Add a new Logon Script with the following settings:

    Script Name

    C:\Program Files (x86)\TinCanIfy Agent\TinCanIfy Agent.exe
    

    Script Parameters

    /SharedSecret="HmkBCAhUwx2TRCikDKKjcE8n1EVugjt4lkkYAMgZdyiUX5X4ED6ONW030wu3sE"
    
  3. Replace the example Shared Secret above with the value configured during the TinCanIfy Service installation.

  4. Link the policy to the appropriate staff user accounts or organisational units (OUs).

Result

When users sign in, the TinCanIfy Agent will automatically start with the correct Shared Secret. This allows the agent to authenticate with the TinCanIfy Service, register the user and device, and receive messages and notifications securely.

Important: If the agent is started without the correct Shared Secret, it will be unable to authenticate with the service and the user will not receive messages.

Important: Only download TinCanIfy software, updates and installation packages from the official TinCanIfy website: https://tincanify.com/downloads. Software obtained from other sources may be outdated, modified or unsafe to use.