Enable DEBUG logs on VMWare Horizon Agent

Typically, when working with the EUC/VDI solutions, the EUC admins and support professionals will have to troubleshoot agent connectivity and performance-related issues. To troubleshoot such scenarios, you will need the DEBUG logs. By default, DEBUG logging level is not enabled, so will have to enable DEBUG logging on the Horizon agent. Will see how we can enable that. 

  • First, browse the VMware Horizon Agent installation utilities directory (DCT)

C:\ProgramFiles\VMware\HorizonAgents\DCT>

  • Then, run the command support.bat loglevels to see the available logging levels

C:\ProgramFiles\VMware\HorizonAgents\DCT> support.bat loglevels

  • You will be presented with the available log levels

  • After reviewing, please select the desired log level (DEBUG) – option 2

  • Finally, to generate the log bundle run the batch file. So that it will generate a ZIP file on the Windows Desktop system. 

How to safely disable Horizon DaaS HTML access

A few months back one of our DaaS users reached out to us saying that their Cyber Insurance company was not ready to accept the Horizon DaaS external facing HTML access URL. So, we had to find a workaround that would not block the PCoIP and Blast protocols. Finally, we were able to come up with a workaround for this. All those changes were done on the Unified Access Gateways (UAG) systems. Will look at how we can apply those changes. 

  • Firstly, log into the UAG admin URL – https://IPADDRESS:9443/admin 

  • Select “Configure Manually” and enable “Edge Service Settings“, and then click on the “Horizon Settings

  • Then, scroll down till you find the option “Disable HTML Access“. Just disable HTML access. 

  • Finally, find the field called “Proxy Pattern” and update the values with the below values. (NOTE: we have simply removed certain URLs from the external access)

Default value:

 /|/(.*\.action|admin|images/|css/|js/|ajax/|appblast|appblast/|portal|view-client/|appimage/|horizonadmin|xmp|dt-rest|tams).*

New Value: 

/|/(.*\.action|images/|css/|js/|ajax/|portal|view-client/|appimage/|xmp|dt-rest|tams).*