Agents on Windows Systems
This section of the Privilege Manager documentation covers information and step procedures pertaining to Privilege Manager agents installed on Windows systems.
The following topics are available:
- Agent Configuration
- Windows Agent Utility
- Agent Hardening 10.7.1 and up
- Pre-10.7.1 Agent Hardening
- Setting the Server Address
- Elevating Fully Trusted Universal Windows Platform (UWP) Applications
- Troubleshooting
- Memory Protection
Processes Run by Agents
C:\Program Files\Delinea\Privilege Manager\Agents\Agent
-
Arellia.Agent.Service.exeruns automatically as a native NT service at system start time.-
This is commonly known as the agent's "Core" service, with a service name of ArelliaAgent and a service display name of Delinea Agent.
-
-
Agent Utility.exeruns on-demand on the user's desktop whenever the user launches it. -
Thycotic.Agent.User.exeruns on-demand on the user's desktop. for a brief period of time, whenever the ACS (Application Control Service) executes a Display User message (Application action). -
Remove Programs Utility.exeruns on-demand on the user's desktop whenever the user launches it. -
TaskExecutor.exeruns as a native NT service to execute scheduled tasks based on the tasks defined by policies under the Windows Task Scheduler.
C:\Program Files\Delinea\Privilege Manager\Agents\ApplicationControl
-
ArelliaACSvc.exeruns automatically as a native NT service at system start time.-
This is commonly known as the ACS (Application Control Service), with a service name of
ArelliaACSvcand a service display name of Delinea Application Control.
-
-
MSIElevateHost.exeis launched invisibly within the user's desktop session by the AppInfo (Application Information) service to facilitate policy-based elevation operations for MSI installers. -
COMElevateHost.exeis launched invisibly within the user's desktop session by the AppInfo (Application Information) service to facilitate policy-based elevation operations for COM operations. -
JITModeManager.exeruns on-demand on the user's desktop whenever the user launches it. This program is used to make requests to have JIT mode approved. -
ArelliaDisplayXamlAction.exeruns on-demand on the user's desktop. for a brief period of time, whenever the ACS (Application Control Service) executes a Custom Xaml Execution action (Application action). -
AdvMessageAction.exeruns on-demand on the user's desktop for a brief period of time, whenever the ACS (Application Control Service) executes a Display Advanced message (Application action)". -
Delinea.Agent.TrayIcon.exeruns on the user's desktop and displays status information via tray icon present in the "SysTray" area on the task bar. -
Arellia.Agent.InventoryHelper.exeis launched invisibly within the user's desktop session when the ACS (Application Control Service) executes an Immediate File Inventory action.
Enabling Verbose Agent Logging on Windows
The Privilege Manager Windows agent logs to the PMAgent/Operational Windows event channel. The Application Control components record error, warning, and information events by default. Trace detail is suppressed. When Delinea Support is diagnosing a policy or elevation issue, they may ask you to raise the level, so trace detail is captured while you reproduce the problem.
Enabling Verbose Logging
Set the following registry value on the endpoint, then restart the Application Control service or wait for the agent to pick up the change (see below).
| Key | HKEY_LOCAL_MACHINE\SOFTWARE\Arellia\Agent |
|---|---|
| Value | LoggingSeverity (REG_DWORD) |
| Data | 0x000000FF verbose — 0x00000007 default |
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Arellia\Agent' -Name LoggingSeverity -Value 0x000000FF -Type DWord
LoggingSeverity is a bit mask: 0x00000007 records error, warning, and information—the default, and also the behavior when the value is absent. 0x000000FF records all levels, including trace.
When Changes Takes Effect
The Application Control components ArelliaACSvc.exe, ArelliaAppInfo64.dll, and the code loaded into running applications. They re-read the value on their own, roughly once per minute. Wait a full 3 minutes before reproducing the problem.
Viewing the Details
Trace records are filtered out of the log viewer by default.
To view them:
-
In the Agent Utility, click View Logs.
-
In the filter row at the top right of the window, select the Trace check box. Note that Error, Warning, and Information are selected by default, but Trace is not.
The records are also visible in Event Viewer under Applications and Services Logs > PMAgent > Operational.
Capturing a Diagnostic Set
- Set LoggingSeverity to 0x000000FF and wait 3 minutes.
- Clear the channel. Event Viewer > Applications and Services Logs > PMAgent > Operational > Clear Log, or
wevtutil cl "PMAgent/Operational"from an elevated prompt. - Start a Process Monitor (Procmon) capture.
- Reproduce the problem, then stop the capture and save it as a .pml file.
- Run Agent Utility.exe as administrator from C:\Program Files\Thycotic\Agents\Agent\ and click Support File. It writes a zip archive to your desktop containing the information.
- Upload the .zip and the .pml file to your Delinea Support case.
- Turn verbose logging back off.
Disabling Verbose Logging
Set LoggingSeverity back to 0x00000007, or delete the value entirely, then allow a few minutes for the change to be picked up.
The channel is a 20 MB ring buffer and wraps quickly with Trace enabled—collect your diagnostics promptly and revert when finished—verbose logging does not turn itself off. The size can be adjusted with the Set Agent Log Size (Windows) client policy.
section article applies to Privilege Manager 13.0 and later, which logs to the PMAgent/Operational channel. On 12.x agents the same LoggingSeverity value applies, but the log is named Arellia. Substitute it wherever PMAgent/Operational appears.