[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6442
  • Last Modified:

Session timeout in Windows XP

   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.
  • 2
1 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.


zephyr_hex (Megan)DeveloperCommented:
be aware that when this tool is used, any unsaved data will be lost when the log off occurs.
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.
leehewsonAuthor Commented:
Spot on! Many thanks!

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now