Skip to content

Test‐MicrosoftNetworkServerEnableForcedLogOff

Mike Hiersche edited this page Oct 26, 2023 · 2 revisions

Test-MicrosoftNetworkServerEnableForcedLogOff

SYNOPSIS

2.3.9.4 (L1) Ensure 'Microsoft network server: Disconnect clients when logon hours expire' is set to 'Enabled'

DESCRIPTION

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. If you enable this policy setting you should also enable "Network security: Force logoff when logon hours expire".

EXAMPLE

EXAMPLE 1

Test-MicrosoftNetworkServerEnableForcedLogOff
Number    Name                                                                                                Source                    Pass    
--------- ------------------                                                                                  ------                    ----    
2.3.9.4   (L1) Ensure 'Microsoft network server: Disconnect clients when logon hours expire' is set to 'En... Group Policy Settings     True
Clone this wiki locally