Skip to main content
Version: 4.42

Windows agent installation and deployment

Overview

This guide provides comprehensive instructions for installing and uninstalling the Redtrust agent in Windows environments. It includes steps for standard installations, silent installations (automated setups with no user interaction), and server mode installations (for unattended environments). This guide is intended for system administrators or anyone responsible for deploying and configuring Redtrust.

By the end of this guide, you will have installed the Redtrust agent and be able to set up the platform.

Background

These are the details of the three types of installation:

  • Standard installation: Installs the agent with a guided setup wizard.
  • Server mode installation: Designed for unattended environments where Windows server-based applications need centralized certificates without user interaction. Certificates are loaded into the machine certificate store, not the user store.
  • Silent installation: Runs the installation in the background without showing the wizard or requiring user input.

Before you start

If you install Redtrust on Windows, ensure you have the installation package, including an installer (MSI) file and a batch file (bat).

info

Redtrust is only compatible with AutoFirma 1.8.4 or higher.

The right installation type depends on your environment. Use standard installation if the agent is being installed on an end-user machine with an active user session, or silent installation for mass deployment via GPO, SCCM, or similar systems. If Windows server applications need to access certificates without a logged-in user, use server mode installation: the agent runs no processes in user space and certificates are loaded into the machine certificate store, not the user store.

System requirements

  • Microsoft Windows 10 or 11 (64-bit or ARM64), or Windows Server 2022, 2019, or 2016.
  • .NET Framework 4.8.
  • Microsoft .NET Runtime 8.0.0 (x64). From Redtrust 4.42.2, the agent requires .NET Runtime 10.
  • Visual C++ Redistributable for Visual Studio 2015-2022 x64 (or ARM64 on ARM64 platforms).
  • Visual C++ Redistributable for Visual Studio 2015-2022 x86.
  • Administrator privileges (required only during installation).

Step 1: Install the agent

The Redtrust agent is provided as an MSI package, accepting multiple parameters listed in the parameters page. Two versions are available: one for 64-bit systems and a native ARM64 build.

The MSI filename includes the architecture: rt-agent-x64-VERSION-SUFFIX.msi for 64-bit and rt-agent-ARM64-VERSION-SUFFIX.msi for ARM64.

An example of agent installation can be the following:

msiexec /i rt-agent-x64-VERSION-SUFFIX.msi RTPRIMARY="PRIMARY_SERVER" RTSECONDARY="SECONDARY_SERVER" CLIENTID="YOUR_CLIENT_ID" LANGUAGE="en-US" AuthMode=ActiveDirectory

Where:

  • PRIMARY_SERVER and SECONDARY_SERVER are the addresses of the primary and secondary Redtrust servers.
  • YOUR_CLIENT_ID is the client identifier for your Redtrust installation.

The installation process is guided through a wizard where you can specify the directory where the product will be stored. The process will take only a few seconds.

info

The LANGUAGE and AuthMode values shown in the commands are examples; see the installation parameters page for valid values and other supported parameters. Running the installer without parameters installs the agent with default configurations.

Step 2: Configure the browser

After installing the agent, configure browsers to enable Redtrust certificate management. Follow the steps defined in How to configure your browser.

Step 3: Verify the installation

Test the installation by uploading and using a certificate, as explained in the initial configuration tutorial.

Uninstallation

You can unistall Redtrust in two ways:

Interactive uninstallation

Use the standard Windows Programs and Features interface to remove Redtrust.

Unattended uninstallation

For unassisted uninstallation, use the msiexec command:

msiexec /x {5F567E45-9801-4122-9213-1731DBC44E11} /q

To retrieve the installed agent's Globally Unique Identifier (GUID), query the Windows registry with the following PowerShell command:

Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object { $_.DisplayName -like "*Redtrust*" } |
Select-Object DisplayName, DisplayVersion, PSChildName

This command outputs details such as:

DisplayName    : RedTrust
DisplayVersion : 4.10.5
PSChildName : {5F567E45-9801-4122-9213-1731DBC44E11}

The PSChildName value is the GUID that you pass to msiexec.

Next steps

Now that you've verified the installation, you can:

Was this page helpful?