Open in the explorer

Turn off desktop gadgets

Désactiver les gadgets du Bureau

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Desktop Gadgets FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Gadgets du Bureau
Supported on
Windows Server 2008, Windows 7, and Windows Vista FR: Windows Server 2008, Windows 7 et Windows Vista
ADMX file
Sidebar.admx
Internal name
Sidebar/TurnOffSidebar_1

Explanation

This policy setting allows you to turn off desktop gadgets. Gadgets are small applets that display information or utilities on the desktop.

If you enable this setting, desktop gadgets will be turned off.

If you disable or do not configure this setting, desktop gadgets will be turned on.

The default is for desktop gadgets to be turned on.

French text from Windows 11 26H2

Ce paramètre de stratégie permet de désactiver les gadgets du Bureau. Il s’agit d’applets destinées à afficher des informations ou des utilitaires sur le Bureau.

Si vous activez ce paramètre, les gadgets du Bureau seront automatiquement désactivés.

Si vous désactivez ou ne configurez pas ce paramètre, les gadgets du Bureau seront activés.

Par défaut, les gadgets du Bureau sont activés.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar
Value name
TurnOffSidebar
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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: Sidebar/TurnOffSidebar_1
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TurnOffSidebar' -Value 1 -Type DWord

Disable

# Disable: Sidebar/TurnOffSidebar_1
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'TurnOffSidebar' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Sidebar/TurnOffSidebar_1
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar'
Remove-ItemProperty -Path $k -Name 'TurnOffSidebar' -ErrorAction SilentlyContinue

Availability