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

How to configure.NET Framework 3.5 on Windows 8

If  an  utility  requires the .NET framework 3.5, however would not in finding that  version enabled  in your computer, it shows the following message box in Windows 8, both all the way through set up, or while you open the applying for the first time. In the message box, choose Install this feature to enable the .NET Framework 3.5. This option requires an Internet connection. If in case you have ever tried to update the . net   frame work  3.5 from windows features you will get 0x800F0906 or 0x800F081F error . In this article I am showing How to fix . net  framework 3.5 installation in windows 8 or 8.1 error code 0x800f0906  or 0x800F081F.      . NET Framework 4.5 is enabled by default in Windows 8 and Windows 8.1. Windows 8 & Windows 8.1 does not include .NET 3.5 by default, but the files for .NET 3.5 are available on the Wind...

test vpn bandwidth and speed with iperf

This article explains how to use a free utility called iPerf to test the speed of a VPN connection. In this example I am running iPerf on windows but there are other versions available (i.e. Linux). Download iPerf from  http://linhost.info/2010/02/iperf-on-windows/ Put a copy on 2 computers with 1 either side of the VPN. In this example I have put in the c:\triangle folder On the “server” PC open a cmd prompt and navigate to the folder containing iperf. Note on computers running Win7 or Win2008 I recommend running the cmd prompt in elevated mode. Run the command  iperf –s On the “client” PC open a cmd prompt and again navigate to the folder containing iperf. Run the command  iperf –c After a short while the estimated bandwidth is displayed.