色の解像度を制限する のレジストリ値 ColorDepthコンピューターHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

ポリシー ID
TS_COLORDEPTH
適用対象
コンピューターの構成
サポートされるバージョン
Windows Server 2008、Windows Server 2003、Windows 7、Windows Vista、および Windows XP
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › リモート デスクトップ サービス › リモート デスクトップ セッション ホスト › リモート セッション環境

レジストリ

ColorDepth

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
色の解像度
オプション
項目保存される値
クライアント互換999
15 ビット2
16 ビット3
24 ビット4
32 ビット5
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; クライアント互換
"ColorDepth"=dword:000003e7
; 15 ビット
"ColorDepth"=dword:00000002
; 16 ビット
"ColorDepth"=dword:00000003
; 24 ビット
"ColorDepth"=dword:00000004
; 32 ビット
"ColorDepth"=dword:00000005
CMD
:: 選択項目 (1 つだけ使用)

:: クライアント互換
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 999 /f
:: 15 ビット
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 2 /f
:: 16 ビット
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 3 /f
:: 24 ビット
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 4 /f
:: 32 ビット
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "ColorDepth" /t REG_DWORD /d 5 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# クライアント互換
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 999 -Force | Out-Null
# 15 ビット
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 2 -Force | Out-Null
# 16 ビット
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 3 -Force | Out-Null
# 24 ビット
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 4 -Force | Out-Null
# 32 ビット
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -PropertyType DWord -Value 5 -Force | Out-Null