# Stop Windows Service

> Stops a named Windows service on the device.

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

Stop a Windows service

## Parameters

#### Windows service name
*Required*

The name of the Windows Service

#### Timeout
*Required* — Default: `60`

Maximum wait time for the service to stop in seconds

## Details

- **Category:** Windows service
- **Brick ID:** `Windows-Service-Stop`

## Raw JSON definition

**JSON**

```json
{
  "category": "windowsService",
  "description": "Stop a Windows service",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "Windows-Service-Stop",
  "name": "Stop Windows Service",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "The name of the Windows Service",
      "id": "ServiceName",
      "name": "Windows service name",
      "regExValidation": "",
      "required": true,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "60",
      "defaultValueObject": null,
      "description": "Maximum wait time for the service to stop in seconds",
      "id": "MaxTimeOut",
      "name": "Timeout",
      "regExValidation": "",
      "required": true,
      "type": "Integer",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "RnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
