Limita intensità colore massima: valore del Registro di sistema ColorDepthComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

ID criterio
TS_COLORDEPTH
Ambito
Configurazione computer
Supportato in
Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista e Windows XP
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Servizi Desktop remoto › Host sessione di Desktop remoto › Ambiente sessione remota

Registro

ColorDepth

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Intensità colore
Opzioni
VoceValore memorizzato
Compatibile con client999
15 bit2
16 bit3
24 bit4
32 bit5
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services]

; Opzioni (usarne solo una)
; Compatibile con client
"ColorDepth"=dword:000003e7
; 15 bit
"ColorDepth"=dword:00000002
; 16 bit
"ColorDepth"=dword:00000003
; 24 bit
"ColorDepth"=dword:00000004
; 32 bit
"ColorDepth"=dword:00000005
CMD
:: Opzioni (usarne solo una)

:: Compatibile con client
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 999 /f
:: 15 bit
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 2 /f
:: 16 bit
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 3 /f
:: 24 bit
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 4 /f
:: 32 bit
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 5 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# Opzioni (usarne solo una)
# Compatibile con client
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 999 -Force | Out-Null
# 15 bit
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 2 -Force | Out-Null
# 16 bit
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 3 -Force | Out-Null
# 24 bit
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 4 -Force | Out-Null
# 32 bit
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 5 -Force | Out-Null