How can I force a user to log out after a period of inactivity

Posted on 2004-08-13
Last Modified: 2010-05-18
I have been using Group policies in Active Directory to log users off the server at a certain time, however I would like to set up a system that will log them out after say 3 hours of inactivity.  I use a login/logoff script and was wondering if there was any way to adapt this to force the log out.
Question by:neiljmcrae
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Accepted Solution

cooljai1 earned 250 total points
ID: 11791743

Expert Comment

ID: 11791815
If you want to use a logout after about Three Hours, you can also use a third party utility available at
named ScreenPass.

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 11791947
Ok - I have the file winexit.scr on my server....if is use active directory to set a group policy that will use this screensaver is there any way of setting the time limit or will I have to reconfigure all the indivuidal client machines to a certain time.....I like the idea but do now want to spend money or time on it :-)


Author Comment

ID: 11818012
I have set up the screen saver to kick in after 2 hours of inactivity but nothing is happening and the workstations are stilll logged on when i come back in the morning...

Author Comment

ID: 11963433
While you seem reticent about answering my two queries I am not known for my stingeness and the points have been awarded. :-)


Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question