Reset Automox agent tray titlebar text to default on Windows endpoints
This Automox Worklet™ resets the Automox agent tray window titlebar text back to the default 'Automox' label. The Worklet uses the amagent CLI command 'notifications set_titlebar_title' with the default text parameter to restore the titlebar to its original state.
The Worklet first validates that the Automox Tray is installed on the endpoint by checking for the amagent-ui.exe executable in the standard Program Files or Program Files (x86) directories. It then verifies the Automox Agent version meets the minimum requirement (2.5 or higher) by querying the Windows registry for the installed agent version.
Once validation passes, the Worklet executes the amagent notifications command with the set_titlebar_title option and the default 'Automox' text. This command communicates directly with the tray UI component and updates the titlebar text immediately, without requiring endpoint reboot or tray restart.
Inconsistent branding across endpoints creates user confusion and complicates help desk support. When some endpoints display custom tray titlebar text while others show different labels, users cannot reliably identify the Automox agent. Help desk teams struggle to provide consistent guidance when users report different window titles across the organization.
Restoring standardized branding streamlines help desk support by presenting consistent UI labels across all endpoints. Help desk teams can reference the standard 'Automox' titlebar text when providing remote guidance, reducing confusion and support resolution time.
The Worklet automates titlebar reset across your entire Windows infrastructure, eliminating manual intervention on individual endpoints. This is particularly useful after testing custom branding configurations or when reverting endpoints to standard fleet settings.
Evaluation phase: The Worklet checks for the presence of the Automox Tray executable (amagent-ui.exe) in either the Program Files (x86)\Automox\ or Program Files\Automox\ directory. If the tray is not found, the Worklet exits with status 0 (compliant) and skips remediation. If the tray executable is found, the Worklet queries the Windows registry at HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* to retrieve the installed Automox Agent version from the DisplayVersion field. It verifies the version is at least 2.5.0. If the version is below 2.5.0, the Worklet exits with status 0 (skipping remediation). If version validation succeeds, the Worklet exits with status 2 (remediation required).
Remediation phase: The Worklet re-executes the version check to confirm the agent still meets the minimum version requirement. Once confirmed, it locates the amagent.exe executable in either Program Files (x86)\Automox\ or Program Files\Automox\. It executes the command 'amagent.exe notifications set_titlebar_title --text "Automox"' to send the reset command to the tray UI component. The tray immediately updates its titlebar text to display 'Automox' without requiring a tray restart or endpoint reboot. If the command executes with exit code 0, the Worklet reports success. If the command fails, the Worklet captures and logs the error output for troubleshooting.
Automox Agent version 2.5.0 or higher
Automox Tray installed and executable in the standard installation directory
Windows 10, Windows 11, Windows Server 2016, or Windows Server 2019 or later
PowerShell 5.1 or higher for script execution
User running the Worklet must have sufficient permissions to execute amagent commands (typically system or local administrator)
Registry read access to HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ for version verification
Upon successful execution, the Automox agent tray window titlebar immediately displays 'Automox' as the window title. Users will see the standard branding reflected in the tray icon window, matching the default installation state. The change takes effect instantly without requiring tray restart or endpoint reboot. You can verify the change by checking the tray window title in the system tray area or by having users confirm the titlebar text matches the standard 'Automox' label.
If your endpoint previously displayed a custom titlebar text (from a branding configuration Worklet), that custom text is now replaced with the default 'Automox' label. Help desk staff and IT operations teams can verify success by viewing the Automox tray window title in the taskbar or system tray area. The Worklet exit code 0 indicates successful execution, while any non-zero exit code indicates the reset operation did not complete and may require troubleshooting on the endpoint.
Run this Worklet on a pilot Windows endpoint and review evaluation output for reset titlebar title.
Confirm Automox activity logs show successful completion and exit code 0.
Verify endpoint state using checks aligned to evaluation script logic, such as Test-Path, Get-ItemProperty, Where-Object.
Validate remediation effects from script operations such as Get-ItemProperty, Where-Object, Reset-AmagentTitlebarTitle, then rerun evaluation for compliance.


By submitting this form you agree to our Master Services Agreement and Privacy Policy.
Already have an account? Log in
Consider Worklets your easy button
A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

AUTOMOX + WORKLETS™
Uncover new possibilities with simple, powerful automation.
By submitting this form you agree to our Master Services Agreement and Privacy Policy