Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: Windows Server 2008, Windows 7, and Windows Vista
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar |
|---|
| Value name | TurnOffUnsignedGadgets |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to restrict the installation of unsigned gadgets. Desktop gadgets can be deployed as compressed files, either digitally signed or unsigned.
If you enable this setting, gadgets that have not been digitally signed will not be extracted.
If you disable or do not configure this setting, both signed and unsigned gadgets will be extracted.
The default is for Windows to extract both signed and unsigned gadgets.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Desktop Gadgets > Restrict unpacking and installation of gadgets that are not digitally signed.
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Name 'TurnOffUnsignedGadgets' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
File Explorer and desktopADMX: Sidebar.admx · policy name TurnOffUnsignedGagdets_1
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: Windows Server 2008, Windows 7, and Windows Vista
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar |
|---|
| Value name | TurnOffUnsignedGadgets |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to restrict the installation of unsigned gadgets. Desktop gadgets can be deployed as compressed files, either digitally signed or unsigned.
If you enable this setting, gadgets that have not been digitally signed will not be extracted.
If you disable or do not configure this setting, both signed and unsigned gadgets will be extracted.
The default is for Windows to extract both signed and unsigned gadgets.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Desktop Gadgets > Restrict unpacking and installation of gadgets that are not digitally signed.
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Name 'TurnOffUnsignedGadgets' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
File Explorer and desktopADMX: Sidebar.admx · policy name TurnOffUnsignedGagdets_2
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: Windows Server 2008, Windows 7, and Windows Vista
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar |
|---|
| Value name | TurnOffUserInstalledGadgets |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor 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.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Desktop Gadgets > Turn Off user-installed desktop gadgets
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Name 'TurnOffUserInstalledGadgets' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
File Explorer and desktopADMX: Sidebar.admx · policy name TurnOffUserInstalledGagdets_1
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: Windows Server 2008, Windows 7, and Windows Vista
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar |
|---|
| Value name | TurnOffUserInstalledGadgets |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor 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.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Desktop Gadgets > Turn Off user-installed desktop gadgets
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Windows\Sidebar' -Name 'TurnOffUserInstalledGadgets' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
File Explorer and desktopADMX: Sidebar.admx · policy name TurnOffUserInstalledGagdets_2