Microsoft network server: Disconnect clients when logon hours expire

Category
Local Policies › Security Options
Source
Windows 11 26H2 · 26300.9457 · SOFTWARE · wsecedit.dll.mui 10.0.26100.8737

Description

Microsoft network server: Disconnect clients when logon hours expire

This security setting determines whether to disconnect users who are connected to the local computer outside their user account's valid logon hours. This setting affects the Server Message Block (SMB) component.

When this policy is enabled, it causes client sessions with the SMB Service to be forcibly disconnected when the client's logon hours expire.

If this policy is disabled, an established client session is allowed to be maintained after the client's logon hours have expired.

Default on Windows Vista and above: Enabled.
Default on Windows XP: Disabled

Registry

ComputerHKEY_LOCAL_MACHINE
  • EnableForcedLogOffREG_DWORD

Official name in other languages

Other policies in the same category

View all policies in this category (106)