Open in the explorer

Allow audio and video playback redirection

Autoriser la redirection de la lecture audio et vidéo

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Remote Desktop Services › Remote Desktop Session Host › Device and Resource Redirection FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Services Bureau à distance › Hôte de la session Bureau à distance › Redirection de périphérique et de ressource
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
TerminalServer.admx
Internal name
TerminalServer/TS_CLIENT_AUDIO

Explanation

This policy setting allows you to specify whether users can redirect the remote computer's audio and video output in a Remote Desktop Services session.
Users can specify where to play the remote computer's audio output by configuring the remote audio settings on the Local Resources tab in Remote Desktop Connection (RDC). Users can choose to play the remote audio on the remote computer or on the local computer. Users can also choose to not play the audio. Video playback can be configured by using the videoplayback setting in a Remote Desktop Protocol (.rdp) file. By default, video playback is enabled.

By default, audio and video playback redirection is not allowed when connecting to a computer running Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003. Audio and video playback redirection is allowed by default when connecting to a computer running Windows 8, Windows Server 2012, Windows 7, Windows Vista, or Windows XP Professional.

If you enable this policy setting, audio and video playback redirection is allowed.

If you disable this policy setting, audio and video playback redirection is not allowed, even if audio playback redirection is specified in RDC, or video playback is specified in the .rdp file.

If you do not configure this policy setting audio and video playback redirection is not specified at the Group Policy level.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de spécifier si les utilisateurs peuvent rediriger la sortie audio et vidéo de l'ordinateur distant lors d'une session de services Bureau à distance.
Les utilisateurs peuvent définir l'emplacement de lecture de la sortie audio de l'ordinateur distant en configurant les paramètres audio de l'ordinateur distant sous l'onglet Ressources locales de la boîte de dialogue Connexion Bureau à distance. Ils peuvent choisir de lire la sortie audio de l'ordinateur distant à distance ou en local. Les utilisateurs peuvent également choisir de ne pas lire la sortie audio. La lecture vidéo peut être configurée à l'aide du paramètre videoplayback dans un fichier de protocole RDP (Remote Desktop Protocol) (.rdp). Par défaut, la lecture vidéo est activée.

Par défaut, la redirection de la lecture audio et vidéo n'est pas autorisée lors de la connexion à un ordinateur exécutant Windows Server 2008 R2, Windows Server 2008 ou Windows Server 2003. La redirection de la lecture audio et vidéo est autorisée par défaut lors de la connexion à un ordinateur exécutant Windows 8, Windows Server 2012, Windows 7, Windows Vista ou Windows XP Professionnel.

Si vous activez ce paramètre de stratégie, la redirection de la lecture audio et vidéo est autorisée.

Si vous désactivez ce paramètre de stratégie, la redirection de la lecture audio et vidéo n'est pas autorisée, même si la redirection de la lecture audio est spécifiée dans Connexion Bureau à distance ou si la lecture vidéo est spécifiée dans le fichier .rdp.

Si vous ne configurez pas ce paramètre de stratégie, la redirection de la lecture audio et vidéo n'est pas spécifiée au niveau de la stratégie de groupe.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
fDisableCam
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: TerminalServer/TS_CLIENT_AUDIO
$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 'fDisableCam' -Value 0 -Type DWord

Disable

# Disable: TerminalServer/TS_CLIENT_AUDIO
$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 'fDisableCam' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": TerminalServer/TS_CLIENT_AUDIO
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
Remove-ItemProperty -Path $k -Name 'fDisableCam' -ErrorAction SilentlyContinue

Availability