Play sounds in web pages
Lire les sons dans les pages Web
Explanation
This policy setting allows you to manage whether Internet Explorer will play sounds found in web content. Generally only sound files such as MIDI files are affected by this setting; active Web content such as java applets are not.
If you enable this policy setting, Internet Explorer will play sounds found in Web content.
If you disable this policy setting, Internet Explorer will not play or download sounds in Web content, helping pages display more quickly.
If you enable this policy setting, Internet Explorer will play sounds found in Web content.
Ce paramètre de stratégie permet la configuration de la reproduction par Internet Explorer de sons contenus dans les pages Web. En général, seuls les fichiers audio tels que les fichiers MIDI sont touchés par ce paramètre ; le contenu actif, comme dans les applications Java, ne l’est pas.
Si vous activez ce paramètre de stratégie, Internet Explorer lit les sons contenus dans les pages Web.
Si vous désactivez ce paramètre de stratégie, Internet Explorer ne lit pas et ne télécharge pas les sons, ce qui accélère l’affichage des pages.
Si vous activez ce paramètre de stratégie, Internet Explorer lit les sons contenus dans les pages Web.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
Play_Background_Sounds
| State | Value written |
|---|---|
| Enabled | REG_SZ = yes |
| Disabled | REG_SZ = no |
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.
Computer (HKLM)
Enable
# Enable: inetres/Advanced_PlaySounds
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Play_Background_Sounds' -Value 'yes' -Type StringDisable
# Disable: inetres/Advanced_PlaySounds
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Play_Background_Sounds' -Value 'no' -Type StringRevert to "Not configured"
# Revert to "Not configured": inetres/Advanced_PlaySounds
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Play_Background_Sounds' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"