Limitar intensidade máxima de cor: valor do Registro ColorDepthComputadorHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

ID da política
TS_COLORDEPTH
Escopo
Configuração do Computador
Compatível com
Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista e Windows XP
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Serviços de Área de Trabalho Remota › Host de Sessão da Área de Trabalho Remota › Ambiente de Sessão Remota

Registro

ColorDepth

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Intensidade de Cor
Opções
ItemValor armazenado
Compatível com Cliente999
15 bits2
16 bits3
24 bits4
32 bits5
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Compatível com Cliente
"ColorDepth"=dword:000003e7
; 15 bits
"ColorDepth"=dword:00000002
; 16 bits
"ColorDepth"=dword:00000003
; 24 bits
"ColorDepth"=dword:00000004
; 32 bits
"ColorDepth"=dword:00000005
CMD
:: Opções (use apenas uma)

:: Compatível com Cliente
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 999 /f
:: 15 bits
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 2 /f
:: 16 bits
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 3 /f
:: 24 bits
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 4 /f
:: 32 bits
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 5 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# Opções (use apenas uma)
# Compatível com Cliente
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 999 -Force | Out-Null
# 15 bits
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 2 -Force | Out-Null
# 16 bits
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 3 -Force | Out-Null
# 24 bits
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 4 -Force | Out-Null
# 32 bits
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 5 -Force | Out-Null