# Set Background

> Sets the desktop and lock screen wallpaper to specified images. Both wallpapers can be set at the same time or individually.

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

Sets the desktop and lock screen wallpaper to specified images. Both wallpapers can be set at the same time or individually. Supported image formats are .jpg, .jpeg and .png.

## Parameters

#### Lock Screen Wallpaper Path
*Optional*

Full path to lock screen wallpaper. Supports .jpg, .jpeg and .png. Example: $PackageRoot\lockscreen.jpg

#### Desktop Wallpaper Path
*Optional*

Full path to desktop wallpaper. Supports .jpg, .jpeg and .png. Example: $PackageRoot\wallpaper.jpg

## Details

- **Category:** Provisioning
- **Brick ID:** `Background-Set`

## Raw JSON definition

**JSON**

```json
{
  "category": "provisioning",
  "description": "Sets the desktop and lock screen wallpaper to specified images. Both wallpapers can be set at the same time or individually. Supported image formats are .jpg, .jpeg and .png.",
  "developerVendor": "CapaSystems A/S",
  "displayName": null,
  "id": "Background-Set",
  "name": "Set Background",
  "parameters": [
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "Full path to lock screen wallpaper. Supports .jpg, .jpeg and .png. Example: $PackageRoot\\lockscreen.jpg",
      "id": "LogonWallpaperPath",
      "name": "Lock Screen Wallpaper Path",
      "regExValidation": "",
      "required": false,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    },
    {
      "allowManualInput": false,
      "defaultValue": "",
      "defaultValueObject": null,
      "description": "Full path to desktop wallpaper. Supports .jpg, .jpeg and .png. Example: $PackageRoot\\wallpaper.jpg",
      "id": "DesktopWallpaperPath",
      "name": "Desktop Wallpaper Path",
      "regExValidation": "",
      "required": false,
      "type": "TextBox",
      "value": null,
      "values": [],
      "valuesObject": null
    }
  ],
  "powershell": {
    "base64Encoded": true,
    "function": "ZnVuY3Rpb2..."
  },
  "type": "powerbrick",
  "version": "2026.9.1.1"
}
```
