> 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-review.md). Agents can also search and read this documentation through its [MCP server](https://wiki.datadike.com/~gitbook/mcp).

# Review screen captures

Follow screen capture: the counters, the images of each person by day, the assignments in effect, turning capture off, and the audit trail of every view.

## What this is and when to use it

Once capture is on for someone, **Observability › Screen Capture** is also where you follow it: how many people are being captured, which assignments are in effect and until when, the images of each person day by day, and who did what on the screen. Use it to review the images of an assignment, to turn capture off before its end date, and to answer who looked at which image.

Turning capture on is described in [Screen capture](https://wiki.datadike.com/sonar/administration/user-activity/screen-capture.md).

## Before you start

* A role with the permissions of the group **Productivity** in **Admin Center › Roles** that match what you need to do. One does not include the other:

  | Task                                                             | Permission                                            |
  | ---------------------------------------------------------------- | ----------------------------------------------------- |
  | See the counters, **Assignments**, **Consents** and **Settings** | **Manage Screen Capture** or **View Screen Captures** |
  | Open the **Images** tab: list and open images                    | **View Screen Captures**                              |
  | Turn capture off, revoke a consent                               | **Manage Screen Capture**                             |
  | Delete an image, or all images of a person                       | Both: the delete buttons are in the **Images** tab    |
  | Open the **Audit** tab                                           | **Manage Screen Capture**                             |
* You see the people, images and audit records of the sites your role can see. An image is shown only when it was taken on a computer of one of those sites. Group assignments are listed for every role, but only a **Super User** role can turn them off. In the **Audit** tab, records that are not about one person, such as **Settings changed**, are shown to **Super User** roles only.

## Steps

### Read the counters

1. Open **Observability › Screen Capture**. The counters are at the top:

   | Counter                   | What it shows                                                                                                              |
   | ------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
   | **Screen capture**        | **On** or **Off**, and the default interval                                                                                |
   | **Assignments in effect** | Assignments running now, and how many more are scheduled                                                                   |
   | **People being captured** | People under an assignment now, with the term on file. Shown to **Super User** roles only                                  |
   | **Terms on file**         | Signed consents recorded and not revoked                                                                                   |
   | **Stored images**         | Images kept, their total size and the retention. Shown to **Super User** roles only; other roles see **Retention** instead |
2. Click the refresh button at the top right to update the counters and the open tab.

### Review the images of a person

The **Images** tab opens empty, with "Choose a person to see their images." Nothing is listed until you pick a person, so that every listing is tied to one person in the audit trail.

1. Open the **Images** tab.
2. In **Choose a person**, search and pick the person. Only people with stored images are listed.
3. The days with images are listed on the left, most recent first, with the number of images and their size. Click a day.
4. The images of that day appear as thumbnails, oldest first, with the time, the program or site in front, and the computer. Click **Show more** to load more than the first 60.
5. Click a thumbnail to open it in the viewer.
6. In the viewer, use the arrows on the sides, or the left and right arrow keys, to move to the previous or next image. Click the image to see it in full size, and click again to fit it to the window.

### Turn capture off before the end date

1. Open the **Assignments** tab.
2. On the row of the person or group, click the **Turn off** button.
3. In **Turn off capture**, write the **Reason** and click **Turn off**.

Capture stops within a few minutes. The images already taken stay until their retention runs out.

### Revoke a consent

When a person withdraws the agreement:

1. Open the **Consents** tab.
2. On the person's row, click the **Revoke** button.
3. In **Revoke consent**, write the **Reason**. Tick **Also delete every image of this person** if the images must go now.
4. Click **Revoke**.

Capture of that person stops, and every assignment of theirs is turned off. A group the person is in no longer covers them. To capture the person again, a new consent must be recorded.

### Delete images

* One image: in the viewer, click **Delete this image**, then **Delete**.
* All images of a person: in the **Images** tab, with the person chosen, click **Delete all images**, then **Delete all**. This does not stop capture; turn the assignment off in **Assignments** for that.

Deleted images cannot be recovered.

### Check the audit trail

1. Open the **Audit** tab.
2. Narrow the list with the action list (**All actions** by default), **About a person**, and **Done by (user name)**, which matches the whole user name.

## What you should see

The viewer shows the person's name, the time the image was taken and its position in the day, such as "image 3 of 42". Beside the image:

| Field            | Content                                                 |
| ---------------- | ------------------------------------------------------- |
| **Taken**        | Date and time, in the time zone of the **Settings** tab |
| **Computer**     | Hostname of the computer, such as `WS-0001`             |
| **Signed in as** | The Windows username, such as `jdoe`                    |
| **Window**       | Title of the window in front                            |
| **Program**      | File name of the program in front                       |
| **Site**         | Address of the site in front, when it was a browser     |
| **Blurred**      | **Yes** or **No**                                       |
| **Size**         | Width × height in pixels, and file size                 |

The days and times in the **Images** tab are read in the time zone of the **Settings** tab, shown above the thumbnails as "Times in *zone*, oldest first".

The **Assignments** tab shows, by default, the assignments **In effect or scheduled**:

| Column            | Content                                                                                                                                         |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Who**           | The person, with **Term on file** or "No consent on file: nothing is captured"; or the group, with how many of its people have the term on file |
| **Status**        | **Active**, **Scheduled**, **Ended** or **Revoked**                                                                                             |
| **Period**        | Start → end, and the time left; for a revoked assignment, when and by whom it was turned off                                                    |
| **One image**     | The interval, and **Blurred** or **Not blurred**                                                                                                |
| **Justification** | The reason given when capture was turned on                                                                                                     |
| **Turned on by**  | User name and time                                                                                                                              |

The **Audit** tab lists **When**, **Action**, **Done by**, **About**, **Details** and **IP address**. The actions recorded are:

| Action                             | Recorded when                                                                                                     |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **Settings changed**               | The settings are saved. **Details** lists the fields changed                                                      |
| **Consent recorded**               | A signed term is recorded, in **Consents** or with an assignment                                                  |
| **Consent revoked**                | A consent is revoked. **Details** has the reason, the assignments stopped, and whether the images were deleted    |
| **Capture turned on**              | An assignment is created. **Details** has the justification, the interval, the end and the terms recorded with it |
| **Capture turned off**             | An assignment is turned off. **Details** has the reason                                                           |
| **Images listed**                  | A user opens a day of images, or loads more of it. **Details** has the period and how many were shown             |
| **Image opened**                   | A user opens an image in the viewer. **Details** has when it was taken and the computer                           |
| **Images deleted**                 | Images are deleted by a user, one or all of a person                                                              |
| **Old images removed**             | The nightly removal deletes images past the retention. **Done by** reads **System**                               |
| **People joined a captured group** | People are added to a group that is under capture                                                                 |

### Retention

* Images older than **Keep images for** (7 to 30 days, 15 by default) are removed every night. Shortening the retention removes the images past the new limit on the next night.
* Removal runs whether screen capture is **On** or **Off**: turning the feature off does not keep the images.
* Images of a person removed from **Employees** are removed on the next night.
* Audit records are kept for 365 days, longer than the images.

## How to verify it worked

* After you open images, the **Audit** tab shows an **Images listed** record for the day and an **Image opened** record for each image, with your user name and IP address.
* After you turn capture off, the assignment appears under **Revoked** in the **Assignments** filter, with "Turned off *date* by *user*", and the **Audit** tab shows **Capture turned off** with your reason. No new image arrives for that assignment after a few minutes.
* After a consent is revoked, the consent shows **Revoked** under **Status** in the **Consents** tab (filter **Revoked** or **All**), with the date, the user and the reason.
* The day after the retention runs out for an image, it no longer appears in the **Images** tab, and the **Audit** tab shows **Old images removed**.

## Common errors

| Symptom                                                                                                   | Cause                                                                                                                                                                                                                                     | Fix                                                                                                                                                                                                                |
| --------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| There is no **Images** tab                                                                                | The role does not have **View Screen Captures**                                                                                                                                                                                           | Add the permission in **Admin Center › Roles**                                                                                                                                                                     |
| There is no **Audit** tab                                                                                 | The role does not have **Manage Screen Capture**                                                                                                                                                                                          | Add the permission in **Admin Center › Roles**                                                                                                                                                                     |
| "No one with stored images" in **Choose a person**                                                        | No image is stored for people of the sites your role can see                                                                                                                                                                              | Check the assignment in **Assignments** and wait for the first interval                                                                                                                                            |
| The **Images** tab shows only "Choose a person to see their images."                                      | Nothing is listed before a person is chosen                                                                                                                                                                                               | Pick the person in **Choose a person**                                                                                                                                                                             |
| Few images arrive, or none for a while                                                                    | Images are taken only while the person is using the computer: with the screen locked, the session disconnected or no mouse or keyboard use, no image is taken. After the productivity module starts, the first image takes 3 to 6 minutes | Wait until the person is using the computer again                                                                                                                                                                  |
| The assignment is **Active**, no image arrives, and `SonarProductivityService` is stopped on the computer | The productivity module is not running                                                                                                                                                                                                    | In **Dashboard › Sysadmin**, select the device and choose **Update productivity module** in its actions menu; see [The productivity module](https://wiki.datadike.com/sonar/deploy-operate/productivity-module.md) |
| The counters **People being captured** and **Stored images** are missing                                  | The role is not **Super User**                                                                                                                                                                                                            | Expected: those totals cover every site                                                                                                                                                                            |
| "No consent on file: nothing is captured" under the person                                                | The person's consent was revoked                                                                                                                                                                                                          | Record the consent again in **Consents** if the person signed a new term                                                                                                                                           |
| "This image is no longer stored." in the viewer                                                           | The image was removed by the retention or by another user                                                                                                                                                                                 | Close the viewer; the list refreshes                                                                                                                                                                               |
| "This assignment is no longer in effect."                                                                 | The assignment already ended or was turned off                                                                                                                                                                                            | Refresh the list                                                                                                                                                                                                   |
| "This consent was already revoked."                                                                       | Another user revoked it first                                                                                                                                                                                                             | Refresh the list                                                                                                                                                                                                   |
| "Revoking the assignment of a group takes access to every site of the client."                            | The role is not **Super User**                                                                                                                                                                                                            | Ask a **Super User** to turn it off                                                                                                                                                                                |
| "Say why."                                                                                                | The **Reason** is empty                                                                                                                                                                                                                   | Write the reason                                                                                                                                                                                                   |
| "*n* image(s) of *name* deleted, but some are still stored. Run it again."                                | The person has many images and the deletion ran out of time                                                                                                                                                                               | Click **Delete all images** again                                                                                                                                                                                  |
| "This group is under screen capture. Revoke that assignment before removing the group."                   | You tried to delete a group in **Classification** that has an assignment in effect                                                                                                                                                        | Turn the assignment off first                                                                                                                                                                                      |
| "This group is under screen capture. Adding people to it takes the screen capture permission."            | You tried to add people in **Classification** to a group under capture without **Manage Screen Capture**                                                                                                                                  | Ask a user with the permission, or add it to your role                                                                                                                                                             |

## Field reference

| Field                                      | Where                                    | What it does                                             | Accepted values                                                                               | Default                    |
| ------------------------------------------ | ---------------------------------------- | -------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------------------------- |
| **Choose a person**                        | **Images**                               | Whose images are shown                                   | People with stored images, in the sites your role can see                                     | None                       |
| Day list                                   | **Images**                               | Which day is shown                                       | Days with images                                                                              | The most recent day        |
| Status filter                              | **Assignments**                          | Which assignments are listed                             | **In effect or scheduled**, **In effect now**, **Scheduled**, **Ended**, **Revoked**, **All** | **In effect or scheduled** |
| **Filter by person**                       | **Consents**                             | Only the consents of one person                          | People in the sites your role can see                                                         | None                       |
| Status filter                              | **Consents**                             | Which consents are listed                                | **On file**, **Revoked**, **All**                                                             | **On file**                |
| **Reason**                                 | **Turn off capture**, **Revoke consent** | Why; kept with the record and in the audit trail         | Up to 300 characters, required                                                                | Empty                      |
| **Also delete every image of this person** | **Revoke consent**                       | Deletes the person's images for good with the revocation | Ticked, clear                                                                                 | Clear                      |
| Action filter                              | **Audit**                                | Only one kind of record                                  | **All actions** or one of the actions above                                                   | **All actions**            |
| **About a person**                         | **Audit**                                | Only the records about one person                        | People in the sites your role can see                                                         | None                       |
| **Done by (user name)**                    | **Audit**                                | Only the records of one console user                     | The exact user name                                                                           | Empty                      |

## Related pages

* [Screen capture](https://wiki.datadike.com/sonar/administration/user-activity/screen-capture.md) — turn capture on: settings, consents and assignments
* [Users Traces](https://wiki.datadike.com/sonar/administration/user-activity/users-traces.md) — the activity record of the same person
* [Employees](https://wiki.datadike.com/sonar/administration/employees/employees.md) — the people and their Windows usernames
* [Roles and permissions](https://wiki.datadike.com/sonar/administration/identities/roles.md) — **Manage Screen Capture** and **View Screen Captures**
