Automatic Logoff after A certain Amount of User Inactivity

Posted on 2006-06-29
Last Modified: 2008-02-07
This question has already been asked by someone ahead me. The solution is inadequate for me, and that is why I have to ask the same question again.

The solution to the previous question was as the follows:
____________ Previous solution ______________________

HOW TO: Force Users to Quit Programs and Log Off After a Period of Inactivity in Windows XP

How to Configure the Winexit.scr Screen Saver
Use Windows Explorer to locate the Winexit.scr file in the Windows 2000 Resource Kit folder on your hard disk.
Right-click the Winexit.scr file, and then click 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 number of seconds for which the logoff dialog box appears before the user is logged off.
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 end of solution ________________________

My problem is: I could not find "Winexit.scr" anywhere in my system.
My system is Window XP Professional (SP2).

To recap, I would like the computers in my office to log off automatically if they are inactive for about 10 minutes.

My question is: Where can I find "Winexit.scr" and then what do I need to do beyond the above solution? Is there any other better solutions available?  
In addition, I would like to customize the screensaver which may automatically run after the automatic logoff. For example, I would like to put words like "Welcome to Paradise Corp." on the screensaver.

Thank you experys as always!


June 29, 2006, at 4:27 pm
Question by:duta
  • 3
  • 2
LVL 59

Expert Comment

Comment Utility
You have to first download the Windows 2000 Resource Kit.  You can get most of those tools, including winexit.scr from here:
LVL 34

Accepted Solution

sramesh2k earned 500 total points
Comment Utility

Winexit.scr also comes with Windows XP Resource Kit tools (free download) from here:

Additional note:

Force user logoff after a period of inactivity:

The Winexit.scr does not run correctly under Limited accounts by default. However, by altering the Permissions for a registry key, you can resolve the problem.

Logoff Screen Saver Does Not Function in Windows NT:

Note that this KB was written for Windows NT, but very much applies to
Windows XP as well.

How To Use the Windows XP and Windows Server 2003 Registry Editor Features:

Author Comment

Comment Utility
TO:  LeeTutor and sramesh2k:

Thank you so much for your very kind, very detailed tips.

I am testing your tips. I will come back to you when I am done with the testing.



June 30, 2006, at 11:04 am
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!


Author Comment

Comment Utility
TO: all:

I am almost there except one:

In my orignal question, I said, "In addition, I would like to customize the screensaver which may automatically run after the automatic logoff. For example, I would like to put words like "Welcome to Paradise Corp." on the screensaver."

Currently, the domainname of the workstation scrolls horizontally after the station was automatically logged off and a screen saver began to run.
How can I replace the domainname of the workstation with others like "Welcome to Paradise Corp."?

One final question is: (In RegEdit > . . . > controlini ) I gave full control to everyone in permission. May it cause any security problem?



June 30, 2006, at 12:31 pm


Author Comment

Comment Utility
TO: all:

I accepted sramesh2k's tips as an acceptable solution because his/her tips were complete (include all the informations).

Thanks all for your kind response!


July 1, 2006
LVL 34

Expert Comment

Comment Utility
You're welcome, duta. hope the customization went well.

>> May it cause any security problem?

Nope! afaik, as this screensaver is used by many organizations.

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hyper V vm 4 119
Running VB6 Apps on Windows 7 4 129
Process prvSGxBA.exe 100 % CPU, is this a virus? 7 65
outlook PST max size limit 3 101
Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

11 Experts available now in Live!

Get 1:1 Help Now