Home ยป Citrix Session Recording Server Pt.3 Policies

Citrix Session Recording Server Pt.3 Policies

By:

Woman working on computer with multiple screens.

Welcome back to our series on Citrix Session Recording. In our previous post, we explored the configuration settings for the Session Recording Agent and Server. Today, we’ll delve into the policy settings essential for initiating session recordings. These policies outline the parameters for the type of recordings desired, identify triggering events, and define the scope for users, groups, or desktop sessions to be recorded.

Configuring a System-Defined Session Recording Policy

A system-defined session recording policy will apply to all agents connected to a session recording server. First, let’s revisit step 5 from Pt.1 of this series on installing the Session Recording Agent. I initially bypassed the HTTPS setup due to a lack of a certificate on the server. I’ll address that now. Note: Using HTTPS is optional; you can proceed with HTTP if preferred.

  1. Install an SSL certificate on the server if you plan to use HTTPS, then navigate to the Citrix folder via the Start menu, and open the Session Recording Policy Console.
  1. The server’s hostname should appear by default. You might need to enter the server’s FQDN to establish a connection.
Connect to Session Recording server screenshot.

Note: If using HTTPS and an error about unable to load site configuration appears, follow these steps:

Unable to load site configuration warning.

a. Open IIS Manager.

b. Navigate to the Sites folder, locate the SessionRecorderBroker node, and double-click the SSL Settings icon.

c. Uncheck “Require SSL” and apply the changes. Close IIS and relaunch the Policy Console.

IIS SSL Settings screenshot.
  1. Expand the Recording Policies folder. The default ‘Do Not Record’ policy is likely active, which means that the server is not going to record any sessions. Note that only one recording policy can be enabled at a time.
  1. To change this, select the policy Record entire sessions excluding audio with lossy screen recording enabled (for everyone, with notification). Right-click the policy and select Activate Policy.
  1. A green checkmark will appear next to the active policy, confirming its activation. This system-defined recording policy will now apply to all sessions on a VDA where a recording agent is installed.
Activating a different Session Recording policy.
  1. Start a session on a VDA configured with the recording agent to see a notification that the session is being recorded.
Screenshot of Session Recording notification.

Configuring a Custom Session Recording Policy

A custom recording policy targets specific agents based on defined criteria such as users, groups, or delivery groups. When configuring a custom recording policy, you must configure a rule, which specifies the recording action and the rule criteria.

For example, the next series of steps will create a custom policy that records the entire session of VDAs that are members of a specific delivery group.

  1. Open the Session Recording Policy Console, right-click the Recording Policies root folder, and choose Add New Policy.
Session Recording Policy console, add new policy screenshot.
  1. You’ll see a new policy with a default Fallback rule of Do Not Record. Right-click the new policy, and select Add Rule.
Session Recording Policy console; add rule screenshot.
  1. Follow the Rules Wizard. Choose to Enable session recording with notifications and lossy screen recording.
Selecting the recording options through the Session Recording rules wizard.
  1. You may see a prompt warning against assigning VDA administrator privileges to general session users. Click OK to acknowledge it.
Record policy warning.
  1. Specify the delivery groups or machines as your criteria. This involves selecting the appropriate delivery group that has VDAs with the recording agent installed.
Session Recording rules criteria screenshot.
  1. Click the Add button.
  1. On the Create Query pop-up enter the name of the CVAD delivery controller, or if using Citrix DaaS, select the Citrix Cloud Controller checkbox, then enter the name of the delivery group the rule will apply to.
Create Query step in the Rules wizard screenshot.

If using Citrix DaaS you may be prompted to sign in multiple times as part of validating the Citrix Cloud credentials. See Citrix documentation on how to create an authentication profile to alleviate this.

  1. Once the delivery group is found click Close.
Delivery Group selection step in Rules wizard screenshot.
  1. Click the second Add button to select the delivery group, then click OK.
  1. The delivery group will appear in the rule criteria.
  1. Name your rule, ensure it’s enabled, and confirm the Delivery Group selection.
  1. Finish setting up, right-click the new policy and activate it.
Activate the custom policy.

Launching a VDA session under this policy will have the following effect. VDAs not in the specified delivery group won’t be recorded. VDAs within the delivery group will see a notification that the session is being recorded, allowing precise control over recording practices.

Stay tuned for our next entry, where we’ll explore Event Detection and Event Response policies.

The views expressed by the author do not represent those of Citrix or Cloud Software Group.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *