RemoteFX データの圧縮を構成する のレジストリ値 MaxCompressionLevelコンピューターHKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services

ポリシー ID
TS_SERVER_COMPRESSOR
適用対象
コンピューターの構成
サポートされるバージョン
Windows Vista Service Pack 1 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › リモート デスクトップ サービス › リモート デスクトップ セッション ホスト › リモート セッション環境

レジストリ

MaxCompressionLevel

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
RDP 圧縮アルゴリズム:
オプション
項目保存される値
メモリの使用量を節約するよう最適化1
ネットワーク帯域幅を節約するよう最適化3
メモリとネットワーク帯域幅のバランスを取る2
RDP 圧縮アルゴリズムを使用しない0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; メモリの使用量を節約するよう最適化
"MaxCompressionLevel"=dword:00000001
; ネットワーク帯域幅を節約するよう最適化
"MaxCompressionLevel"=dword:00000003
; メモリとネットワーク帯域幅のバランスを取る
"MaxCompressionLevel"=dword:00000002
; RDP 圧縮アルゴリズムを使用しない
"MaxCompressionLevel"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: メモリの使用量を節約するよう最適化
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "MaxCompressionLevel" /t REG_DWORD /d 1 /f
:: ネットワーク帯域幅を節約するよう最適化
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "MaxCompressionLevel" /t REG_DWORD /d 3 /f
:: メモリとネットワーク帯域幅のバランスを取る
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "MaxCompressionLevel" /t REG_DWORD /d 2 /f
:: RDP 圧縮アルゴリズムを使用しない
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v "MaxCompressionLevel" /t REG_DWORD /d 0 /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 'MaxCompressionLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# ネットワーク帯域幅を節約するよう最適化
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'MaxCompressionLevel' -PropertyType DWord -Value 3 -Force | Out-Null
# メモリとネットワーク帯域幅のバランスを取る
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'MaxCompressionLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# RDP 圧縮アルゴリズムを使用しない
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name 'MaxCompressionLevel' -PropertyType DWord -Value 0 -Force | Out-Null