Microsoft 2019 windows authentication, how to configure hard timeout without changing the authentication method?

Ganesan Rajesh Kumar 0 Reputation points
2023-08-22T08:55:28.8966667+00:00

Microsoft 2019 windows authentication, how to configure hard timeout without changing the authentication method?

Microsoft 365 and Office | SharePoint | For business | Windows
Windows for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,776 Reputation points
    2023-08-23T09:21:39.4033333+00:00

    Hello Ganesen,

    Thank you for your question and for reaching out with your question today.

    In Windows Server 2019, you can configure a hard timeout for Windows authentication sessions without changing the authentication method itself. A hard timeout will automatically log out users after a specified period of inactivity. Here's how you can achieve this using Group Policy settings:

    1. Press Win + R, type gpedit.msc, and press Enter. This will open the Group Policy Editor.
    2. In the Group Policy Editor, navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Security Options.
    3. Look for the policy named "Interactive logon: Machine inactivity limit." Double-click on it to edit the policy.
    4. Select the "Define this policy setting" option.
    5. Set the desired inactivity limit in seconds. For example, to set a 30-minute inactivity timeout, calculate 30 minutes * 60 seconds/minute = 1800 seconds

    To Apply the Changes:

    1. Close the Group Policy Editor.
    2. To apply the changes immediately, open a Command Prompt with administrative privileges and run the command: gpupdate /force.

    If the reply was helpful, please don’t forget to upvote or accept as answer.


  2. Ganesan Rajesh Kumar 0 Reputation points
    2023-08-28T07:41:53.3433333+00:00

    Thanks for the quick response.

    Actually I was supposed to ask for Microsoft SharePoint 2019. The rephased question is Microsoft SharePoint with windows authentication, how to configure hard timeout without changing the authentication method? Can pls help?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.