Agent Logon Script
The TinCanIfy Agent must be launched whenever a user signs in to Windows. To prevent message tampering and unauthorised communication, all messages are authenticated 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 via Group Policy rather than relying on Startup folders, shortcuts, scheduled tasks, or manual execution. This ensures the Shared Secret is supplied consistently at each sign-in and allows the agent to securely process messages for the logged-on user.
Recommended Configuration
Create a dedicated Group Policy Object (GPO) within Group Policy Management (gpmc.msc) and configure a user logon script as follows:
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.
