Citrix Virtual Apps and Desktops and Citrix DaaS data source 编辑

October 20, 2022 Contributed by:  AC M

Citrix Virtual Apps and Desktops and Citrix DaaS data source

The Apps and Desktops data source represents on-premises Citrix Virtual Apps and Desktops and Citrix DaaS (formerly Citrix Virtual Apps and Desktops service) in your organization.

Citrix Analytics for Security supports both the offerings and receives user events from the data source. This article walks you through the prerequisites and the procedures to enable Analytics on both the offerings.

Citrix Analytics for Security receives user events from the following components of the Citrix Virtual Apps and Desktops and Citrix DaaS data source:

  • Citrix Workspace app installed on the user devices

  • Citrix Director for on-premises deployment

  • Citrix Monitor service

  • Session recording servers

The user events are received in real time in Citrix Analytics for Security when users use virtual apps or virtual desktops.


Supported client versions

Citrix Analytics receives user events when a supported client version is used on the user endpoints. If users are using any unsupported client versions, they must upgrade their clients to one of the following versions:

  • Citrix Workspace app for Windows 1907 or later

  • Citrix Workspace app for Mac 1910.2 or later

  • Citrix Workspace app for HTML5 2007 or later

  • Citrix Workspace app for Chrome-Latest version available in Chrome Web Store

  • Citrix Workspace app for Android-Latest version available in Google Play

  • Citrix Workspace app for iOS-Latest version available in Apple App Store

  • Citrix Workspace app for Linux 2006 or later


Enable Analytics on Citrix DaaS

Prerequisites

  • Subscribe to Citrix DaaS offered on Citrix Cloud. To learn how to get started with Citrix DaaS, see Install and configure
    .

  • Review the System Requirements
    section and ensure that you met the requirements.

View the data source and turn on data processing

Citrix Analytics automatically discovers Citrix DaaS associated with your Citrix Cloud account.

To view the data source:

From the top bar, click Settings > Data Sources > Security.

The Apps and Desktops- Workspace app site card appears on the Data Sources page. Click Turn On Data Processing to allow Citrix Analytics to begin processing data for this data source.

Linked data source

View cloud site, users, and received events

The site card displays the number of Apps and Desktops users, the discovered cloud site, and the received events for the last one hour, which is the default time selection. You can also select 1 week (1 W) and view the data.

Click the number of received events to view the events on the self-service search
page.

Linked data source

After you have enabled data processing, the site card might display the No data received status. This status appears for two reasons:

  1. If you have turned on data processing for the first time, the events take some time to reach the event hub in Citrix Analytics. When Citrix Analytics receives the events, the status changes to Data processing on. If the status does not change after some time, refresh the Data Sources page.

  2. Analytics has not received any events from the data source in the last one hour.

    No data virtual apps


Enable Analytics on Citrix Virtual Apps and Desktops on-premises

Citrix Analytics receives user events from on-premises sites added to Workspace and sites accessed through StoreFront deployments.

If your organization is using on-premises sites, you must use one of the following methods to onboard your sites so that Analytics discovers the sites:

Prerequisites

  • You must have a license to use the Citrix Virtual Apps and Desktops on-premises solution. To learn how to get started with Citrix Virtual Apps and Desktops on-premises, see Install and configure
    .

  • Review the System Requirements
    section and ensure that you met the requirements.

  • Your Delivery Controller and Director are on version 1912 CU2 or later. For more information, see Feature compatibility matrix
    .

  • Subscription to Citrix Workspace. If you want to add your sites to Citrix Workspace, you must require a Workspace subscription.

    To purchase a Citrix Workspace subscription, visit https://www.citrix.com/products/citrix-workspace/get-started.html
    and contact a Citrix Workspace expert who can help you.

  • Sites added to Workspace. Citrix Analytics automatically discovers the sites added to Citrix Workspace. Add your sites to Citrix Workspace before proceeding with onboarding on Citrix Analytics. This process is known as Site aggregation.

    Site aggregation requires you to install Cloud Connector, configure NetScaler Gateway STA servers for internal and external connectivity to Workspace resources, and then add the sites to Workspace. For detailed instructions on site aggregation, see Aggregate on-premises virtual apps and desktops in workspaces
    .

  • StoreFront version. If you are using a StoreFront deployment for your sites, ensure that the StoreFront version is 1906 or later.

  • Site credentials for Citrix Analytics. While configuring your site for the Actions feature of Citrix Analytics, you have to provide the Citrix administrator credentials for your on-premises site. These credentials must have the following permissions:

    1. Citrix administrator role: Full Administrator

    2. Active Directory: Domain Users

  • Server URL for Citrix Director. Using this information, Citrix Analytics accesses the real-time data available to provide in-depth analysis of user behavior in your site.

  • Delivery Controller. During the process of configuring your site for advanced Citrix Analytics features such as policies and actions, you have to install a policy agent on a Delivery Controller in your on-premises site. This agent enables your site to communicate with Citrix Analytics on port 443 (HTTPS).

    Ensure that the Delivery Controller hosting the agent meets the following requirements:

    • Supports PowerShell 3.0 or later.

    • Outbound connections on TCP port 443 (HTTPS) are allowed.

Onboard Citrix Virtual Apps and Desktops on-premises sites using Workspace

Sites already added to Citrix Workspace

Citrix Analytics automatically discovers the on-premises sites that are already added to Citrix Workspace and displays them on the data source site card.

To view the data source:

From the top bar, click Settings > Data Sources > Security.

The Apps and Desktops site card displays the number of sites added to Workspace and the users connected to these sites. Click the site count to view the discovered sites. Click the user count to view the discovered users on the Users page.

Linked data source

Sites not added to Citrix Workspace

If you have not already added your on-premises sites to Workspace, Analytics cannot discover your sites. The site card displays 0 discovered sites.

To add a site to Workspace:

  1. Click + on the site card.

    Data Source

  2. On the Workspace Configuration page, click +Add Site.

    Workspace

  3. Follow the on-screen instructions to add a Site. For more information, see Aggregate on-premises virtual apps and desktops in workspaces
    .

  4. After adding the site, log back to Citrix Analytics and refresh the Data Sources page to view the recently added site on the site card.

Turn on data processing and view received events

To allow Analytics to begin processing data for the discovered sites, click Turn On Data Processing on the site card and follow the prompts on the screen.

If you have multiple sites added to the same Workspace, Analytics processes and stores data for all the sites in the Workspace. You get a success message when Analytics is successfully enabled on all your sites.

Enable Analytics Success

The site card displays the received events for the last one hour, which is the default time selection. You can also select 1 week (1 W) and view the data. Click the number of received events to view the events on the corresponding self-service search
page.

After you have enabled data processing, the site card might display the No data received status. This status appears for two reasons:

  1. If you have turned on data processing for the first time, the events take some time to reach the event hub in Citrix Analytics. When Citrix Analytics receives the events, the status changes to Data processing on. If the status does not change after some time, refresh the Data Sources page.

  2. Analytics has not received any events from the data source in the last one hour.

    No data virtual apps

Configure a policy agent on your site

The site card displays the Policy configuration incomplete message when a policy agent is not installed on your discovered site. The policy agent enables you to apply the policies and actions
on the user events received from your site.

Note

The policy agent is required only for configuring policies and has no role in data transmission from your site. After the site is onboarded, Citrix Analytics receives data regardless of whether the policy agent is installed or not.

Connectivity requirements:

  • If you are using a proxy server in your Citrix environment, ensure that the following connectivity requirements are met:

    • The proxy server must use the basic authentication method.

    • The proxy server must forward the HTTPS or HTTP request from the policy agent without any change.

    • The https://manage-disc.citrix.com address must be accessible. You must not get any proxy error while accessing the address.

      Note

      However you might get the page not secure or the connection not private warning message while accessing the address through a web browser. You can proceed with the warning to view the page. The page does not contain any information to display. The policy agent uses this address to connect to the application server on the Citrix environment.

    • The policy agent uses the proxy configuration details defined for the machine on which the policy agent is installed. Ensure that the proxy configuration details are the same for the web browser and the machine.

  • If the machine on which you are installing a policy agent is behind a firewall, add the following addresses in your firewall exception list. These addresses are required to establish a connection between the policy agent on your machine and the application server on the Citrix environment:

    • https://smart.cloud.com

    • https://rttf.citrix.com

    • https://citrixworkspacesapi.net

    • https://ctxsym.citrix.com

    • https://manage-disc.citrix.com

    • 13.82.89.73

    • 40.87.65.119

    • 52.168.86.226

    • 13.92.86.28

To install and configure a policy agent:

  1. Click either Sites or Policy configuration incomplete on the site card to view to the Discovered Sites page to install the policy agent.

    Continue setup

  2. Click the site that displays the Policy configuration incomplete message.

    Discovered agent

  3. Click Continue. The Install and Configure Analytics Policy Agent wizard appears.

    Install Agent

  4. Click Download Agent and save the policy agent package. Install the policy agent on one of the Delivery Controllers in your site. For high availability and reliability, Citrix recommends that you install multiple policy agents on each site.

    Note

    Ensure that your browser settings are configured to not block pop-up windows, else the policy agent might not download to your system.

    Download Agent

  5. After the installation finishes, click Connect to Installed Agent. The agent registers your site with Citrix Analytics. This process might take a few minutes.

  6. Enter the user name and password for your site administrator account and then click Next. Citrix Analytics verifies your entries.

    Controller Credential

  7. Enter your site’s Director URL and click Next.

    Provide Director URL

  8. Review the configuration summary, verify that your site is available for Citrix Analytics, and the policy agent is online. Click Done to close the wizard.

    Review Summary

The site setup is completed successfully.

Add a site

If you want to add another on-premises site to Workspace, you can add it from Analytics:

  1. On the site card, click the number of sites to view the Discovered Sites page.

    Site selection

  2. On the Discovered Sites page, click + Add more Virtual Apps and Desktops Sites to Workspace.

    Multiple sites

  3. On the Workspace Configuration page, click +Add Site.

    Workspace

  4. Follow the on-screen instructions to add a site. For more information, see Aggregate on-premises virtual apps and desktops in workspaces
    .

  5. After adding the site, go to Citrix Analytics and refresh the Data Sources page to view the recently added site on the site card.

Onboard Citrix Virtual Apps and Desktops on-premises sites using StoreFront

For information about the prerequisites and the onboarding steps, see the Citrix Virtual Apps and Desktops data source
article on the Citrix Analytics platform documentation.


Connect to Citrix Director for on-premises sites

Citrix Director
is a monitoring and troubleshooting console for Citrix Virtual Apps and Desktops. You can use Director to configure your on-premises sites for Citrix Analytics for Security (Security Analytics). After the sites are configured, Director sends monitoring events to Security Analytics.

If you are using Citrix DaaS, the Citrix Monitor service sends events from your cloud site to Security Analytics.

In a hybrid environment where you have both cloud and on-premises deployments, Security Analytics receives events from the Citrix Monitor service and the sites onboarded on Citrix Director.

Prerequisite and configuration steps

Notes

  • Currently, the Director user interface displays the configuration steps related to Citrix Analytics for Performance (Performance Analytics). These configuration steps are also applicable for Citrix Analytics for Security (Security Analytics). If you have an active Citrix Cloud entitlement for Security Analytics, you can connect to Citrix Director by following those steps.

  • If your Citrix Cloud account has active entitlements for both Security Analytics and Performance Analytics and you have already configured your site for Performance Analytics, you do not need to configure Director again for Security Analytics.

For information on the prerequisites and configuration steps, see Citrix Analytics for Performance documentation
.

View your connected sites and received events

  1. In Citrix Analytics, go to the Data Sources page.

  2. Click the Security tab.

  3. On the Apps and Desktops- Monitoring site card, you can view your on-premises sites or the cloud site (which ever is applicable). You also view the events received from the sites.

    Connected monitoring sites

    Notes

    • The first time you configure an on-premises site on Director, events from the site might take some time (approximately an hour) to get processed; causing a delay in the display of the connected site on the Apps and Desktops- Monitoring site card.

    • On the Monitoring site card, the data processing for the Monitor service or the Director data source is enabled by default. You can also turn off the data processing depending on your requirement. However, it is recommended to keep the data processing on to get maximum benefits from Security Analytics.

  4. Click the sites to view the details.

    Monitoring site details


Connect to Session Recording deployment

Session Recording
allows you to record the on-screen activity of any user session in Citrix Virtual Apps and Desktops and Citrix DaaS. You can configure the Session Recording servers to send the user events to Citrix Analytics for Security. The user events are processed to provide actionable insights into the users’ risky behaviors.

Prerequisites

Before you begin, ensure the following:

  • Your Session Recording server and the VDA agent must be 2103 or later.

  • The Session Recording server must be able to connect to the following addresses:

  • The Session Recording deployment must have port 443 open for outbound internet connections. Any proxy servers on the network must allow this communication with Citrix Analytics for Security.

  • If you are using Citrix Virtual Apps and Desktops 7 1912 LTSR, the supported Session Recording version is 2103 or later.

Configure your Session Recording server

  1. On the Apps and Desktops- Session Recording site card, click Connect Session Recording server.

    Session recording connection

  2. On the Connect Session Recording Server page, review the checklist, and select all the mandatory requirements. If you do not select a mandatory requirement, the Download File option is disabled.

    Session recording checklist

  3. If you have proxy servers in your network, enter the proxy address in the SsRecStorageManager.exe.config file in your Session Recording server.

    The configuration file is located at <Session Recording Server installation path>\bin\SsRecStorageManager.exe.config

    For example: C:\Program Files\Citrix\SessionRecording\Server\Bin\SsRecStorageManager.exe.config

    Config file path

  4. Click Download File to download the SessionRecordingConfigurationFile.json file.

    Note

    The file contains sensitive information. Keep the file in a safe and secure location.

  5. Copy the file to the Session Recording server that you want to connect to Citrix Analytics for Security.

  6. If you have multiple Session Recording servers in your deployment, you must copy the file in each server that you want to connect and follow the steps to configure each server.

  7. On the Session Recording server, run the following command to import the settings:

    <Session Recording Server installation path>\bin\SsRecUtils.exe -Import_SRCasConfigurations <configuration file path>

    For example:

    C:\Program Files\Citrix\SessionRecording\Server\bin\ SsRecUtils.exe -Import_SRCasConfigurations C:\Users\administrator \Downloads\SessionRecordingConfigurationFile.json

  8. Restart the following services:

    • Citrix Session Recording Analytics Service

    • Citrix Session Recording Storage Manager

  9. After configuration is successful, go to Citrix Analytics for Security to view the connected Session Recording server. Click Turn On Data Processing to allow Citrix Analytics for Security to process the data.

    Note

    If you are using Session Recording server version 2103 or 2104, you must first launch an Apps and Desktops session to view the connected Session Recording server on Citrix Analytics for Security. Otherwise the connected Session Recording server fails to get displayed. This requirement is not applicable for Session Recording server version 2106 and later.

View the connected deployments

The server deployments appear on the Session Recording site card only if the configuration is successful. The site card shows the number of configured servers that have established connections with Citrix Analytics for Security.

If you don’t see your Session Recording servers even after the configuration was successful, refer to the Troubleshooting article
.

Session recording deployment

On the site card, click the number of deployments to view the connected server groups with Citrix Analytics for Security. For example, click 1 Session Recording Deployment to view the connected server or server groups. Each Session Recording server is represented by a base URL and a ServerGroupID.

SR deployment details

View received events

The site card displays the connected Session Recording deployments and the events received from these deployments for the last one hour, which is the default time selection. You can also select 1 week (1 W) and view the data. Click the number of received events to view the events on the self-service search page.

After you have enabled data processing, the site card might display the No data received status. This status appears for two reasons:

  1. If you have turned on data processing for the first time, the events take some time to reach the event hub in Citrix Analytics. When Citrix Analytics receives the events, the status changes to Data processing on. If the status does not change after some time, refresh the Data Sources page.

  2. Citrix Analytics has not received any events from the data source in the last one hour.

Add Session Recording servers

To add a Session Recording server, do one of the following:

  • On the Connected Session Recording Deployments page, click Connect to Session recording server.

    Connect deployment

  • On the Apps and Desktops- Session Recording site card, click the vertical ellipsis (⋮) and then select Connect Session Recording server.

    Session recording connection

Follow the steps to download the configuration file and configure a Session Recording server.

Remove Session Recording servers

To remove a Session Recording server:

  1. On Citrix Analytics for Security, go to the Connected Session Recording Deployments page and select the server deployment that you want to remove.

  2. Click the vertical ellipses (⋮) and select Remove Session Recording server from Analytics.

    Remove session recording server

  3. On the Session Recording server that you have removed from Citrix Analytics, run the following command:

    <Session Recording Server installation path>\bin\SsRecUtils.exe -Remove_SRCasConfigurations

    For example:

    C:\Program Files\Citrix\SessionRecording\Server\bin\ SsRecUtils.exe -Remove_SRCasConfigurations


Enabling print telemetry for Citrix DaaS

When users perform printing jobs in Citrix DaaS (formerly Citrix Virtual Apps and Desktops service), you can view the logs related to these printing jobs in Citrix Analytics for Security. These printing logs provide vital information about the printing activities such as printer names, print file names, and total printed copies.

In Citrix Analytics for Security, on the Search page, you can select the Apps and Desktops data source to view the printing logs. As a security administrator, you can use these logs for risk analysis and investigation of your users.

By default, the print telemetry feature, which is the collection and transmission of these printing logs, is disabled on the Virtual Delivery Agents (VDAs).

To enable the print telemetry and transmission of printing logs to Citrix Analytics for Security, you need to create registry keys and configure your VDA.

Important

This configuration is only applicable for the Windows VDAs.

Prerequisites

Enable print telemetry in power managed machines

The power-managed machines include virtual machines or blade PCs with the following scenarios:

  • Existing master image
  • New master image

Enable print telemetry for an existing master image where the VDA version is lower than Citrix Virtual Apps and Desktops 7 2203 LTSR

  1. Log in to the master VDA machine and create a snapshot of the current state.

  2. Enable print service logs by adding the following registry keys:

    • Microsoft-Windows-PrintService/Operational
    • ShowJobTitleInEventLogs

    For more information about the registry keys, see Create registry keys
    .

  3. Upgrade the VDA to a baseline version for Citrix Virtual Apps and Desktops 7 2203 LTSR or later. For more information, see Citrix Virtual Apps and Desktops 7 2203 baseline components
    .

  4. Power off the machine and take a snapshot of the latest state.

  5. Log in to Citrix Cloud. Select the machine catalog, click Update Machines, and follow the on-screen instructions. For more information, see Create machine catalogs
    .

  6. Wait for 24 hours. The configuration is pushed automatically within 24 hours. If the configuration is already completed, you need not wait.

  7. Start a desktop session using Citrix Workspace app. All the triggered print events using the client printer are visible on the Search page in Citrix Analytics for Security.

Enable print telemetry for an existing master image where the VDA version is same as Citrix Virtual Apps and Desktops 7 2203 LTSR or later

Option 1: Add the print registry keys in the master VDA and update virtual desktops.

  1. Log in to the master VDA machine and create a snapshot of the current state.
  2. Enable print service logs by adding the following registry keys:
    • Microsoft-Windows-PrintService/Operational
    • ShowJobTitleInEventLogs

    For more information about the registry keys, see Create registry keys
    .

  3. Power off the VDA machine and take a snapshot of the latest state.
  4. Log in to Citrix Cloud, select the machine catalog, click Update Machines, and follow the on-screen instructions.
  5. Start a desktop session using Citrix Workspace app. All the triggered print events using the client printer are visible on the Search page in Citrix Analytics for Security.

Option 2: Move the virtual desktop to the organizational unit (OU) and create registry keys using GPO

Note

Option 2 method only works for static machines. For random machines, you must follow option 1 method (as mentioned above).

  1. Log in to the Domain Controller machine.
  2. Enable print service logs by adding the following registry keys:

    • Microsoft-Windows-PrintService/Operational
    • ShowJobTitleInEventLogs

    For more information about the registry keys, see Create registry keys
    .

Note

In any domain controller, creating the registry keys is a one-time task.

  1. Restart the VDA machine from Citrix Cloud.
  2. Start a desktop session using Citrix Workspace app. All the triggered print events using the client printer are visible on the Search page in Citrix Analytics for Security.

Enable print telemetry in a new master image

  1. Create a virtual machine (VM) by using the hypervisor’s management tool. This VM is treated as master VDA.
  2. Ensure that the master VDA is added to the required domain.
  3. Log in to the master VDA and enable the print service logs by adding the following registry keys:
    • Microsoft-Windows-PrintService/Operational
    • ShowJobTitleInEventLogs

    For more information, see Create registry keys
    .

  4. Install the VDA version for Citrix Virtual Apps and Desktops 7 2203 LTSR or later. While installing the VDA, select the Master Image option. For more information, see Citrix Virtual Apps and Desktops 7 2203 baseline components
    .
  5. Ensure that the hosting connection is added to Citrix Cloud. For more information, see Create machine catalogs
    .
  6. Create a machine catalog using the master image. For more information, see Create machine catalogs
    .
  7. Create a delivery group and add the machine catalog. For more information, see Create delivery groups
    .
  8. Wait for 24 hours. The configuration is pushed automatically within 24 hours by the group policy engine.
  9. Start a desktop session using Citrix Workspace app. All the triggered print events using the client printer are visible on the Search page in Citrix Analytics for Security.

Enable print telemetry in machines that are not power managed

The non-power managed machines include the physical computers with the following scenarios:

  • Existing physical VDA
  • New physical VDA

Enable print telemetry for an existing physical VDA where the VDA version is lower than Citrix Virtual Apps and Desktops 7 2203 LTSR

  1. Enable print service logs by adding following registry keys:

    • Microsoft-Windows-PrintService/Operational
    • ShowJobTitleInEventLogs

    For more information, see Create registry keys
    .

  2. Upgrade the VDA to a baseline version for Citrix Virtual Apps and Desktops 7 2203 LTSR or later. For more information, see Citrix Virtual Apps and Desktops 7 2203 baseline components
    .

  3. Wait for 24 hours. The configuration is pushed automatically within 24 hours. If the configuration is already completed, then you need not wait.

  4. Start a desktop session using Citrix Workspace app. All the triggered print events using the client printer are visible on the Search page in Citrix Analytics for Security.

Enable print telemetry for a new physical VDA

  1. Create a physical VM and change the domain to the required domain name.
  2. Log in to the VM and enable the print service logs by adding the following registry keys:
    • Microsoft-Windows-PrintService/Operational
    • ShowJobTitleInEventLogs

    For more information, see Create registry keys
    .

  3. Install the VDA version for Citrix Virtual Apps and Desktops 7 2203 LTSR release or later. While installing VDA, select the Remote PC Access option.
  4. Create a machine catalog. For more information, see Create machine catalogs
    .

    Note

    Machine management must be selected as Machines that are not power managed (for example, physical machines).

  5. Create a delivery group and add the machine catalog. For more information, see Create delivery groups
    .

  6. Wait for 24 hours. The configuration is pushed automatically within 24 hours by the group policy engine.

  7. Start a desktop session using Citrix Workspace app. All the triggered print events using the client printer are visible in the Search page in Citrix Analytics for Security.

Create registry keys

In your VDA, do one of the following options:

  • Create registry keys manually. Use this method for master VDAs and having a smaller number of physical VDAs in your deployment.

  • Create registry keys by using group policy object (GPO). Use this method when your deployment has a greater number of physical VDA machines and need to enable the print telemetry in all of them.

Registry keys details

SLRegistry key namePurpose of the keyRegistry details 
 1Microsoft-Windows-PrintService/OperationalEnables print service logs in event viewer.Registry path: HKLM:\SYSTEM\CurrentControlSet\Services\EventLog
 2ShowJobTitleInEventLogsControls whether the print job name is included in print event logs, otherwise considers the generic job name “Print Document.Registry Hive: HKEY_LOCAL_MACHINE
    Registry Path: Software\Policies\Microsoft\Windows NT\Printers
    Value Name: ShowJobTitleInEventLogs
    Value Type: REG_DWORD
    Value: 1

Create registry keys manually in a VDA machine

Use this approach to create the registry key in the VDA master image. Adding keys to the master image helps to keep the keys persistent for all types of VDAs that are created by using the master image.

  1. Sign in to the VDA master machine.
  2. Open Run and type Regedit to open the Windows registry.
  3. Go to location HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog
  4. Right-click EventLog and select New > Key.

    New key

  5. Create a key with the name Microsoft-Windows-PrintService/Operational. This key enables the print service logs.

    Key name

  6. Go to the location HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers.

    Note

    If the Printers folder is not available, then create a key with the name Printers in the Windows NT folder.

    Printer

  7. Right-click the Printers folder and select New > DWORD (32-bit) Value.

    New key value

  8. Create a value with the name ShowJobTitleInEventLogs.

    Printer value name

  9. Right-click ShowJobTitleInEventLogs and select Modify. Enter the Value data as 1 and click OK.

    Modify data value

Create registry keys in multiple VDAs using GPO

This approach works only for the persistent VDAs and requires restart of the VDAs after creation of the registry keys. A persistent VDA is a machine that maintains its state after a restart. The users’ data are not lost after the restart.

Create registry GPO with the registry keys

  1. Open Group Policy Management and right-click Group Policy Objects.

    Group policy object

  2. In the New GPO window, enter the values in the following fields:

    • Name: Enable Print Trace
    • Source Starter GPO: (none)

    New gpo

  3. Select OK.
  4. Right-click the Enable Print Trace object that you created and select Edit.

    Enable Print Trace

  5. In the Computer Configuration list, select Preferences > Windows Settings.

    Windows settings

  6. Right-click Registry, select New > Registry Item. Enter the following properties to enable print logs:
  • Action: Update
  • Hive: HKEY_LOCAL_MACHINE
  • Key Path: SYSTEM\CurrentControlSet\Services\EventLog\Microsoft-Windows-PrintService/Operational

    New registry item

  1. Select Apply and then select OK.

  2. Again, right-click Registry, select New > Registry Item. Enter the following properties to enable print job names:

    • Action: Update
    • Hive: HKEY_LOCAL_MACHINE
    • Key Path: SOFTWARE\Policies\Microsoft\Windows NT\Printers
    • Value Name: ShowJobTitleInEventLogs
    • Value Type: REG_DWORD
    • Value Data: 1
    • Base: Decimal

    Registry attributes

Enable print trace for the organizational unit

  1. Open Group Policy Management and select the domain (for example - xd.local) or the OU if VDAs are part of it (for example - VDA-OU.

  2. Right-click the domain (xd.local) or OU (VDA-OU) and select Link an Existing GPO.

    Link an Existing GPO

  3. In the Select GPO dialog box, select Enable Print Trace and select OK.

    Enable print trace gpo

  4. Verify that the Enable Print Trace GPO is linked to the OU.

    Enable print trace gpo linked

Note

  • When you do a VDA restart, any events in the queue are lost and will not be available in Citrix Analytics.
  • This restart has a low impact on a single session VDA because only one session can be active at a given time, accordingly the number of events are less.
  • This restart has a high impact on a multi-session VDA as all the active sessions are terminated during the restart and the events that are in the queue are lost.


Turn on or off data processing on the data source

You can stop the data processing at any time for a particular data source- Director and Workspace app. On the data source site card, click the vertical ellipsis (⋮) > Turn off data processing. Citrix Analytics stops processing data for that data source. You can also stop the data processing from the Apps and Desktops site card. This option applies to both data sources- Director and Workspace app.

To enable data processing again, click Turn On Data Processing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:20 次

字数:52678

最后编辑:6 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文