Force logoff of all users on one computer after inactivity

Posted on 2007-10-04
Last Modified: 2012-05-05
I have 1 computer which is used for scanning, downloading pictures off digital camera and printing to a photo printer which all of my users log into with their own username and password. What I am trying to do is force a logoff of those users after a period of inactivity say 5 minutes, but right now I want this to only affect them when they are using this 1 computer not their own. I am running Active Directory in Windows 2003 Server environment and this computer is  Windows XP Proffesional.
One solution that I looked at was running a winexit screensaver which forses a logoff. That works great except that each user when logging in has gets their own screensaver, so that wont work. I also tried controling this same screensaver via Group Policy by forceing to use this screensaver and setting up my own parameters, but the screensaver option is only available via "user configuration" and NOT "computer configuration" So I can not assign it to one computer just to a user, bug again I only want this screensaver to kick in when the users are using that 1 computer. This 1 computer is locating in its own Organizational Unit, so I can assign a policy to just that 1 computer.

Thanks in advance
Question by:vmamedov
    LVL 26

    Expert Comment

    Have a look at following:

    * Force user logoff after a period of inactivity

    * How To Force Users to Quit Programs and Log Off After a Period of Inactivity in Windows XP

    * Force Logoff Due to Inactivity
    LVL 30

    Expert Comment

    Configure the screensaver setting in the GPO linked to this computer's OU, and then configure that GPO to use Loopback Processing as described here:

    Loopback Processing is designed for Terminal Servers and kiosk/shared computers like the situation you're describing, where you have a user policy that should only apply to users when they log onto a particular computer or group of computers.
    LVL 26

    Expert Comment

    You can also use "Terminator"

    With Terminator, you can restrict the amount of time users can spend on a PC. You can set the PC to automatically logout, reboot or shutdown at a specific time each day (eg. 5:30pm), or you can set it to logout, reboot or shutdown after a set period of time (eg. 60 minutes).  Simple to setup and run, Terminator is invisible to users - they won't even know it is running.
    * Logout, Reboot or shutdown your PC at a specified time, or after an elapsed period of time
    * Optional forced exit mode will force non-compliant applications to close
    * Password protected
    * Enable or disable automatic startup when Windows starts
    * Shut down instances of Terminator
    * Dynamic updating of settings when Terminator is already running
    * Runs on Windows 95/98/Me/NT/2000/XP

    Author Comment

    farhankazi, you totally missed the point of my problem, none of the links you provided address my particular problem

    Author Comment


    Can you be more specific on how to get this acomplished in my current environment. The link that you provided shows 2 methods, which one should I do?

    My current setup has 3 OUs
        *all users accounts sit here
        *all computer accounts sit here
       *the shared computer sits here

    LVL 18

    Expert Comment

    by:Jeremy Weisinger
    Method 1 should work for your situation. Create and link the GPO to the "Outside" OU and then configure the screen saver and loopback processing settings that Laura talked about.

    LVL 30

    Accepted Solution

    Link the GPO to the OUTSIDE OU, and enable Loopback Processing.  This will force users logging onto the machine in the OUTSIDE OU to receive the User Configuration settings configured in that GPO, despite the fact that their user accounts reside in USERS and not OUTSIDE.

    Expert Comment

    I know this may sound stupid. I am running Win XP Home and It restarted every so often. I only knew this because when I logged back on my apps were all closed down. I run a virus scan (AVG) and it found 3 infected files. These were somewhere in my second harddrive. I deleted these and restarted my computer. I have not had the problem since. Just a thought. - Hamish

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video discusses moving either the default database or any database to a new volume.

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now