Open in the explorer

Turn Off user-installed desktop gadgets

Désactiver les gadgets du Bureau installés par l’utilisateur

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/TurnOffUserInstalledGagdets_1

Explanation

This policy setting allows you to turn off desktop gadgets that have been installed by the user.

If you enable this setting, Windows will not run any user-installed gadgets.

If you disable or do not configure this setting, Windows will run user-installed gadgets.

The default is for Windows to run user installed gadgets.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de désactiver les gadgets du Bureau installés par l’utilisateur.

Si ce paramètre est activé, Windows n’exécute aucun gadget installé par l’utilisateur.

Si ce paramètre est désactivé ou n’est pas configuré, Windows exécute les gadgets installés par l’utilisateur.

Par défaut, Windows exécute les gadgets installés par l’utilisateur.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar
Value name
TurnOffUserInstalledGadgets
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/TurnOffUserInstalledGagdets_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 'TurnOffUserInstalledGadgets' -Value 1 -Type DWord

Disable

# Disable: Sidebar/TurnOffUserInstalledGagdets_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 'TurnOffUserInstalledGadgets' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability