> For the complete documentation index, see [llms.txt](https://wiki.datadike.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.datadike.com/sonar/administration/user-activity/screen-capture.md). Agents can also search and read this documentation through its [MCP server](https://wiki.datadike.com/~gitbook/mcp).

# Screen capture

Turn on screen capture for a person or a group: the client settings, the signed term on file, and an assignment with a reason and an end date.

## What this is and when to use it

**Observability › Screen Capture** takes images of a person's screen at a fixed interval, for a stated reason and a limited period. Use it when a documented need calls for seeing what was on screen, such as an internal investigation or the supervision of a sensitive task, and the activity records of [Users Traces](https://wiki.datadike.com/sonar/administration/user-activity/users-traces.md) are not enough.

Capture is off until you turn it on. An image is taken only when all of these are true at the same moment:

* screen capture is **On** in the **Settings** tab;
* the person's signed term is on file, recorded in the **Consents** tab;
* an **assignment** for the person, or for a group the person belongs to, is in effect, with a justification and an end date.

SONAR does not ask the person to accept anything on screen. The person signs a term on paper, usually at hiring, stating that their work computer is monitored. You record in SONAR that the signed term is on file, and your user name and the time are kept with that statement.

By default, the person always knows. While capture is on for them, the productivity module shows a red camera icon in the system tray of the computer, and a notification when capture starts. Its text can change, and it can be turned off for people whose signed term covers it: see [Capture without a notice on screen](https://wiki.datadike.com/sonar/administration/user-activity/screen-capture-no-notice.md). Images are stored on the SONAR server, never on the computer.

This page covers turning capture on. Following and reviewing the images is in [Review screen captures](https://wiki.datadike.com/sonar/administration/user-activity/screen-capture-review.md).

## Before you start

* A role with one of the two permissions of the group **Productivity** in **Admin Center › Roles**. They are separate, and one does not include the other:

  * **Manage Screen Capture** — the settings, the consents, the assignments, deleting images, and the **Audit** tab. It does not show the images.
  * **View Screen Captures** — the **Images** tab: listing and opening the images. It does not change anything.

  Without either one the menu entry does not appear. To turn capture on, you need **Manage Screen Capture**.
* The people you see on this screen are the people of the sites your role can see. A role that is not **Super User** must list clients or sites under **Client & Site Access**; with none listed, no one is shown.
* Turning capture on or off for a **group** requires a **Super User** role. Other roles work with one person at a time.
* The person exists in **Management › Employees** and is active, and their Windows username is listed there. Capture follows the username: the image is taken on the computer where that username is signed in. See [Employees](https://wiki.datadike.com/sonar/administration/employees/employees.md).
* For a group, the group exists. Groups are created in **Observability › Classification**.
* The person's computer runs Windows with the productivity module installed: the agent option **Sessions**. See [The productivity module](https://wiki.datadike.com/sonar/deploy-operate/productivity-module.md).
* The signed term of each person is filed by your organization, outside SONAR.

## Steps

### 1. Turn screen capture on for the client

1. Open **Observability › Screen Capture**.
2. Open the **Settings** tab.
3. Under **Screen capture**, click **On**.
4. Choose **One image (default)**, the interval new assignments start with, and **Longest assignment**, the longest period one assignment may cover.
5. Leave **Blur the images by default** ticked if the images should be blurred: what was on screen stays recognisable, the text does not.
6. Under **Retention**, set **Keep images for**, between 7 and 30 days.
7. To limit capture to the working day, tick **Capture only during working hours**, choose the **Days**, and set **From** and **To**. Set **Time zone** if it differs from the one shown as a placeholder.
8. Review **Never captured**: **Programs (one per line)** and **Sites (one per line)**. Add what must never appear in an image.
9. Under **Notice**, change **Notice text** if you want other words on the person's computer, or leave it empty for the standard text.
10. Click **Save changes**.

The settings are one set for the whole console. They apply to every assignment, in every client and site.

### 2. Record the signed terms

You can record the terms beforehand, several people at a time, or state them while creating the assignment (step 3).

1. Open the **Consents** tab and click **Record consent**.
2. In **Add a person**, search and pick each person whose signed term is on file. Only active people are listed.
3. Optionally, in **Note (optional)**, write where the term is kept: the folder, the HR file number, or the date it was signed.
4. Tick the confirmation: "I confirm that each person above signed the term stating that their work computer is monitored, and that the signed document is on file."
5. Click **Record consent**.

Recording a consent does not start anything. Capture runs only under an assignment.

### 3. Create the assignment

1. Open the **Assignments** tab and click **Turn on capture**.
2. Under **Who**, choose **One person** and pick the **Person**, or choose **A group** and pick the **Group**. A group that already has an assignment shows **In capture** and cannot be chosen.
3. If the person, or someone in the group, has no signed term on file, a warning appears. Tick the statement "I confirm that … signed the term stating that their work computer is monitored, and that the signed document is on file." Optionally fill **Where the term is kept (optional)**.
   * For one person, the statement is required.
   * For a group, it is optional. Left unticked, the group is still assigned and only the people whose term is already on file are captured.
4. Under **Why**, write the **Justification**, at least 10 characters.
5. Under **When**, leave **Starts (leave empty to start now)** empty, or choose a later date and time.
6. Set **Ends**, or click **1 day**, **7 days**, **15 days** or **30 days**.
7. Choose **One image**, the interval, and whether to **Blur the images**. Both start with the values from the settings.
8. Read **What happens next** and click **Turn on capture**.

## What you should see

* After step 1, the notice "Settings saved" appears, the counter **Screen capture** at the top reads **On**, and the bar "Screen capture is off for this client. Nothing is captured, whatever the assignments say." disappears.
* After step 2, the notice reads "1 consent recorded", or how many were recorded and how many were already on file. The people appear in the **Consents** tab with **Signed term** under **How** and **On file** under **Status**.
* After step 3, the notice reads "Capture turned on for *name*", followed by the number of terms recorded if you ticked the statement. The assignment appears in the **Assignments** tab with the status **Active**, or **Scheduled** if it starts later.

On the person's computer, within a few minutes of the start, the red camera icon appears in the system tray with a notification. Images are then taken about once per interval, except:

* outside the working hours, when **Capture only during working hours** is ticked;
* while a program or a site listed under **Never captured** is in front;
* while no one is signed in with the person's username.

## How to verify it worked

1. In the **Assignments** tab, the row of the person or group shows **Active** and, under **Period**, how long is left. For a person, the line under the name must read **Term on file**. For a group, it reads how many of its people have the term on file: only those are captured.
2. Ask the person to confirm the red camera icon in the system tray.
3. After the first interval has passed, a user with **View Screen Captures** opens the **Images** tab and chooses the person. Today's date appears with at least one image. See [Review screen captures](https://wiki.datadike.com/sonar/administration/user-activity/screen-capture-review.md).
4. In the **Audit** tab, the records **Settings changed**, **Consent recorded** (one per term recorded) and **Capture turned on** show your user name under **Done by**, with the justification under **Details**.

## Common errors

| Symptom                                                                                                                   | Cause                                                                                                                                                   | Fix                                                                                             |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| **Turn on capture** is disabled, with "Screen capture is off. Turn it on in the settings first."                          | Screen capture is **Off** in **Settings**                                                                                                               | Turn it **On** and click **Save changes**                                                       |
| **Turn on capture** or **Record consent** is disabled, with "You don't have permission for this action"                   | The role does not have **Manage Screen Capture**                                                                                                        | Add the permission in **Admin Center › Roles**                                                  |
| "You don't have permission to see screen capture."                                                                        | The role has neither screen capture permission                                                                                                          | Add one of them in **Admin Center › Roles**                                                     |
| "Confirm that the signed term is on file." or "This person has no term on file. Confirm that the signed term is on file." | The person has no term recorded and the statement is not ticked                                                                                         | Tick the statement, or record the consent in **Consents** first                                 |
| "Say why, in at least 10 characters." or "Explain why, in at least 10 characters."                                        | The justification is too short                                                                                                                          | Write the reason in full                                                                        |
| "The end has to be after the start, and in the future."                                                                   | **Ends** is in the past or before **Starts**                                                                                                            | Choose a later end                                                                              |
| "One assignment covers at most 30 days."                                                                                  | The period is longer than **Longest assignment** (30 days in this example)                                                                              | Shorten the period, or raise **Longest assignment** in **Settings** (up to 90 days)             |
| "There is already an assignment in effect here. Revoke it before creating another."                                       | The person or group already has an assignment in effect or scheduled                                                                                    | Use the existing one, or turn it off in **Assignments** first                                   |
| "Assigning a group takes access to every site of the client."                                                             | The role is not **Super User**                                                                                                                          | Assign each person, or ask a **Super User** to assign the group                                 |
| "This person is inactive."                                                                                                | The person is marked inactive in **Employees**                                                                                                          | Reactivate the person in **Management › Employees**                                             |
| "No groups yet. Groups are made under Classification."                                                                    | No group exists                                                                                                                                         | Create the group in **Observability › Classification**                                          |
| "Choose at least one day."                                                                                                | **Capture only during working hours** is ticked with no day chosen                                                                                      | Choose at least one day                                                                         |
| "The end has to differ from the start."                                                                                   | **From** and **To** are the same time                                                                                                                   | Change one of them                                                                              |
| "Unknown time zone."                                                                                                      | **Time zone** is not a valid zone name                                                                                                                  | Choose a name from the list, such as `America/New_York`                                         |
| "Keep the images between 7 and 30 days."                                                                                  | **Keep images for** is out of range                                                                                                                     | Enter a value from 7 to 30                                                                      |
| "An assignment can last between 1 and 90 days."                                                                           | **Longest assignment** is out of range                                                                                                                  | Enter a value from 1 to 90                                                                      |
| "At most 500 entries."                                                                                                    | A **Never captured** list has more than 500 lines                                                                                                       | Shorten the list                                                                                |
| "This was changed by someone else at the same time. Reload and try again."                                                | Another user changed the same person or group at the same moment                                                                                        | Click the refresh button and try again                                                          |
| The assignment is **Active** but no image arrives                                                                         | The person is outside working hours, an excluded program or site is in front, the username is not signed in, or the computer has no productivity module | Check the settings and the person's username in **Employees**; check the module on the computer |

## Field reference

### Settings tab

| Field                                 | What it does                                                                                                                                      | Accepted values                                                    | Default                                                                                                                      |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| **Screen capture**                    | Turns the feature on for the client. While it is **Off**, nothing is captured, even under assignments in effect, and no assignment can be created | **Off**, **On**                                                    | **Off**                                                                                                                      |
| **One image (default)**               | Interval that new assignments start with                                                                                                          | Every 1, 2, 3, 5, 10, 15, 20 or 30 minutes, or 1 hour              | Every 5 minutes                                                                                                              |
| **Longest assignment**                | Longest period one assignment may cover                                                                                                           | 1 to 90 days                                                       | 30 days                                                                                                                      |
| **Blur the images by default**        | Whether new assignments start with blurred images                                                                                                 | Ticked, clear                                                      | Ticked                                                                                                                       |
| **Keep images for**                   | How long an image is kept. Older images are removed every night                                                                                   | 7 to 30 days                                                       | 15 days                                                                                                                      |
| **Capture only during working hours** | Limits capture to the chosen days and hours                                                                                                       | Ticked, clear                                                      | Clear                                                                                                                        |
| **Days**                              | Days on which capture may run                                                                                                                     | **Mon** to **Sun**, at least one                                   | **Mon** to **Fri**                                                                                                           |
| **From** / **To**                     | Start and end of the working day. When **To** is earlier than **From**, the window crosses midnight and belongs to the day it starts on           | Times, different from each other                                   | 08:00 / 18:00                                                                                                                |
| **Time zone**                         | Zone of the working hours and of the days in the **Images** tab                                                                                   | A zone name from the list, up to 64 characters                     | Empty: the server's zone, shown as the placeholder                                                                           |
| **Programs (one per line)**           | Programs that are never captured while in front                                                                                                   | File names such as `keepass.exe`, up to 500                        | Six password managers: `keepass.exe`, `keepassxc.exe`, `1password.exe`, `bitwarden.exe`, `lastpass.exe`, `dashlane.exe`      |
| **Sites (one per line)**              | Sites that are never captured while in front. An entry covers the addresses under it                                                              | Addresses without `http://`, such as `bank.example.com`, up to 500 | A starting list of banking, payment, personal mail and public health sites                                                   |
| **Notice text**                       | Text shown on the person's computer while capture is on                                                                                           | Up to 300 characters                                               | Empty: the standard text, in Portuguese, "A captura de tela está ativa neste computador, conforme o termo que você assinou." |

**Discard** returns the form to what is saved. Every change saved is recorded in the **Audit** tab as **Settings changed**, with the fields changed.

### Record consent

| Field               | What it does                                                      | Accepted values                                                                                                                     | Default |
| ------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------- |
| **Add a person**    | People whose signed term is on file                               | Active people of the sites your role can see, up to 2,000 at a time. People who already have a consent on file are left as they are | None    |
| **Note (optional)** | Where the term is kept                                            | Up to 500 characters                                                                                                                | Empty   |
| Confirmation        | Your statement that each person signed the term and it is on file | Must be ticked                                                                                                                      | Clear   |

### Turn on capture

| Field                                 | What it does                                                                                   | Accepted values                                       | Default                                          |
| ------------------------------------- | ---------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ------------------------------------------------ |
| **Who**                               | Whether the assignment covers one person or a group                                            | **One person**, **A group**                           | **One person**                                   |
| **Person**                            | The person captured                                                                            | Active people of the sites your role can see          | None                                             |
| **Group**                             | The group captured. People who join the group later are captured too, if their term is on file | Groups without an assignment in effect                | None                                             |
| Term statement                        | Records the signed term of the people chosen who have none on file                             | Ticked, clear. Required for one person                | Clear                                            |
| **Where the term is kept (optional)** | Note kept with the terms recorded by the statement                                             | Up to 500 characters                                  | Empty                                            |
| **Justification**                     | Why capture is turned on. Kept with the assignment and in the audit trail                      | 10 to 2,000 characters                                | Empty                                            |
| **Starts (leave empty to start now)** | When capture starts                                                                            | Now or a later date and time                          | Now                                              |
| **Ends**                              | When capture ends                                                                              | After the start, within **Longest assignment**        | None                                             |
| **One image**                         | Interval between images                                                                        | Every 1, 2, 3, 5, 10, 15, 20 or 30 minutes, or 1 hour | **One image (default)** from **Settings**        |
| **Blur the images**                   | Whether the images are blurred                                                                 | Ticked, clear                                         | **Blur the images by default** from **Settings** |

A person or a group has at most one assignment in effect or scheduled at a time. When a person has an assignment of their own and is also in a group under capture, the person's own assignment sets the interval and the blur.

## Related pages

* [Review screen captures](https://wiki.datadike.com/sonar/administration/user-activity/screen-capture-review.md) — the images, the assignments and the audit trail
* [Employees](https://wiki.datadike.com/sonar/administration/employees/employees.md) — the people and their Windows usernames
* [The productivity module](https://wiki.datadike.com/sonar/deploy-operate/productivity-module.md) — what runs on the computer
* [Roles and permissions](https://wiki.datadike.com/sonar/administration/identities/roles.md) — **Manage Screen Capture** and **View Screen Captures**
