Skip to main content

Install Evo Agent

Summary

This script is a CW Automate adaptation of the PowerShell script InstallEvoAgent. It installs the Evo Credential Provider on a Windows machine using parameters configured in the client-level EDFs. Details about these EDFs are provided later in this document.

Sample Run

First Run:
Run or debug the script on any online Windows machine with the Set_Environment parameter set to 1 to generate the necessary EDFs.
Image1

Regular Run:
Image2

Dependencies

Variables

NameValue
ProjectNameInstallEvoAgent
WorkingDirectoryC:\ProgramData\_automation\script\InstallEvoAgent
ScriptUrlhttps://raw.githubusercontent.com/evosecurity/EvoWindowsAgentDeploymentScripts/refs/heads/master/InstallEvoAgent.ps1
PS1PathC:\ProgramData\_automation\script\InstallEvoAgent\InstallEvoAgent.ps1
SoftwareNameEvo Agent

EDFs

NameExampleLevelSectionTypeAccepted ValuesRequiredDescription
Install Evo AgentWindows Servers and WorkstationsClientEvo AgentDropDownWindows Servers and Workstations, Windows Workstations, Windows Servers, DisabledfalseSelect OS to enable Evo Agent auto installation.
Evo -EnvironmentUrlhttps://yourorg.evosecurity.comClientEvo AgentTexttrueEvo portal base URL (e.g., https://yourorg.evosecurity.com).
Evo -EvoDirectoryYourEvoDirectoryClientEvo AgentTexttrueYour Evo organization/directory name.
Evo -AccessToken[your token]ClientEvo AgentTexttrueEvo API access token.
Evo -Secret[your secret]ClientEvo AgentTexttrueEvo API secret.
Evo -FailSafeUserbackupUserClientEvo AgentTextfalseOptional username to use as a fallback if Evo login fails.
Evo -MFATimeOut0ClientEvo AgentTextfalseOptional grace period to not require MFA for an unlock (minutes from last MFA prompt). Default: 0.
Evo -CredentialModeSecureAndElevatedLoginClientEvo AgentDropDownSecureLogin, ElevatedLogin, SecureAndElevatedLoginfalseInstaller defaults to SecureAndElevatedLogin on a new installation or uses previous value on upgrade.
Evo -OnlyEvoLoginCredential0ClientEvo AgentDropDown0, 1falseIf set, Evo becomes the only credential provider. Default: 0.
Evo -RememberLastUserName1ClientEvo AgentDropDown0, 1falseOptional flag to remember the last username used. Default: 1.
Evo -DisableUpdate0ClientEvo AgentDropDown0, 1falseOptional flag to disable auto updates. Default: 0.
Evo -JitMode0ClientEvo AgentDropDown0, 1falseOptional flag to enable Just-In-Time admin accounts. Default: 0.
Evo -EndUserElevation0ClientEvo AgentDropDown0, 1falseOptional flag to enable end-user elevation. Default: 0.
Evo -UserAdminEscalation0ClientEvo AgentDropDown0, 1falsePrompt admins with end-user elevation prompt instead of UAC. Default: 0.
Evo -CustomPromptCustom Login TextClientEvo AgentTextfalseOptional string to customize the login prompt.
Evo -CustomImageC:\images\login.pngClientEvo AgentTextfalseOptional path to custom login image (URL or local file path).
Evo -NoElevatedRDPClientEvo AgentCheckboxfalseOptional flag to disable elevation for RDP sessions when Evo is the sole login agent.
Exclude - Install Evo AgentLocationExclusionsCheckboxfalseFlag to exclude the location from auto-deployment.
Exclude - Install Evo AgentComputerExclusionsCheckboxfalseFlag to exclude the endpoint from auto-deployment.

Image3

Output

  • Script Logs