Policy

Remove logon hours expiration warnings

This policy controls whether the logged on user should be notified when his logon hours are about to expire. By default, a user is notified before logon hours expire, if actions have been set to occur when the logon hours expire. If you enable this setting, warnings are not displayed to the user before the logon hours expire. If you disable or do not configure this setting, users receive warnings before the logon hours expire, if actions have been set to occur when the logon hours expire. Note: If you configure this setting, you might want to examine and appropriately configure the “Set action to take when logon hours expire” setting. If “Set action to take when logon hours expire” is disabled or not configured, the “Remove logon hours expiration warnings” setting will have no effect, and users receive no warnings about logon hour expiration

Policy
Pack Microsoft Windows
Category Windows Components / Windows Logon Options
Policy ID e1786972b343
Internal name LogonHoursNotificationPolicyDescription

Registry

Copy registry mappings

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DontDisplayLogonHoursWarnings (enabled) = 1
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DontDisplayLogonHoursWarnings (disabled) = 0

Policy notes

This policy controls whether the logged on user should be notified when his logon hours are about to expire. By default, a user is notified before logon hours expire, if actions have been set to occur when the logon hours expire. If you enable this setting, warnings are not displayed to the user before the logon hours expire. If you disable or do not configure this setting, users receive warnings before the logon hours expire, if actions have been set to occur when the logon hours expire. Note: If you configure this setting, you might want to examine and appropriately configure the “Set action to take when logon hours expire” setting. If “Set action to take when logon hours expire” is disabled or not configured, the “Remove logon hours expiration warnings” setting will have no effect, and users receive no warnings about logon hour expiration

Related policies