set screen lock for inactivity

vale valen 0 Reputation points
2023-06-30T16:18:01.8566667+00:00

is it possible to set screen lock after 5 minutes of inactivity to a group of users using roles or group policy? Thank you

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sedat SALMAN 14,180 Reputation points MVP
    2023-07-01T05:15:30.8033333+00:00

    Create a new Group Policy Object (GPO)

    1. Edit the policy and go to the User Configuration -> Policies -> Administrative Templates -> Control Panel -> Personalization. There are several options to manage screen saver and screen lock settings in this section:
      • Enable screen saver
        • Password protect the screen saver — prompts to enter a password to unlock a computer
          • Screen saver timeout – sets time in seconds when a screen saver will be enabled and a computer will be locked if a user is inactive
            • Force specific screen saver – you may specify a screen saver file to be used. The most often it is scrnsave.scr (you can make a slideshow screen saver using GPO)
              • Prevent changing screen saver – prevents users from changing screen saver settings
    2. Enable all policies and set a computer idle time in the Screen saver timeout policy to 300 seconds (which corresponds to 5 minutes of inactivity).

    https://woshub.com/windows-lock-screen-after-idle-via-gpo/

    When you enable this group policy for a OU this policy will apply all the users inside this OU

    https://activedirectorypro.com/group-policy-lock-screen/

    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.