# Deactivate Process Execution At First User Logon

> Removes or disables an Active Setup entry that was created to execute a process at first user logon.

Source: https://docs.capaone.com/capaone/application-manager/powerbricks/deactivate-process-execution-at-first-user-logon/  
Product: CapaOne — a separate CapaSystems product; do not apply this page to any other.

Removes or disables an Active Setup entry that was created to execute a process at first user logon. You can specify the Active Setup entry by its unique identifier (ID). If you choose to disable the Active Setup entry instead of removing it, the entry will remain in the registry but will be marked as disabled, preventing the associated process from executing at user logon. This can be useful if you want to temporarily stop the execution without deleting the configuration entirely.

## Parameters

#### Active Setup ID
*Required* — Default: `$AppName`

The unique identifier for the Active Setup entry you want to remove. This must match the ID used when the Active Setup entry was created

## Details

- **Category:** Installer
- **Brick ID:** `ActiveSetup-Remove`

## Raw JSON definition

**JSON**

```json
{
  "category": "installer",
  "description": "Removes or disables an Active Setup entry that was created to execute a process at first user logon. You can specify the Active Setup entry by its unique identifier (ID). If you choose to disable the Active Setup entry instead of removing it, the entry will remain in the registry but will be marked as disabled, preventing the associated process from executing at user logon. This can be useful if you want to temporarily stop the execution without deleting the configuration entirely.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "ActiveSetup-Remove",
  "name": "Deactivate Process Execution At First User Logon",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "$AppName",
      "defaultValueObject": null,
      "description": "The unique identifier for the Active Setup entry you want to remove. This must match the ID used when the Active Setup entry was created",
      "id": "Key",
      "name": "Active Setup ID",
      "regExValidation": "",
      "required": true,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "ZnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
