Skip to main content

February 25, 2025

Using DCT to Collect Logs for Remote Desktop Features and Components

You can set log levels and generate log files in a Data Collection Tool (DCT) bundle for a specific remote desktop feature, or all remote desktop features, on a Horizon Agent for Windows, Horizon Client for Linux, Horizon Client for Mac, or Horizon Client for Linux system.

Default Installation Paths

The DCT scripts are installed in the following directories and run from the agent and client installation paths.

  • Horizon Agent for Windows: C:\Program Files\View\Agent\DCT\support.bat
  • Horizon Agent for Linux: /usr/lib/viewagent/bin/dct-debug.sh
  • Horizon Client for Windows: C:\Program Files (x86)\Horizon View Client\DCT\support.bat
  • Horizon Client for Mac: /Applications/Horizon Client.app/Contents/Library/dct/HorizonCollector.sh
  • Horizon Client for Linux: /usr/bin/view-log-collector

Command Syntax

Use the following commands to run the DCT script for each platform.

  • Horizon Agent for Windows: support.bat
  • Horizon Agent for Linux: dct-debug.sh
  • Horizon Client for Windows: support.bat
  • Horizon Client for Mac: HorizonCollector.sh
  • Horizon Client for Linux: view-log-collector

Supported Features

The remote desktop features listed in the following table have JSON configuration files that contain log level settings, log collection settings, and dump collection settings.

These services are available on Horizon Agent for Windows, Horizon Agent for Linux, Horizon Client for Windows, Horizon Client for Mac, and Horizon Client for Linux systems, with certain exceptions as noted.

For command-line options that accept feature names, specify the name shown in the Feature Name column.

Feature NameFull Feature NameDefault Log Level
AgentCoreAgent Core Note: This service is only available for Horizon Agent for Windows and Horizon Agent for Linux.DEBUG
AppscannerApp ScannerINFO
BlastBlast Note: This service is only available for Horizon Agent for Windows and Horizon Agent for Linux.INFO
BlastserverBlast Server Proxy Note: This service is only available for Horizon Agent for Linux.INFO
ClientClient Note: This service is not available for Horizon Agent for Windows or Horizon Agent for Linux.INFO
CDRClient Drive RedirectionINFO
ClipboardClipboard RedirectionINFO
CollabuiCollaboration UI Note: This service is only available for Horizon Agent for Linux.INFO
DesktopdaemonDesktop Daemon Controller Note: This service is only available for Horizon Agent for Linux.INFO
DPISyncDPI SynchronizationINFO
DnDDrag and Drop Note: This service is not available for Horizon Agent for Linux or Horizon Client for Linux.INFO
FAFile Type Association Note: This service is not available for Horizon Agent for Linux or Horizon Client for Linux.DEBUG
HelpdeskHelpDesk Note: This service is only available for Horizon Agent for Linux.INFO
TSMMRMultimedia Redirection Note: This service is not available for Horizon Agent for Linux or Horizon Client for Mac.INFO
PCoIPPCoIPINFO
PerfTrackerPerformance Tracker Note: This service is only available for Windows Agent.INFO
PrintRedirPrinter RedirectionINFO
PublishedAppPublished Applications Note: This service is not available for Horizon Agent for Linux.INFO
RdesvcRDE Service Note: This service is only available for Horizon Agent for Linux.INFO
RTAVRTAVDEBUG
ScannerRedirectionScanner Redirection Note: This service is not available for Horizon Agent for Linux or Horizon Client for Mac.INFO
SerialPortRedirectionSerial Port Redirection Note: This service is not available for Horizon Agent for Linux or Horizon Client for Mac.INFO
SmartCardSmart Card Redirection Note: This service is not available for Horizon Client for Windows.INFO
TruessoTrue SSO Note: This service is only available for Horizon Agent for Linux.DISABLED
UNCRDUNC Path Redirection Note: This service is only available for Horizon Agent for Windows and Horizon Client for Windows.INFO
URLRedirectionURL Content Redirection Note: This service is not available for Horizon Agent for Linux.INFO
USBUSB RedirectionDEBUG Note: For Horizon Agent for Linux, default is INFO.
VDPServiceVDPServiceINFO
WatermarkDigital WatermarkINFO
WebrtcRedirectionWebRTC RedirectionINFO

Command-Line Options

The following table describes the command-line options and usage.

OptionUsageDescription
-l-lLists log levels for all the features and components that DCT supports. For example, the output of the Horizon Client for Windows command support.bat -l lists all the components that DCT controls and the log level status:

- Agent Core          [INFO]
- PCoIP               [INFO]
- Virtual Channel     [INFO]
- VDP Service         [TRACE]
- Remote Features 
    - Client Drive Redirection  [TRACE]
    - Clipboard Redirection     [DEBUG]        
    - Drag and Drop             [TRACE]
    - DPI Synchronization       [INFO]
    - File Type Association     [INFO]
 -l feature1,feature2 ...Lists log levels for the specified features. For example, the output of the Horizon Client for Windows command support.bat -l CDR,DnD lists the log level status for the Client Drive Redirection and Drag and Drop features:

 - Client Drive Redirection  [TRACE]    
 - Drag and Drop             [TRACE]
 -l -dumpsQueries the dump settings for the configured processes. For example, the output of the Horizon Client for Windows command support.bat -l -dumps lists the name, dump type, and maximum dump count for each process:

Process Name                  Dump Type   Max Dump Count
========================================================
view.exe               Full        128
remotemks.exe          Full        128
appstub.exe            Full        128
horizon_client_service.exe    Full        NO LIMIT 
Note: This command is available only for Horizon Client for Windows.
 -l -dumps countQueries the dump count for the configured processes. Note: This command is available only for Horizon Client for Windows.
 -l -dumps typeQueries the dump type for the configured processes. Note: This command is available only for Horizon Client for Windows.
-ld-ld feature1,feature2 ...Lists log level details for the specified features.
-x-x All:levelSets the log level for all the features that DCT supports. Valid log levels are as follows:
  • Info
  • Debug
  • Trace
  • Verbose
 -x feature1:level1,feature2:level2 ...Sets the log level for the specified features or components. For example, the Horizon Client for Linux command view-log-collector -x All:TRACE sets the log level to Trace for all components. The Horizon Client for Linux command view-log-collect -x DnD:INFO,CDR:TRACE sets the log level for the Drag and Drop feature to Info and the log level for the Client Drive Redirection feature to Trace.
-r-rResets the log levels of all features to the installation defaults.
-c-c AllCollects all logs.
 -c feature1,feature2 ...Collects logs for the specified features or components.
-d-d directory1Redirects DCT output to the specified directory.
-f-f bundleNameSpecifies the full name of the log bundle file to bundleName.
-h-hDisplays help information for command-line options and lists supported features and components for DCT.
-del-del -dumps AllDeletes the dumps for all the features and components that DCT supports. Note: This command is available only for Horizon Client for Windows.
 -del -dumps feature1,feature2 ...Deletes the dumps for the specified features. For example, the output of the Horizon Client for Windows command support.bat -del -dumps Client,FA deletes the dump files for the Client and File Type Association features. Note: This command is available only for Horizon Client for Windows.

Real-Time Dump

For Horizon Client for Windows and Horizon Agent for Windows, real-time dump is also supported for some features. This function dumps the target process based on the configuration file setting and collects the dump in the log bundle. Whether a real-time dump needs to be generated depends on the feature's configuration.

For example, if you run the command support.bat -c for Horizon Client for Windows, the message You can choose to generate diagnostic dumps of the Horizon Client processes running on this machine, please note these files can be very large appears. If you choose Y, dump files are generated for existing processes related to Horizon Client for Windows.

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…