en-US windows user

Turn Off user-installed desktop gadgets

Verified with Windows 11 26H2 — updated on July 10, 2026 Supported on: Windows Server 2008, Windows 7, and Windows Vista

Windows 11 26H2

Path in the GPO console

User Configuration\Administrative Templates\Windows Components\Desktop Gadgets

Registry

HKCU Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar
Value name:
TurnOffUserInstalledGadgets REG_DWORD
Enabled:
1
Disabled:
0

Description

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.

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO. ⓘ

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Turn Off user-installed desktop gadgets
; State: Enabled
; Supported on: Windows Server 2008, Windows 7, and Windows Vista

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar]
"TurnOffUserInstalledGadgets"=dword:00000001
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Turn Off user-installed desktop gadgets
# State: Enabled
# Supported on: Windows Server 2008, Windows 7, and Windows Vista
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.

$path = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'TurnOffUserInstalledGadgets' -Value 1 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview