Skip to main content
You are viewing release 2026.1.0. The latest release is 2026.2.0. View this page in the latest release →

3 Deployment

3.1 Installing the MyID Windows Desktop Agent

The MyID Windows Desktop Agent enables a Windows PC or server to use MyID Authenticate services.

You can install the MyID Windows Desktop Agent using the installation wizard or a PowerShell script.

3.1.1 Installing the MyID Windows Desktop Agent using the installation wizard

  1. To start the MyID Windows Desktop Agent installation, run the MyID Windows Desktop Agent xxxx.msi installer with elevated privileges.

    The installation wizard welcome page.

    Note: To run an .msi installation with elevated permissions:

    1. Open a Windows command prompt, selecting Run as administrator.

    2. Navigate to the folder containing the installer.

    3. On the command line, type:

      msiexec /i "MyID Windows Desktop Agent xxxx.x.x.msi"

      Where xxxx.x.x is the version you want to install.

  2. Click Next.

    The Authenticate Server Address page of the installation wizard.

  3. Type the Authenticate Server Address.

    You must provide the MyID Authenticate server name or IP address and port in the following format:

    <server>:<port>

    For example:

    myserver.company.com:14443

    Note: Do not include the protocol (https) in the address.

  4. Click Next.

    The installation runs.

    The Installing MyID Windows Desktop Agent page of the installation wizard.

  5. Click Finish.

    All necessary MyID Windows Desktop Agent files have been installed.

3.1.2 Installing the MyID Windows Desktop Agent using PowerShell

You can use a PowerShell script to download and install the MyID Windows Desktop Agent silently without user interaction.

Copy and edit the following script:

# The URL where the installer is located
$exeUrl = "https://download.company.com/downloads/MyID%20Windows%20Desktop%20Agent%20xxxx.x.x.exe"
 
# The address of the MyID Authenticate Server
$serverName = "myserver.company.com:14443"
 
# Standard argument list including installing the Health Service
$argumentList = "HEALTHSERVICE EXTERNAL_ACCESS_SERVER=" + $serverName + " /s"
 
#Alternative argument list without the MyID Desktop Agent Health Service
#$argumentList = "EXTERNAL_ACCESS_SERVER=" + $serverName + " /s"
 
# Temporary location for the installer
$exePath = "$env:TEMP\MyID_Windows_Desktop_Agent.exe"
 
# Download the installer
Write-Host "Downloading the installer..."
Invoke-WebRequest -Uri $exeUrl -OutFile $exePath
 
# Run the installer with the /s argument for a silent install
Write-Host "Running the executable..."
$proc = Start-Process -FilePath $exePath -ArgumentList $argumentList -Wait -PassThru -NoNewWindow
 
# Wait & check the exit code of the process
$proc.WaitForExit()
if ($proc.exitCode -ne 0) { 
  Write-Host "Installation failed with exit code: ", $proc.exitCode
} else {
  Write-Host "Installation successful."
}

You must provide values for the following variables:

  • $exeUrl – the URL from which to download the .exe version of the MyID Windows Desktop Agent installation program.

    For example:

    $exeUrl = "https://download.company.com/downloads/MyID%20Windows%20Desktop%20Agent%202026.1.0.exe"

  • $serverName – the MyID Authenticate server name or IP address and port in the following format:

    <server>:<port>

    For example:

    $serverName="myserver.company.com:14443"

    Note: Do not include the protocol (https) in the address.

Note: By default, the MyID Windows Desktop Agent PowerShell script also installs the Health Service; see section 3.4, The MyID Desktop Health Service. If you do not want to install the Health Service, you must edit the PowerShell script before you run it; see section 3.1.3, Installing the MyID Windows Desktop Agent without the Health Service using PowerShell.

Once you have edited the script, open a Windows PowerShell command prompt with administrative permissions and run the script.

3.1.3 Installing the MyID Windows Desktop Agent without the Health Service using PowerShell

To install the MyID Windows Desktop Agent without the Health Service using the PowerShell headless installation script, before you run the PowerShell script, edit the script to comment out the silent install including the Windows Desktop Health Service, and uncomment the standard silent install as follows:

# Standard argument list including installing the Health Service
#$argumentList = "HEALTHSERVICE EXTERNAL_ACCESS_SERVER=" + $serverName + " /s"
 
#Alternative argument list without the MyID Desktop Agent Health Service
$argumentList = "EXTERNAL_ACCESS_SERVER=" + $serverName + " /s"

Once you have saved the file with these changes, you can install the MyID Windows Desktop Agent without the Health Service following the instructions in section 3.1.2, Installing the MyID Windows Desktop Agent using PowerShell.

Was this page helpful?

MyID Authenticate 2026.1.0 documentation. Published 9 November, 26.