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

There are currently no logon servers available to service the logon request

When bringing a new server on line, you may see an error that says: The Security System detected an authenticaton error for the server ldap/xxxxxxxt. The failure code from the authentication protocal Kerberos was "There are currently no logon servers available to service the logon request. Event id: 40960 category: SPENGO (Negotiator) (0xc000005e) This issue is the result of missing or the inability to contact the DNS SRV (SeRVice) records. You just brought a new server on line. To complete the process, the server has to register its own host A record and SVR record in DNS. To do this, Type the following at the command prompt: IPconfig /flushdns IPconfig /registerdns net stop netlogon net start netlogon flushing DNS will remove all old or improper DNS records registering dns records registers your Host A record restarting the netlogon will register your SRV records. __________________________________________________________________________________ Speaking of ...

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.

How fix Virtual Memory Too low in Windows XP,Vista,Windows 7,Windows Server 2003

Some times i got the icon on below right side of my system in Windows XP,Vista,Windows 7,Windows Server 2000,2003.How can Fix this solution.Here the solution. This solution work for all types of Windows i.e windows 95 to Windows 7. Virtual Memory is the space your computer uses when it's short of RAM(Random Access Memory),which is the memory used when running programs like Microsoft word,Power Point and other application  in our system . Solution 1:   Try to increase Your RAM size. Solution 2:   Change the Paging Size of drive as shown below steps                    1.Go to MyComputer--> Right Click--> Click Properties.                    2.Click Advanced tab from  System Properties tab.                    3.Click Sett...