# Windows Tray Icon Pin

> Pins a tray icon for the selected executable name.

Source: https://docs.capaone.com/capaone/application-manager/powerbricks/windows-tray-icon-pin/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

Pins a tray icon for the selected executable name.

## Parameters

#### Executable Name
*Required*

Executable file name to pin in the tray icon area. Example: CapaInstaller InfoCenter.exe. Can be found under HKEY_CURRENT_USER\Control Panel\NotifyIconSettings.

#### Apply To Existing Users
*Optional* — Default: `True`

Enable to update existing user profiles and the default profile used for new users. Disable to update only the default profile used for new users.

## Details

- **Category:** Provisioning
- **Brick ID:** `Windows-Tray-Icon-Pin`

## Raw JSON definition

**JSON**

```json
{
  "category": "provisioning",
  "description": "Pins a tray icon for the selected executable name.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "Windows-Tray-Icon-Pin",
  "name": "Windows Tray Icon Pin",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "Executable file name to pin in the tray icon area. Example: CapaInstaller InfoCenter.exe. Can be found under HKEY_CURRENT_USER\\Control Panel\\NotifyIconSettings.",
      "id": "ExecutableName",
      "name": "Executable Name",
      "regExValidation": "",
      "required": true,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "True",
      "defaultValueObject": null,
      "description": "Enable to update existing user profiles and the default profile used for new users. Disable to update only the default profile used for new users.",
      "id": "ApplyToExistingUsers",
      "name": "Apply To Existing Users",
      "regExValidation": "",
      "required": false,
      "type": "Boolean",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "ZnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
