Enables Activity Feed
Active le flux d'activité
Explanation
This policy setting determines whether ActivityFeed is enabled.
If you enable this policy setting, all activity types (as applicable) are allowed to be published and ActivityFeed shall roam these activities across device graph of the user.
If you disable this policy setting, activities can't be published and ActivityFeed shall disable cloud sync.
Policy change takes effect immediately.
Ce paramètre de stratégie détermine si le flux d'activité est activé.
Si vous activez ce paramètre de stratégie, tous les types d'activité (si applicable) peuvent être publiés et le flux d'activité peut répercuter ces activités dans le graphique de l'appareil de l'utilisateur
Si vous désactivez ce paramètre de stratégie, les activités peuvent être publiées et le flux d'activité peut désactiver la synchronisation dans le cloud.
La modification de la stratégie prend immédiatement effet.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System- Value name
EnableActivityFeed
| 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: OSPolicy/EnableActivityFeed
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableActivityFeed' -Value 1 -Type DWordDisable
# Disable: OSPolicy/EnableActivityFeed
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableActivityFeed' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": OSPolicy/EnableActivityFeed
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'EnableActivityFeed' -ErrorAction SilentlyContinue