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

AWS Certification Q&A

The AWS Certified Solutions Architect – Associate Level exam is intended for individuals with experience designing distributed applications and systems on the AWS platform. I am listing many sample certification questions and answers while will help to face the certification successfully Keep in mind that the answers for each question might change due to the advancement of AWS and please try to find the answer in more logical manner Answers are below of the page Sample Questions for Amazon Web Services Associate Solutions Architect Certification What does Amazon S3 stand for? A Simple Storage Solution. B Storage Storage Storage (triple redundancy Storage). C Storage Server Solution. D Simple Storage Service. You must assign each server to at least _____ security group A 3 B 2 C 4 D 1 - Before I delete an EBS volume, what can I do if I want to recreate the volume later? A Create a copy of the EBS volume (not a snapshot) B Store a snapshot of the volume C Downlo...

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...