Prevent downloading of enclosures
Empêcher le téléchargement des fichiers joints
Explanation
This policy setting prevents the user from having enclosures (file attachments) downloaded from a feed to the user's computer.
If you enable this policy setting, the user cannot set the Feed Sync Engine to download an enclosure through the Feed property page. A developer cannot change the download setting through the Feed APIs.
If you disable or do not configure this policy setting, the user can set the Feed Sync Engine to download an enclosure through the Feed property page. A developer can change the download setting through the Feed APIs.
Ce paramètre de stratégie empêche le téléchargement de fichiers joints sur l’ordinateur de l’utilisateur à partir d’un flux.
Si vous désactivez ce paramètre de stratégie, l’utilisateur ne peut pas configurer le moteur de synchronisation de flux pour qu’il télécharge une pièce jointe via la page de propriétés Flux. Un développeur ne peut pas modifier le paramètre de téléchargement via les API de flux.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut configurer le moteur de synchronisation de flux pour qu’il télécharge une pièce jointe via la page de propriétés Flux. Un développeur peut modifier le paramètre de téléchargement par le biais des API de flux.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\FeedsHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Feeds- Value name
DisableEnclosureDownload
| 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.
Computer (HKLM)
Enable
# Enable: inetres/Disable_Downloading_of_Enclosures
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableEnclosureDownload' -Value 1 -Type DWordDisable
# Disable: inetres/Disable_Downloading_of_Enclosures
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableEnclosureDownload' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/Disable_Downloading_of_Enclosures
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
Remove-ItemProperty -Path $k -Name 'DisableEnclosureDownload' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"