Please provide your feedback in this short Flings' survey.
fling logo of Batch Data Collection Tool

Batch Data Collection Tool

version 1.0 — February 24, 2015

Contributors 1

View All

Comments 2

  • profile picture of Anonymous
  • profile picture of Anonymous
View All


This Fling generates and collects DCT/SVI logs on multiple Horizon View components, remotely, batchly, and in parallel.

View Components

  • View Connection Server (DCT log)
  • View Security Server (DCT log)
  • View Transfer Server (DCT log)
  • View Agent (DCT log, agent)
  • View Composer Server (SVI log)


  • Support parallel execution mode, and sequential execution mode
  • Configurable and fully automated, so it can be used as a scheduled task
  • Delete old logs, according to setting, to maintain log size


  • File sharing is opened on each server [this service must be enabled and working for the tool to work. In most cases, the service should be running by default]
  • Horizon View 6
  • Windows 7, or Windows server 2008 R2



  1. Download PsExec.exe from Microsoft, and put it in the "tools" directory
  2. All systems must be in the same or trusted domain
  3. Current user is domain profile and is system admin
  4. File sharing is opened on each server
  5. Windows 7, Windows server 2008 R2
  6. Horizon View 6


  • Edit configuration in "config.txt", including:
    1. Target systems to collect logs from
    2. Destination folder to store collected log archive
    3. (Optional) max logs to keep
    4. (Optional) parallel or not
  • Run command "BatchDCT.bat full" or "BatchDCT.bat quick"
  • There are two ways to use this tool. The "full" mode: collects the entire DCT logs, which can be big and the process takes a long time to complete. Note that the logging level depends on the current DCT logging level; BatchDCT will not change the logging level configuration on target servers. The "quick" mode: collects only the most recent log files.

For example, you can set:

  • MAX_QUICK_LOGS_TO_KEEP = 7 and create two scheduled tasks (e.g. in Windows Task Scheduler):
  • a) repeat every week, command: "BatchDCT.bat full"
  • b) repeat every day, command: "BatchDCT.bat quick"

If an issue happens and the logs are needed, upload at least one full log bundle (, together with all later quick log archives ( Why is this necessary? The logs collected by BatchDCT are in "full" mode and "quick" mode. The "full" logs contain all the information, and the "quick" logs contain only recent updates. So a "full" log might lack recent log files (because the "full" log could have been collected several days ago), and a "quick" log could lack some of the basic information contained in the "full" log.

Known issues and noted behavior

On each target view component server to collect DCT from, the folder /vdm-sdct will be cleared. This folder, created by the DCT tool, is used as output.  This BatchDCT tool will delete that folder each time it runs.


Similar Flings

Feb 22, 2021
fling logo of Horizon Helpdesk Utility

Horizon Helpdesk Utility


The Horizon Helpdesk Utility is designed to be a tool used by real help desk agents.

Apr 12, 2021
fling logo of Horizon Session Recording

Horizon Session Recording

version 2.2.5

VMware Horizon Session Recording allows administrators of a VMware Horizon environment record their users activity in their Blast Extreme virtual desktop and application sessions.

Jun 01, 2021
fling logo of Horizon Event Notifier

Horizon Event Notifier

version 1.5

This tool connects to one or more existing Horizon View Event Database(s) and allows the user to customize which types of alerts to be notified on.