Disable Widgets On Lock Screen: registry value DisableWidgetsOnLockScreenComputerHKLM\SOFTWARE\Policies\Microsoft\Dsh
- Policy ID
- DisableWidgetsOnLockScreen
- Scope
- Computer Configuration
- Supported on
- At least Windows 11 Version 22H2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Widgets
Registry
DisableWidgetsOnLockScreen
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\Dsh Current key
- Enabled value
- 0
- Disabled value
- 1
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Dsh] ; Options (use only one) ; Enabled "DisableWidgetsOnLockScreen"=dword:00000000 ; Disabled "DisableWidgetsOnLockScreen"=dword:00000001
CMD
:: Options (use only one) :: Enabled reg add "HKLM\SOFTWARE\Policies\Microsoft\Dsh" /v "DisableWidgetsOnLockScreen" /t REG_DWORD /d 0 /f :: Disabled reg add "HKLM\SOFTWARE\Policies\Microsoft\Dsh" /v "DisableWidgetsOnLockScreen" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Dsh' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Dsh' -Name 'DisableWidgetsOnLockScreen' -PropertyType DWord -Value 0 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Dsh' -Name 'DisableWidgetsOnLockScreen' -PropertyType DWord -Value 1 -Force | Out-Null