Set the time Quiet Hours ends each day: registry value ExitTimeUserHKCU\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours

Policy ID
QuietHoursDailyEndMinute
Scope
User Configuration
Supported on
Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1 only
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Start Menu and Taskbar › Notifications

Registry

ExitTime

REG_DWORDUser
Enabled value
Depends on the option value
Element
Minutes after midnight:
Value type
REG_DWORD
Minimum value
0
Maximum value
1439
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"ExitTime"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours" /v "ExitTime" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours' -Name 'ExitTime' -PropertyType DWord -Value '<enter value>' -Force | Out-Null