+4 votes
228 views
Lock with automatic password with GPO of the computers of a domain

in Windows Server by (551k points)
reopened | 228 views

1 Answer

+5 votes
Best answer

Depending on the Windows version we automatically start a screen saver after an inactive state for a specified period of minutes. This screen saver can be password protected, we can also lock the PC by sending it to "sleep" (suspend) or just turn off the screen for energy saving issues. For this it is very useful to use Group Directives "GPO" to apply these options in the equipment that we decide, these options configured by GPO are by default although the users have other options available.

You have to keep in mind that if you have Windows Home desktop versions it is not possible to use this GPO feature , you just have to configure the options and that others enter as restricted users.

The way to do it with a local GPO in the machine (you can do it following these cases).

Step 1

We click on Start of Windows and write:
 Gpedit.msc 
In the space where you let us write or press the Windows key (keeping it) and we give a touch to the R key and when you release both a window will appear to execute it and press Enter.
Step 2

We travel until we reach the following area:
  • User Configuration
  • Administrative Templates
  • Control Panel
  • Personalization
Step 3

Double click on " Protect screen saver with password " appears on the right side of the window.
Step 4

Click on Enable and confirm by clicking on OK .
Step 5

Now we have to enable the time until the screen saver "Screen Saver Timeout " is activated we do the same, double click and enable, in addition we have to specify the time in seconds that we want the screen saver to skip with a password. An example would be 300 (If we want it to jump after 5 min of inactivity in the machine).
Step 6

Press OK and ready, we would have it.

There are also ways to do it in a GPO on the server and assign it, for example, to an OU (Organizational Unit) where you have the machines to which you want to apply these configurations..

To do it so that the equipment goes to suspension (and asks for the password when returning inactivity) we can also use a group policy. Also in Windows 10, 8, 7 and Server 2008 onwards gives us some incredible options on this subject. For this I recommend visiting this: How to configure a power plan policy .

Do not miss the collection of tutorials you have on Windows Server:

Windows Server Tutorials

Greetings.


by (3.5m points)

Related questions

+4 votes
1 answer
+5 votes
1 answer
+5 votes
1 answer
asked Apr 20, 2023 in Guides by backtothefuture (551k points) | 44 views
+3 votes
1 answer
+5 votes
1 answer
asked Jun 24, 2019 in Routers by backtothefuture (551k points) | 826 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users