Turn off Spotlight collection on Desktop
Désactiver la collection Spotlight sur le Bureau
Explanation
This policy setting removes the Spotlight collection setting in Personalization, rendering the user unable to select and subsequentyly download daily images from Microsoft to desktop.
If you enable this policy, "Spotlight collection" will not be available as an option in Personalization settings.
If you disable or do not configure this policy, "Spotlight collection" will appear as an option in Personalization settings, allowing the user to select "Spotlight collection" as the Desktop provider and display daily images from Microsoft on the desktop.
Ce paramètre de stratégie supprime le paramètre de collection Spotlight dans Personalization, ce qui rend l’utilisateur incapable de sélectionner et subsequentyly télécharger des images quotidiennes de Microsoft sur le bureau.
si vous activez cette stratégie, « collection Spotlight » ne sera pas disponible dans les paramètres de personnalisation.
si vous désactivez ou ne configurez pas cette stratégie, « collection Spotlight » s’affiche sous la forme d’une option dans les paramètres de personnalisation, ce qui permet à l’utilisateur de sélectionner « collection Spotlight » comme fournisseur de bureau et d’afficher les images quotidiennes de Microsoft sur le bureau.
Registry
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CloudContent- Value name
DisableSpotlightCollectionOnDesktop
| 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: CloudContent/DisableSpotlightCollectionOnDesktop
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CloudContent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSpotlightCollectionOnDesktop' -Value 1 -Type DWordDisable
# Disable: CloudContent/DisableSpotlightCollectionOnDesktop
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CloudContent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableSpotlightCollectionOnDesktop' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": CloudContent/DisableSpotlightCollectionOnDesktop
$k = 'HKCU:\Software\Policies\Microsoft\Windows\CloudContent'
Remove-ItemProperty -Path $k -Name 'DisableSpotlightCollectionOnDesktop' -ErrorAction SilentlyContinue