How to configure the color depth based on the user preference?

How to configure the color depth based on the user preference?

97
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:58 PM


Objective


Is there a way to configure the color depth based on the user preference?

When User opens an application and the whole content of application window is either red or transparent, therefore can not be used.
If the user connects directly to the target server via RDP (not via PSM) and opens the application, the applications runs correctly.

The application requires at least 24bit color. 
PSM Server is configured to support 16bit and ignores the color depth settings in Remote Desktop Connection manager or in custom RDP file.


Environment


9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1

Procedure


Login to the PSM server and ensure that:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\ColorDepth
If value is: 3, it means that depth is 16 bits.

Is not suggested to change this to avoid any incompatibility.

However this setting can be customized in the CC by adding the following parameter:
session:i:32 for instance.

It is suggest to copy the CC you are using to connect to the target and add one

From PVWA go to Administration > Configuration Options > Connection Components 
Expand the CC and Right click on the Component Parameters.
Select Add Parameter.
Set Name= session bpp:i
Set Value= 24

Apply and Save.

Restart the PSM service or wait for 10 minutes.

You will find more information regarding Color Depth for a Remote Session there:
https://technet.microsoft.com/en-us/library/cc772048%28v=ws.11%29.aspx?f=255&MSPPError=-2147217396
https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.TerminalServer::TS_COLORDEPTH


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000015iRCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail