Allow widgets
Autoriser les widgets
Explanation
This policy specifies whether the widgets feature is allowed on the device.
Widgets will be turned on by default unless you change this in your settings.
If you turned this feature on before, it will stay on automatically unless you turn it off.
Cette stratégie spécifie si la fonctionnalité widgets est autorisée sur l’appareil.
Les widgets sont activés par défaut, sauf si vous modifiez vos paramètres.
Si vous avez déjà activé cette fonctionnalité, elle restera activée automatiquement, sauf si vous la désactivez.
Use cases
Allows or blocks the Widgets feature on the device, including the content shown on the taskbar. By default, widgets are allowed and on, and a user who turned them on earlier keeps them until they turn them off themselves.
To remove them from an estate, disable the policy (value 0): Computer Configuration > Windows Components > Widgets > “Allow widgets”. The setting applies to the device, not the user, and covers Windows 11 from version 21H2 in the Pro, Enterprise and Education editions.
Microsoft source: Policy CSP - NewsAndInterests
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh- Value name
AllowNewsAndInterests
| 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: NewsAndInterests/AllowNewsAndInterests
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Dsh'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowNewsAndInterests' -Value 1 -Type DWordDisable
# Disable: NewsAndInterests/AllowNewsAndInterests
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Dsh'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowNewsAndInterests' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": NewsAndInterests/AllowNewsAndInterests
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Dsh'
Remove-ItemProperty -Path $k -Name 'AllowNewsAndInterests' -ErrorAction SilentlyContinue