Limit maximum color depth
Limiter le nombre maximal de couleurs
Explanation
This policy setting allows you to specify the maximum color resolution (color depth) for Remote Desktop Services connections.
You can use this policy setting to set a limit on the color depth of any connection that uses RDP. Limiting the color depth can improve connection performance, particularly over slow links, and reduce server load.
If you enable this policy setting, the color depth that you specify is the maximum color depth allowed for a user's RDP connection. The actual color depth for the connection is determined by the color support available on the client computer. If you select Client Compatible, the highest color depth supported by the client will be used.
If you disable or do not configure this policy setting, the color depth for connections is not specified at the Group Policy level.
Note:
1. Setting the color depth to 24 bits is only supported on Windows Server 2003 and Windows XP Professional.
2. The value specified in this policy setting is not applied to connections from client computers that are using at least Remote Desktop Protocol 8.0 (computers running at least Windows 8 or Windows Server 2012). The 32-bit color depth format is always used for these connections.
3. For connections from client computers that are using Remote Desktop Protocol 7.1 or earlier versions that are connecting to computers running at least Windows 8 or Windows Server 2012, the minimum of the following values is used as the color depth format:
a. Value specified by this policy setting
b. Maximum color depth supported by the client
c. Value requested by the client
If the client does not support at least 16 bits, the connection is terminated.
Ce paramètre de stratégie permet de spécifier la résolution de couleur maximale (intensité de couleur) pour les connexions des services Bureau à distance.
Vous pouvez utiliser ce paramètre de stratégie pour limiter l'intensité de couleur de toute connexion qui utilise RDP. La limitation de l'intensité de couleur peut améliorer les performances des connexions, en particulier en présence de liaisons lentes, et réduire la charge du serveur.
Si vous activez ce paramètre de stratégie, l'intensité de couleur que vous spécifiez correspond à l'intensité de couleur maximale autorisée pour la connexion RDP d'un utilisateur. L'intensité de couleur réelle de la connexion est déterminée par la prise en charge des couleurs disponible sur l'ordinateur client. Si vous sélectionnez « Compatible client », l'intensité de couleur la plus élevée prise en charge par le client est utilisée.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l'intensité de couleur pour les connexions n'est pas spécifiée au niveau de la stratégie de groupe.
Remarque :
1. La définition de l'intensité de couleur sur 24 bits n'est possible que sur Windows Server 2003 et Windows XP Professionnel.
2. La valeur spécifiée dans ce paramètre de stratégie n'est pas appliquée aux connexions établies par des ordinateurs clients qui utilisent au minimum le protocole RDP (Remote Desktop Protocol) 8.0 (ordinateurs exécutant au minimum Windows 8 ou Windows Server 2012). Le format d'intensité de couleur 32 bits est toujours utilisé pour ces connexions.
3. Pour les connexions établies par des ordinateurs clients qui utilisent le protocole RDP (Remote Desktop Protocol) 7.1 ou des versions antérieures, à destination d'ordinateurs exécutant au minimum Windows 8 ou Windows Server 2012, la valeur minimale des paramètres suivants est utilisée comme format d'intensité de couleur :
a. Valeur spécifiée par ce paramètre de stratégie
b. Intensité de couleur maximale prise en charge par le client
c. Valeur demandée par le client
Si le client ne prend pas en charge au moins 16 bits, la connexion est interrompue.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: TerminalServer/TS_COLORDEPTH
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Color Depth
# Possible options:
# Client Compatible = 999
# 15 bit = 2
# 16 bit = 3
# 24 bit = 4
# 32 bit = 5
Set-ItemProperty -Path $k -Name 'ColorDepth' -Value 999 -Type DWordDisable
# Disable: TerminalServer/TS_COLORDEPTH
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": TerminalServer/TS_COLORDEPTH
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'ColorDepth' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Color DepthIntensité de couleurTS_Color_Depth | Drop-down listenum | ColorDepth | REG_DWORD | Default choice (UI): #0
|