Skip to main content

How to configure Group policy to lock the servers after fixed interval

Windows servers repeatedly starts a screen saver after a server  has been idle for a specified amount of time. This screen saver can be password protected. You can use Group Policy to enforce this setting for all servers in a  domain. Users won’t be able to disable the automatic locking once after configured via group policy. We can specify for how much time server should lock automatically.Below procedure is for domain computers.If you want to implement for any windows xp ,windows 7,windows 8 machines you need to do same settings in your local group policy.You can open group policy with “gpedit.msc” command without quotes.
Click “Start”. Open “Group Policy Management” from administrative tools.
Group policy
Right Click on Domain and click “Create and link a GPO Here”. Give name of the policy.
create a group policy
Right click on Policy name (In my case it was “Auto Lock”) and click edit.
auto lock
We can see “Group Policy Object editor”. Select  “User configuration” “administrative template” “control panel” and then  “Display”.
Here you need to enable below two options.
  • Enable “Password protected the screen saver”
  • Enable “Screensaver timeout”
Screen Saver
You can configure for how much time do you want to auto lock. In my case it was 300 Seconds.
Screensaver timeout
Go to client machine and run below command to apply the group policy forcefully.
Open command prompt. Type “gpupdate /force” without quote.Log off the machine and login and check after 5 Min. Client machine will automatically lock after 5 Min.

Comments

Popular posts from this blog

Installing Nagios 4 on Ubuntu 14 04 LTS

CONFIGURING TRUSTS – PART 1

http://www.rebeladmin.com/2015/01/configuring-trusts-part-1/ Trusts, simply we can define as a bond between multiple domains, multiple forests. It controls how or what been allowed between domains and forests. Let’s assume we have a company called  Contoso Inc.  and its running with domain  contoso.com . Company recently merge with another company called  XYZ Inc.  and its running with domain xyz.com . Management wants to allow their resources to been used by both company users. For ex- A user in  contoso.com  will required to access a share in  xyz.com  file server. Company wants to do it with minimum impact or changes. This is where “trusts” comes in to the picture. Using trusts we can control who will be trusted, how it will be and what sort of access users have on resources. Before we move in to the configurations it is important to understand the concepts of trusts. Trusting Domain  – This will be the domain contains the re...