Solved

How to set logoff policy

Posted on 2004-09-28
6
9,735 Views
Last Modified: 2008-01-09
Got a simple peer to peer setup at home, and want to set a policy on one of my PC's to log off a user after a certain period of inactivity ... any ideas ?

Using XP pro, and the user is a limited user ... after a few minutes, my screen saver default back to the user selection screen, but I want the system to log the user off if it's left for more than 30 minutes ... thanks.
0
Comment
Question by:Gitcho
  • 3
  • 2
6 Comments
 
LVL 59

Expert Comment

by:LeeTutor
ID: 12175791
Is this  what you're looking for:

How can I auto logoff or automatically log a user out of Windows after a period of inactivity?

A:  This can be done in Windows 2000 / XP / .NET using Group Policy. Control Panel, Administrative Tools > local security policy > local policies \ security options \ "Automatically log off users" and/or "Amount of idle time required before disconnecting session"

more info: http://securityadmin.info/noframes/faqget.asp#autologoff
0
 
LVL 5

Author Comment

by:Gitcho
ID: 12176078
hmmm ... looked in my XP Pro local security policy > local policies \ security options \  and i'm not seeing an auto logoff policy ...
0
 
LVL 59

Expert Comment

by:LeeTutor
ID: 12176294
I don't have a network where I'm using Group Policies.  So I didn't try it.  But now I just looked, and I didn't find any such things as mentioned on that page either.  However, I found some things that may correspond to what that page said by:

1. type gpedit.msc in the Run dialog box and  click OK
2. open Computer Configuration
3. open Windows settings
4. open Security settings
5. open Local Policies
6. open Security Options
7. look for Network Security: Force logoff when logon hours expire
    and
    Microsoft Network Server: amount of idle time required before suspending session
   
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 5

Author Comment

by:Gitcho
ID: 12176568
yeah ...  I can force logoff, but that requires me to limit user(s) to specific hours of the day ... not what I'm looking for.
0
 
LVL 5

Accepted Solution

by:
talphius earned 500 total points
ID: 12179415
Check out MS KB #314999.  This should do exactly what you want:

How To Force Users to Quit Programs and Log Off After a Period of Inactivity in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q314999


This step-by-step article describes how to automatically quit a user's running programs and to log the user off of a workstation after a specified time period.

Workstations that are left logged on may represent a security risk for an organization. Many networks allow users to leave programs running and to remain logged on to their computers for an undefined time period. The Microsoft Windows 2000 Resource Kit includes the Winexit.scr tool that you can use to automatically quit a user's programs and to log the user off of the workstation.

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.
0
 
LVL 5

Author Comment

by:Gitcho
ID: 12426984
Right ... sorry ... Thanks talphius...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

If you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

861 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

23 Experts available now in Live!

Get 1:1 Help Now