Turn on bandwidth optimization
Activer l’optimisation de la bande passante
Explanation
This policy setting allows you to improve performance in low bandwidth scenarios.
This setting is incrementally scaled from "No optimization" to "Full optimization". Each incremental setting includes the previous optimization setting.
For example:
"Turn off background" will include the following optimizations:
-No full window drag
-Turn off background
"Full optimization" will include the following optimizations:
-Use 16-bit color (8-bit color in Windows Vista)
-Turn off font smoothing (not supported in Windows Vista)
-No full window drag
-Turn off background
If you enable this policy setting, bandwidth optimization occurs at the level specified.
If you disable this policy setting, application-based settings are used.
If you do not configure this policy setting, application-based settings are used.
Ce paramètre de stratégie vous permet d’améliorer les performances dans les scénarios où la bande passante est faible.
Ce paramètre est ajusté de manière incrémentielle entre « Pas d’optimisation » et « Optimisation complète ». Chaque paramètre incrémentiel comprend le paramètre d’optimisation précédent.
Par exemple :
« Désactiver l’arrière-plan » comprend les optimisations suivantes :
- Pas de glissement de fenêtre entière
- Désactiver l’arrière-plan
« Optimisation complète » comprend les optimisations suivantes :
- Utiliser la couleur 16 bits (couleur 8 bits sous Windows Vista)
- Désactiver le lissage des polices (non pris en charge sous Windows Vista)
- Pas de glissement de fenêtre entière
- Désactiver l’arrière-plan
Si vous activez ce paramètre de stratégie, l’optimisation de la bande passante se produit au niveau spécifié.
Si vous désactivez ce paramètre de stratégie, les paramètres basés sur l’application sont utilisés.
Si vous ne configurez pas ce paramètre de stratégie, les paramètres basés sur l’application sont utilisés.
Registry
HKEY_LOCAL_MACHINE\Software\policies\Microsoft\Windows NT\Terminal Services- Value name
UseBandwidthOptimization
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: RemoteAssistance/RA_Optimize_Bandwidth
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseBandwidthOptimization' -Value 1 -Type DWord
# Optimize settings for reduced bandwidth
# Possible options:
# No optimization = 14
# No full window drag = 12
# Turn off background = 8
# Full optimization = 0
Set-ItemProperty -Path $k -Name 'OptimizeBandwidth' -Value 14 -Type DWordDisable
# Disable: RemoteAssistance/RA_Optimize_Bandwidth
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UseBandwidthOptimization' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": RemoteAssistance/RA_Optimize_Bandwidth
$k = 'HKLM:\Software\policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'UseBandwidthOptimization' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'OptimizeBandwidth' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Optimize settings for reduced bandwidth:Optimiser les paramètres pour une bande passante réduite :RA_Optimize_Bandwidth_List | Drop-down listenum | OptimizeBandwidth | REG_DWORD |
|