Maximale kleurdiepte beperken: registerwaarde ColorDepthComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- Beleids-ID
- TS_COLORDEPTH
- Bereik
- Computerconfiguratie
- Ondersteund op
- Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, en Windows XP
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Windows-onderdelen › Extern bureaublad-services › Host extern-bureaubladsessie › Omgeving van externe sessies
Register
ColorDepth
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Kleurdiepte
| Item | Opgeslagen waarde |
|---|---|
| Compatibel met client | 999 |
| 15-bits | 2 |
| 16-bits | 3 |
| 24-bits | 4 |
| 32-bits | 5 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services] ; Opties (gebruik er maar één) ; Compatibel met client "ColorDepth"=dword:000003e7 ; 15-bits "ColorDepth"=dword:00000002 ; 16-bits "ColorDepth"=dword:00000003 ; 24-bits "ColorDepth"=dword:00000004 ; 32-bits "ColorDepth"=dword:00000005
CMD
:: Opties (gebruik er maar één) :: Compatibel met client 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
# Algemeen: sleutel maken New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null # Opties (gebruik er maar één) # Compatibel met client 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