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

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.

Installing the East-Asian language packs

Windows XP SP3 Info 1. Go to Start > Control Panel > Regional & Language Options (or Date, Time, Language and Regional Options) > Languages. 2. Check the box for Install files for East Asian Languages > Click OK and let the process run and then you will have to Restart your PC. Alternatively, you may need to install the East Asian Language pack that is on your original Windows disc. Outlined below is a step-by-step guide to installing it in your computer (for Windows XP - Vista users might have to undergo different steps, but they should still be similar). Try it and see if it works for you: 1. Insert your Windows XP CD 2. Go to Control Panel 3. Go to Regional and Language Options 4. Click on the Languages Tab 5. Click on the Install files for East Asian Languages checkbox and make sure that it's checked. 6. Click on the OK button for the dialog box that appears. 7. Click on the OK button of the window to close it, and begin the installation. ...

Check Disk & NTLDR Missing in Windows

System restart automatically in booting process 1)Boot from cd 2)Select First Repair 3)Type map to know which drive was CD ROM drive 4)suppose cd rom drive is e then type e:     press enter 5)type chkdsk /r c: and press enter after 100% compleated type exit and automatically restart the m/c in case of NTLDR Missing error same steps up to 3 rd step 4) type copy ntldr c:   and press enter 5)type copy ntdectet.com c:  press enter