Skip to content

About

Optional Windows notification-area interface for xucRun status, diagnostics, and frequently used management functions.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xucRun Tray

Language: Deutsch | English

Documentation: Installation | Build instructions | Changelog | Manual removal | xucRun

Project status: xucRun Tray is actively maintained.
License: Apache License 2.0
Download: Current installer package and checksums

Motivation and purpose

xucRun Tray is an optional status and control interface for xucRun. Its icon appears in the notification area of the Windows taskbar next to the clock. From there, users can view relevant operating information and directly access frequently used xucRun management functions without entering commands manually.

The Tray application does not replace xucRun and cannot be used on its own. It displays information from xucRun and provides easier access to existing xucRun management functions. Program launches, stored credentials, approvals, account selection, and security decisions remain xucRun responsibilities.

The Tray can run continuously or only when needed. It is particularly helpful during initial setup, when checking the operating state, and when later changing credentials, approvals, or configuration. xucRun and its broker service remain fully usable while the Tray is not running.

The broker service belongs to xucRun. It starts automatically when needed and then runs in the background. The Tray application displays its state and provides controls through existing xucRun functions but does not perform any broker function itself.

The Tray application:

  • displays broker service and communication status;
  • shows the current user context and whether the xucRun Tray process is elevated;
  • lists tracked elevated processes and their windows;
  • opens xucRun dialogs for managing credentials and program approvals;
  • starts the xucRun security diagnostics and information views;
  • provides access to configured client log files and filtered xucRun Broker events;
  • switches the xucRun application language;
  • starts, enables, or disables the broker service through the existing xucRun interfaces.

Sensitive operations continue to be performed by xucRun using Windows access controls and User Account Control where required. Installing xucRun Tray does not create additional credentials, approvals, or permissions for the broker service.

Requirements and intended use

xucRun Tray supports Windows 10 and Windows 11 on x64 systems. It requires:

  • an installed, supported xucRun;
  • currently, the exact same four-part product version as xucRun;
  • a signature created with the same valid local xucRun signing certificate as the installed xucRun;
  • an existing local Windows user profile for Tray autostart.

xucRun Tray is intended, like xucRun, for experienced private users and developers on self-managed computers and in personal development and test systems. It is not a solution for unattended elevation, centralized privilege management, or systems requiring an elevated level of protection.

Protection boundaries: xucRun Tray displays status information and invokes existing xucRun management functions. It neither extends xucRun's permissions nor replaces its security mechanisms. The displayed information does not guarantee the security of the system, credentials, or launched programs. For the complete intended use, safeguards, operating limits, and remaining risks, follow the xucRun security model.

Installation

  1. Install the exactly matching xucRun version first.
  2. Download the Tray installer and SHA256SUMS.txt from the same xucRun Tray release.
  3. Optionally compare the SHA-256 checksum and do not run the installer if it differs.
  4. Run xucRun-Tray-<Version>-x64.exe, approve the Windows UAC request, and select the local user for Tray autostart.

xucRun Tray graphical installer

The installation guide describes package contents and verification, local signing, graphical installation, repair, update, and uninstallation. If normal uninstallation is unavailable, follow the manual removal guide.

Quick start

If the selected user is currently signed in, the installer starts xucRun Tray immediately through the non-elevated user task. Otherwise, xucRun Tray starts at that user's next Windows logon. To start it manually, open Command Prompt and run:

"C:\Program Files\xucRun\xucRunTray.exe"

The example assumes the standard Windows path. For a different installation, use the actual absolute path to xucRunTray.exe; the invocation should not determine the path through an environment variable or PATH.

Only one Tray instance runs for the same user session. Hover over its icon in the notification area of the Windows taskbar next to the clock to see the user, broker service, communication, and elevation status. Right-click the icon to open the management menu.

The icon color summarizes the current state:

  • The normal icon color indicates that the broker service is running, communication is working, and no visible main window of an elevated process tracked by xucRun is open.
  • A gray icon indicates that the broker service is stopped, disabled, or not yet available.
  • A red icon indicates disrupted broker communication or at least one visible main window belonging to a tracked elevated process.
  • While broker communication is working, the red icon pulses once per second if at least one visible main window belongs to a process with an effective NT SERVICE\TrustedInstaller identity. Ordinary elevated and LocalSystem process windows keep the icon continuously red.

A red icon therefore does not always indicate an error.

When broker communication is working, the red icon provides an immediately visible indication that at least one visible main window belonging to a tracked elevated process is still open. This keeps elevated applications recognizable even when their windows are hidden behind other windows. It is particularly useful when additional applications have been started from an elevated process, because they may also run in the elevated security context. The pulsing TrustedInstaller indication follows validated child processes as long as they retain the effective TrustedInstaller identity and have a visible main window.

Hovering over the icon displays a tooltip with the current xucRun Tray status.

xucRun Tray status tooltip

If the Tray application itself is running with elevated rights, the Windows shield is also shown on the icon.

Status display and menu

Depending on the current xucRun configuration and permissions, the menu provides:

  • tracked elevated processes and their windows;
  • creating, listing, and deleting stored credentials;
  • listing and resetting program approvals;
  • an administrative view across users after the required elevation;
  • the xucRun security diagnostics plus help and information submenus for xucRun and xucRun Tray;
  • displaying or deleting the current client log file and showing xucRun Broker events;
  • deleting all client log files from the configured log directory after confirmation;
  • automatic, German, and English language selection;
  • enabling or disabling automatic startup for the current user account;
  • starting, enabling, or disabling the broker service;
  • closing the current Tray instance.

xucRun Tray management menu

Under Elevated processes, the menu lists processes tracked by xucRun and their visible main windows. This list is not a system-wide overview of all elevated or SYSTEM processes: it contains the processes started through xucRun including their recognized follow-up processes, plus elevated administrator processes of the current Windows session. While at least one process with the LocalSystem or TrustedInstaller identity is tracked, every entry begins with the broker-validated effective identity: [ADM] and the Windows account name for an elevated administrator, [SYS] SYSTEM for LocalSystem, or [TI] TrustedInstaller for LocalSystem with an effective TrustedInstaller service SID. Without such a process, entries stay compact and only processes running under a different account than the signed-in user are prefixed with that account name. Selecting a window restores it if minimized and attempts to bring it to the foreground. If Windows prevents the foreground switch, the corresponding taskbar button flashes instead. Processes without a suitable visible window appear as grayed-out entries with the note no window and cannot be brought forward from the menu.

Tracked elevated processes and their windows

Unavailable actions are disabled. Operations that change credentials, approvals, or service state still require the permissions and confirmations enforced by xucRun and Windows.

The language selection changes the machine-wide xucRun configuration. Automatic follows each user's Windows display language, using German for a German display language and English otherwise. After a successful change, all Tray applications registered with the broker service restart so that icons in other user sessions use the configured language mode immediately.

User account and autostart

The installer deliberately selects an existing local user profile and creates the non-elevated logon task \xucRun\BrokerStatus-<SID> for that account. xucRun Tray then runs in that user's interactive session, not permanently as administrator. The icon tooltip identifies the account and indicates whether the Tray process is elevated whenever another Tray instance is present in the same session or the Tray runs as a different account than the interactively signed-in user. It omits this identity only when the sole instance and matching session account are both confirmed.

The default selection is the interactively signed-in user of the Windows session from which the installer was started. This also applies when a different administrator account is used for the UAC prompt. If that user is not selectable, the installer falls back to the elevated process account and then to the first available entry. The selection always remains editable.

Run the installer again for each additional eligible local user and select that account each time. Tasks already configured for other users remain in place. If the newly selected user is signed in, xucRun Tray starts immediately for that user; otherwise, it starts at their next Windows sign-in. Uninstalling xucRun Tray removes the tasks for all configured users together.

Depending on the current state, the menu item shows Enable startup at Windows logon... or Disable startup at Windows logon.... Changing this setting requires UAC confirmation. If the Tray is no longer needed continuously after setup, first select Disable startup at Windows logon... and then close the current instance through Exit. Disabling autostart alone leaves the current Tray instance running until it is closed manually or the user signs out. After it is closed, its icon disappears from the notification area and the Tray process ends; xucRun remains fully usable. The Tray can later be started manually as described under Quick start, and startup at Windows logon can optionally be enabled again through the menu. For occasional use, autostart can remain disabled. Enabling autostart completely recreates a missing or divergent task with the required non-elevated configuration.

The same per-user operations are available for scripts and troubleshooting through command-line arguments:

"C:\Program Files\xucRun\xucRunTray.exe" /enable-autostart
"C:\Program Files\xucRun\xucRunTray.exe" /disable-autostart
"C:\Program Files\xucRun\xucRunTray.exe" /autostart-status
"C:\Program Files\xucRun\xucRunTray.exe" /info
"C:\Program Files\xucRun\xucRunTray.exe" /help

/autostart-status displays the detected state and exits with code 0 when autostart is fully valid and enabled, 1 when it is missing, disabled, or configured incorrectly, and 2 when its state cannot be determined reliably. /info displays only Tray program and installation details. Its shared program, signature, account, and configuration sections come from the same implementation as xucRun /info and show version, copyright, the Apache License 2.0, path, architecture, effective language and loaded language DLL, signing certificate, account, SID, elevation, configuration file, and client logging. The common configuration section also identifies the public Tray maintenance script. The Tray-specific section then shows the Windows logon task without elevated privileges together with its state. Only the path of the language DLL loaded for that output is listed; the other installed language DLL is not. /help explains the public Tray commands and their exit codes. The Help submenu opens either xucRun /help or the Tray-specific help directly in the running Tray instance. The information submenu opens either xucRun /info or the Tray-specific information view directly in the running Tray instance. Other arguments are rejected with an error message and ERROR_INVALID_PARAMETER.

xucRun Tray runtime information

Security considerations

Install the matching xucRun version first and then install xucRun Tray only with its installer. The installer verifies the existing xucRun installation, product version, and signing certificate. Do not copy the program files manually.

xucRun Tray does not:

  • require an Internet connection;
  • store a separate password or database of credentials;
  • weaken xucRun security or signature checks;
  • provide an alternative path around xucRun approvals or UAC;
  • modify xucRun files during uninstallation.

The operating limits and remaining risks documented in the xucRun security model also apply to xucRun Tray.

Language and log files

xucRun Tray uses the language configured for xucRun and can select automatic, German, or English through its menu. A missing, invalid, or incorrectly signed language resource causes startup to fail instead of using an unverified language file as a substitute.

Client log-file menu entries refer to the client log directory configured by xucRun. If client file logging is disabled or no log file exists, the corresponding actions remain unavailable. Delete all log files... shows the number of currently detected deletable client log files in parentheses. The Tray rereads the logging configuration and enumerates the existing log files whenever its context menu opens. If the configured directory, especially a network path, is unavailable, Windows file-system timeouts can therefore also delay the opening of the Tray context menu. Changes to the configured directory and newly created log files become available without restarting the Tray. It also checks the configured language before opening the menu. If a valid external change is detected, the Tray restarts itself and uses the new language; an invalid value or language resource is reported while the Tray remains active in its current language. Regardless of the selected UI language, technical Broker warnings and errors are always written in English to the Windows Application event log under the xucRunBroker source, as documented by xucRun. The always available Show xucRun Broker events menu item opens that Windows channel without a UAC prompt and temporarily filters the launched view to exactly that source. Other views and later Event Viewer launches remain unfiltered. The action does not save a custom view or delete or configure events.

Troubleshooting

  • The xucRun Tray icon does not appear: Verify that the selected user has logged on after installation and that \xucRun\BrokerStatus-<SID> exists in Task Scheduler.
  • The installer rejects xucRun: Verify the exact four-part versions, the supported xucRun installation, and the registered xucRun installation path.
  • Signing fails: An xucRun installation signed with a machine-local certificate requires its existing non-exportable private key to remain available on that computer. The installer rejects packages whose Tray files are only partially or inconsistently signed.
  • Communication is shown as degraded: Check the broker service state and run the xucRun security diagnostics from the xucRun Tray menu or with xucRun /audit. The diagnostics check the installed Tray files and signatures, uninstall registration, and per-user autostart tasks.
  • Menu actions are unavailable: The broker service may be stopped, communication may be unavailable, or the current account may lack the required permissions.
  • Tray cannot start after a manual file copy: Use the installer. Version, protected path, signing certificate, language resources, and the logon task form part of the supported installation.

Support the project

Development of xucRun Tray can be supported voluntarily on Patreon.

Reporting vulnerabilities

Do not disclose an unpatched or suspected vulnerability publicly. Use GitHub Private Vulnerability Reporting for HT64/xucRun-Tray as described in SECURITY.md.

Build and package

The build guide describes prerequisites, the Core dependency, toolchain report, packaging, and validation.

Contributing

External pull requests are not accepted at this time. See CONTRIBUTING.md.

License

xucRun Tray is open source and is offered under the Apache License 2.0. NOTICE contains attribution.

About

Optional Windows notification-area interface for xucRun status, diagnostics, and frequently used management functions.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Contributors

Languages