Session timeout in Windows XP

Posted on 2006-04-28
Last Modified: 2012-08-14
   We have a customer who wants to be able set a timeout policy on a Windows XP workstation. Basically if the PC if left idle for say 10 minutes is there a way to get it to automatically logoff after this period? I know you can get the screen saver to come on and lock the computer but is there a way to get it to actually log off?

Thanks for any advice.
Question by:leehewson
    LVL 7

    Accepted Solution

    Winexit will work

    To logoff the user after a certain period of inactivity, you may use the Winexit screensaver which comes with Windows 2003 Resource Kit tools (free). Download Windows 2003 Resource Kit Tools from here. It contains the file Winexit.scr [Windows Exit Screen Saver]. Once installed, reboot the system.

    Open C:\Program Files\Windows Resource Kits\Tools
    Right-click winexit.scr and choose Install
    The Display Properties dialog box appears with the Screen Saver tab active
    The Logoff Screen Saver entry is automatically selected
    Click Settings
    Select the Force application termination check box to force programs to quit
    In the Countdown for n seconds box, type the value accordingly
    In the Logoff Message box, type the message that appears during the logoff countdown. Click OK.
    In the Display Properties dialog box, click Preview.
    You see the Auto Logoff dialog box. It displays the logoff message and the countdown timer.
    Click Cancel. Click OK.
    The Force application termination option forces programs to quit even if the programs contain unsaved data. If you do not use this option, programs that contain unsaved data do not quit and the user is not logged off.


    LVL 42

    Expert Comment

    be aware that when this tool is used, any unsaved data will be lost when the log off occurs.
    LVL 7

    Expert Comment

    that is correct any time you force a user off o system anythign they ahve open adn unsaved would be lost.

    there are features in most applications to set an autosave time, as stated below for ms office.

    if this is set for 5 minutes and the log of is set for 10 then it will not be an issue. users would jsut ahve to be educated on how to set the autosave feature up.

    On the Tools menu, click Options, and then click the Save tab.
    Select the Save AutoRecover info every check box.
    In the minutes box, specify how often you want your Microsoft Office program to save files.

    Author Comment

    Spot on! Many thanks!

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
    Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    733 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

    20 Experts available now in Live!

    Get 1:1 Help Now