Skip to main content

Deploy Todyl SGN Connect

Purpose

This solution outlines the full process for automatically deploying the Todyl SGN Connect agent using ConnectWise RMM, utilizing custom fields, a dynamic device group, a scheduled monitor, and an automated installation script with device-specific deployment keys.

Associated Content

Custom Fields

NameExampleTypeLevelRequiredPurpose
Deploy Todyl SGN ConnectWindows Workstation and ServerDropdownCOMPANYYesSelect OS to enable auto-deployment of Todyl SGN Connect agent.
Exclude Todyl Deployment SiteFlagSITENoPrevents agent deployment at specific sites.
Exclude Todyl Deployment DeviceFlagENDPOINTNoPrevents agent deployment to specific endpoints or devices.
Todyl Desktop Policy KeyText BoxCOMPANYYesTodyl Deployment Key for Desktop Agents.
Todyl Laptop Policy KeyText BoxCOMPANYYesTodyl Deployment Key for Laptop Agents.
Todyl Servers Policy KeyText BoxCOMPANYYesTodyl Deployment Key for Server Agents.

Group

NamePurpose
Todyl SGN Connect DeploymentDynamic group targeting Windows devices that are eligible for auto deployment (based on OS selection and not excluded).

Monitor

NameTypeSchedulePurpose
Todyl SGN Connect DeploymentApplicationContinuousMonitors and runs the agent installation script on devices missing Todyl SGN Connect.

Task

NamePurpose
Install Todyl SGN ConnectPowerShell script that installs or reinstalls Todyl SGN Connect with device-specific deployment keys.

Implementation

Step 1: Create the Required Custom Fields

Create all the custom fields listed above under SETTINGS → Custom Fields in CW RMM. See individual documentation pages for configuration details.

Step 2: Create the Dynamic Group

Create the group Todyl SGN Connect Deployment under ENDPOINTS → Groups as a dynamic group. This group targets Windows workstations or servers with deployment enabled and not excluded.

Step 3: Create the Installation Task

Create the install script task Install Todyl SGN Connect under AUTOMATION → Tasks. Set up all required variables and use the detailed script from the referenced documentation.

Step 4: Set up the Deployment Monitor

Configure the monitor Todyl SGN Connect Deployment under ENDPOINTS → Alerts → Monitors to target the deployment enabled group, running continuously and triggering the installation task on devices missing Todyl SGN Connect.

Step 5: Configure Deployment Parameters

Obtain the Desktop, Laptop, and Server deployment keys from your Todyl portal and set these values in the appropriate company-level custom fields for each client.

FAQ

Q: What happens if a device is excluded at the site or device level?
A: Devices or sites flagged for exclusion will not receive the agent through automatic deployment. However, the Install Todyl SGN Connect task can be executed manually.

Q: How does the solution check devices for agent installation?
A: The monitor runs continuously and checks for devices in the target group that don't have Todyl SGN Connect installed.

Q: Can I trigger the agent install manually?
A: Yes, the Install Todyl SGN Connect task can be run on demand independent of monitor or group status.

Q: Where do I find the deployment keys for different device types?
A: These values are available in your Todyl portal under the agent deployment section, with separate keys for desktops, laptops, and servers.

Q: What OSes are supported for automated deployment?
A: Supported OS selection is controlled by the Deploy Todyl SGN Connect custom field (Windows Workstation, Windows Server, Both, or Disabled).

Q: Does the installer support forced reinstallation?
A: Yes, enable the "Force" runtime parameter when running the install task/script to force a reinstall even if the agent is present.

Q: How does the script determine device type?
A: The script automatically detects whether a device is a server, laptop, or desktop and uses the appropriate deployment key for installation.