Prevent subscribing to or deleting a feed or a Web Slice
Empêcher l’abonnement à un flux ou un composant Web Slice ou sa suppression
Explanation
This policy setting prevents the user from subscribing to or deleting a feed or a Web Slice.
If you enable this policy setting, the menu command to subscribe to a feed and the menu command to delete a feed are disabled, and access to Web Slices is turned off. A developer cannot add a feed or Web Slice or delete a feed or Web Slice by using the Feed APIs. A developer also cannot create or delete folders.
If you disable or do not configure this policy setting, the user can subscribe to a feed or Web Slice through the Subscribe button in Internet Explorer and delete a feed or Web Slice through the feed list control. A developer can add or delete a feed or Web Slice by using the Feed APIs.
Ce paramètre de stratégie empêche l’utilisateur de s’abonner à un flux ou de supprimer un flux ou un composant Web Slice.
Si vous activez ce paramètre de stratégie, la commande de menu permettant de s’abonner à un flux et la commande de menu permettant de supprimer un flux sont désactivées. En outre, l’accès aux composants Web Slice est désactivé. Un développeur ne peut pas ajouter ou supprimer un flux ou un composant Web Slice via les API de flux. Un développeur ne peut pas non plus créer ou supprimer de dossiers.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut s’abonner à un flux ou un composant Web Slice à l’aide du bouton S’abonner d’Internet Explorer et supprimer un flux ou un composant Web Slice grâce au contrôle de la liste de flux. Un développeur peut ajouter ou supprimer un flux ou un composant Web Slice à l’aide des API de flux.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\FeedsHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Feeds- Value name
DisableAddRemove
| 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_Feed_Add_Remove
$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 'DisableAddRemove' -Value 1 -Type DWordDisable
# Disable: inetres/Disable_Feed_Add_Remove
$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 'DisableAddRemove' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/Disable_Feed_Add_Remove
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Feeds'
Remove-ItemProperty -Path $k -Name 'DisableAddRemove' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"