Automatic Logout after inactivity

I am trying to figure out the best way to 'kick' students off our lab machines at the end of the day.
As it is right now, the machines are set to 'log out after 30 minutes of inactivity' and to shutdown at 10:00pm each night. What happens is someone leaves and unsaved document open causing the logout and shutdown to be cancelled.
I understand the inconvenience that could be caused by giving forcing logouts and shutdowns, but I still want to.
Can the inactivity log out be given more power? Can I have the log out ignore unsaved work?

Thank you for your response, but that guide doesn't have any information on logging out users other than the security preference pane.
I have, however, been able to find a script which accomplishes the force logout of a user...
kill -9 `ps -Axjc | grep loginwindow | grep student | cut -c 13-16`
Currently this script is scheduled to run to make sure the machines are able to shutdown each night.
While this gets me one step closer, I would like to run this script on inactivity instead. Can this be done..?
Message was edited by: dtincher

Similar Messages

  • Automatic logout after inactivity/idle

    i am trying to setup an automated logout after an idle period for regular domain users. this is a lab environment running windows 7 enterprise x64.
    we used winexit.scr before, but it looks like it is incompatible with windows 7. i have tried making a scheduled task for this purpose but it never executes. i found a program that will do the logoff and i tried to make a scheduled task to execute the program but it never triggers.
    has anyone done this successfully?

    If someone asked how to shut off a car engine whenever the computer detected someone was speeding, would you just assume they thought through every possible scenario?  Would you want to have that car when you're rushing a loved-one to
    a hospital?  When you're passing a truck?
    Ever worked at a place where the IT department implemented utterly stupid policies that caused you problems in getting your work done?  Gee, IT people couldn't
    possibly make mistakes like that, could they?  Grow up.
    Bints and dopedope, of the three of us only one has actually made an attempt to help anyone in this thread.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options
    Talk about growing up, seems to me you're using some old playground tactics yourself (of the 3 fo us???.. that's a bit immature).   And I could not agree more with Bint's remarks as it never fails when trying to get help in forums.  It's as
    if the question is dodged to ponder on some ridiculous moral epiphany tangent.  Grant it you provided possible solutions but had to interject your beliefs at the same time.  Of course that is your right and no one has to read them, but at the sametime
    you should be willing to accept a little constructive criticism yourself. I don't know why people that posted in a forum 100's, if not 1000's of times feel they are the pontificators of all that is right when it comes to these kind of remarks.
    Noel, just offer some solutions minus the judgement calls.  I think rewording your concerns (judgements)  like "you may want to make sure..."   would be more acceptable than your personal experiences with IT.    And for
    the record, in a business or institution, those computers do not belong to the individual using them at that time and should adhere to policies set forth to them.  Otherwise suffer the consequences.

  • Can't change "Logout after Inactivity" setting under Security in System Pre

    When I try change the "Logout after so many minutes option", in System Preferences under Security, the change does not stick. I'm doing this as the admin user, unlock the lock, make the change, lock the lock, close System Preferences. When I open System Preferences, the change is gone. Is there a plist that manages these options under security? If so, where is it; what is it's name?
    If not, any suggestions to make this change stick? I don't see any commandline option for systemsetup or pmset either.
    Btw, is there a method or listing of which plists manage which items? Sometimes it's obious, other times not.
    Thanks
    Tom

    I don't know a good answer to this but the following will work. log out of the managed account and log into an admin one. open system preferences and deselect the check box for parental controls on the managed account. close system preferences. open system preferences again and select the box for parental controls for that account again. this will wipe previous parental control settings so you'll have to set them all over again but at least it will undo that "always allow" thing.

  • Automatic logout after lock screen for long time?

    When I leave my mac screen locked for long time, sometimes I see the following message after unlocking screen:
    "Logout has timed out because the application [x] failed to quit...."
    Where [x] is some application trying to quit, and is waiting for user confirmation. This happens even when the computer is plugged in to AC. Has anyone else seen this problem? TIA

    Found it:
    http://www.askdavetaylor.com/canmac_automatically_log_out_user_afterinactivity.html
    D'uh

  • Automatic logout after daily time limit reached

    Hey there, I'd like to be able to limit the amount of time my daughter uses the computer in a day. I know that if I tell her she can use it for 2 hours a day, we'll just get into arguments about when she's reached the limit. So, what I'd like is some advice on how I would go about setting up a timer that logs the cumulative amount of time she is logged on in a day and automatically logs her out once it reaches 2 hours in a day. I'd also, obviously, like it to deny furter logins once the limit is reached until the next day. I don't have any experience with scripts but I think it'll involve some kind of root level logout hook. Just a guess though. Any help would be greatly appreciated. Thanks, Scott
    1.33 ghz ibook G4   Mac OS X (10.4.8)  

    Try this:
    http://www.lumacode.com/macminder/

  • Automatic logout after system freeze?

    Lately I have been having trouble with my MBP 4,1 running 10.6.8.  The entire computer will freeze for several minutes, and then the system will automatically close all open programs, log out all users, and return to the login screen.  It's almost like the computer restarts itself without the actual restart.  (I hope that made sense.)
    Does anyone know what's going on or how to fix it?  If it means anything, I'm running Sophos AV and multiple scans haven't turned up anything. 
    Thanks!

    If someone asked how to shut off a car engine whenever the computer detected someone was speeding, would you just assume they thought through every possible scenario?  Would you want to have that car when you're rushing a loved-one to
    a hospital?  When you're passing a truck?
    Ever worked at a place where the IT department implemented utterly stupid policies that caused you problems in getting your work done?  Gee, IT people couldn't
    possibly make mistakes like that, could they?  Grow up.
    Bints and dopedope, of the three of us only one has actually made an attempt to help anyone in this thread.
    -Noel
    Detailed how-to in my eBooks:  
    Configure The Windows 7 "To Work" Options
    Configure The Windows 8 "To Work" Options
    Talk about growing up, seems to me you're using some old playground tactics yourself (of the 3 fo us???.. that's a bit immature).   And I could not agree more with Bint's remarks as it never fails when trying to get help in forums.  It's as
    if the question is dodged to ponder on some ridiculous moral epiphany tangent.  Grant it you provided possible solutions but had to interject your beliefs at the same time.  Of course that is your right and no one has to read them, but at the sametime
    you should be willing to accept a little constructive criticism yourself. I don't know why people that posted in a forum 100's, if not 1000's of times feel they are the pontificators of all that is right when it comes to these kind of remarks.
    Noel, just offer some solutions minus the judgement calls.  I think rewording your concerns (judgements)  like "you may want to make sure..."   would be more acceptable than your personal experiences with IT.    And for
    the record, in a business or institution, those computers do not belong to the individual using them at that time and should adhere to policies set forth to them.  Otherwise suffer the consequences.

  • How to Automatically Logout Users

    We recently created user accounts to enable parental controls for our teens. Very often, someone in the house will have used the mac, but forgets to logout from their account. Since there are different restrictions on different accounts, I would like to find a way to automatically log a user out after inactivity (especially if it is the admin user that has forgotten to log out, as we have NO parental controls!!). I have gone to system prefs and under security have set the automatic logout after 10 minutes of inactivity, but it did not log the user out. It seemed to put the computer to sleep, but NOT log the user out. Help?!?

    Hmm ... I found this in the Help files:
    +IMPORTANT: You should save any documents you’ve changed and close any applications that may present a dialog before closing. If any dialogs for unsaved documents or open applications appear during the log out, your computer will not finish logging you out.+
    Is it possible that you hadn't saved all of your work or that one of your apps had a dialog box showing? Alternatively, Fast User Switching may work better for you. Here's what the Help says about that:
    +When a user logs out of the computer, any open documents and applications close. If you want to allow multiple accounts to be running at the same time, you should allow “fast user switching.”+
    +When fast user switching is turned on, the name of the current user is displayed in the upper-right corner of the menu bar. You can click the name to select another user to switch to.+
    Fast User Switching would eliminate the need to log out when leaving the computer; simply go up to where it gives the name of the account on the top right corner of the screen and select Login Window. All users remain logged in, even when another user is working in a different account, until someone either logs out or the computer is restarted. To enable this, go to System Preferences > Accounts. Then click on Login Options at the bottom of the list of accounts. On the right, check the box that says Enable Fast User Switching and select the view you'd like to see in the menu bar.
    I hope this helps!
    Message was edited by: Sandra Foster
    Message was edited by: Sandra Foster

  • Automatic logout of Forte clients

    We would like to be able to detect if a user has not done anything for a
    period of time - so that we can do automatic logouts after x minutes of
    inactivity. Detecting inactivity sounds like the sort of job an agent
    would do. Has anyone tried anything like this, or got any suggestions as
    to how else we might do it - on a Forte client?
    Thanks,
    Graham Jenkins

    Hi,
    I would use BAT for that:
    1. Create the services and the service profile, enable one user for IM&Presence using the service profile
    2. Export all users using BAT in CUCM (Bulk Administration->users->Export Users, run immediately, then change to Bulk Administration->Job Scheduler, when your job is completed you can download the export file using Bulk Administration->Upload/Download Files)
    3. Change the file extension from txt to csv and edit the file with your favorite CSV editor, so you enable all users for IM&Presence and add the service profile
    4. Upload the file again with the last step in 2.
    5. Use Bulk Administration->Users->update Users->custom file to update the user information.
    Best regards,
    Thomas.

  • Auto logout or disconnect of Lync 2013 client after inactivity

    Is there any way to configure the Registry or perhaps a GPO so that Lync 2013 clients running on Windows 7 will auto logout or disconnect from the server if they have been inactive after a certain amount of time? Searched around and could not find anything.
    I found the link below but it uses Preferences which have undesirable side affects.
    http://unifiedme.co.uk/2014/01/lync-2013-group-policy-enforce-ringtones-centrally/

    Hi,
    There is no method naturally to auto logout of Lync 2013 after inactivity. You may need to configure auto-logoff Windows after idle time to log off the Lync can check 
    the thread below to configure auto-logoff Windows:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/2d618fdb-faf7-41a1-9207-ff07b8d29091/how-to-automatically-log-off-idle-users?forum=winserversecurity#c7c21990-73b4-41ac-a9b5-4d571372ec10
    Or you may need to custom your own Lync client, you can post the question on MSDN Lync SDK forum. Thank you for your understanding.
    Here is the link to MSDN forum:
    http://social.msdn.microsoft.com/Forums/en-US/communicatorsdk/threads
    Best Regards,
    Eason Huang
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Eason Huang
    TechNet Community Support

  • Automatic logout in SAP System after Pressing Confirm button

    Dear all,
    We have Stock confirmation Transaction(ZTransaction) coming from SAP System through ITS. Our Issue is When user click on Confirm button in that transaction, background process will run. It is more like running Replenishment in ICH. Then user will be able to see the order pager after 45 min,after pressing Stock confirmation button. but the user is still alive in backend system, this will causing load on the backend system. So want to set automatic logout from that system after pressing confirm button in that transaction.
    Can anyone help me or guide the logic to implement in ABAP Program.
    Note: User will access this Transaction through Portal.
    Rgds
    PRadeep

    Dear all,
    There are two function modules are available...they are as follows.
    TH_DELETE_MODE(Session will delete)
    TH_DELETE_USER( Total login will delete)
    Rgds
    PRadeep

  • Cannot override logout after 20 mins of inactivity

    Here's an odd one.
    I have a couple of iMacs that have the option to "logout after 20 mins of activity" ticked in security preferences.
    I don't want this to happen, so as an administrator I can uncheck the option and click the padlock icon to prevent changes.
    However, even with the option unchecked, they'll still log out after 20 mins, and when I revisit the security preferences page again, the option will be ticked again.
    Any clues, anyone?

    Thanks for the reply, but I've tried clicking the padlock and also leaving it alone.
    The result is always the same. If I uncheck the the logout option, or change the number of minutes, *it always returns to the same settings when I navigate away from the security preferences*, and then return to them.
    There is no "save settings" option, and other checkboxes, like the "require password" option IS retained if I check it.
    It's just the automatic logout setting.
    This is really frustrating. I didn't setup these particular Macs.
    Is there another setting elsewhere that could be overriding this?
    Or a preference file to delete?
    I really don't understand what's going on.
    Any help much appreciated.

  • Automatic logout by realm ?

    Does anyone know if it is possible to automatically
    logout anyone after a specific number of minutes of
    inactivity? I want to do this through the custom realm
    in the EJB server, not a servlet session. The reason
    being that I want to logout all types of clients, not
    only web-users.
    TIA
    Björn

    Turn it off in the Security pane of System Preferences.
    (56094)

  • DSC and security features: automatic logout

    Hello,
    I'm using the security features of LabVIEW 8.5.1 and the DSC module.
    Does someone know how to enable the automatic logout feature (logout after a specified time without user interaction)?
    Thanks in advance.
    Tom
    Solved!
    Go to Solution.

    Hello Ben,
    meanwhile a NI-Support-Engineer provided an answer for that issue:
    If you are using LabVIEW DSC 7.1 there should be an
    option in the menu where you can set the minutes of inactivity
    until the automatic logout.
    In LabVIEW 8.x you will have to implement this on your
    own. There is a VI that will do the logout itself but the
    timing needs to be implemented by yourself. 
    So Ben, you are right: this functionality is simply not available anymore in LabVIEW 8.x!
    There is an KnowledgeBase document targeting that problem:
    http://digital.ni.com/public.nsf/allkb/0A8C5B624365A25E8625721100548970?OpenDocument
    but the contained example VI doesn't make too much sense. 
    The problem is that the DSC_Lougout.vi ignores the "idle" in "Minutes idle until logout". It simply logs out the user after a specific time elapsed without considering if the user is still active. 
    Regards,
    Thomas

  • PB17 sleeps due to automatic logout

    Does anyone here know how to turn off automatic logout? My PB17 goes to Screen Saver after 15 min, but if I've been in class for an hour and come back to see if I have any messages, my computer is on a black screen and wont go back to the desktop. I have to force shut down-restart the whole thing. This is getting VERY old. Sometimes, depending on what programs are running, the automatic logout is cancelled due to a certain program. Is there a way to fight this so I can have my computer running more than it is now?
    Aaron

    You can disable automatic logout from the Security pane of System Preferences.
    (9070)

  • Automatic logout on Macintosh computers

    Hi there,
    I have been asked to investigate how to automatically logout Macintosh computers from Bordermanager.
    Currently, all of our copies of Firefox and Safari on those computers have a Bordermanager logout bookmark (pointing to proxy:1959/cmd/BM-Logout.htm). However frequently users fail to click this before leaving the computer, which means the next user can use up the previous user's entire data allocation.
    My line of thinking is that the answer lies in Macintosh login/logout hooks, which are simply command line scripts that run on login and logout. So my theory is if we can load the Bordermanager logout page from the command line, then we should be able to force a disconnection from the server when a user logs in or out.
    I was going to experiment with using 'wget' but I thought I had better run it past the Bordermanager community first to see if someone had done this before, and if so, how did they do it?
    Thanks in advance,
    Erik

    In article <[email protected]>, Earok wrote:
    > effectively a Macintosh equivalent of dwntrust.
    >
    I just realized something here, and thought it would be good to clarify
    for anyone reading this. (Especially since I just had a call today on
    this very subject).
    Running dwntrust removes clntrust from the windows system tray/stops
    running clntrust. This does NOT clear proxy authentication. Using the
    url for the BMgr logout DOES clear proxy authentication.
    Just because clntrust is running doesn't mean that the proxy isn't
    still holding old proxy login information for your IP address.
    The proxy uses proxy authentication to associate a browser's IP address
    to an NDS user ID. In order to avoid authenticating a user for every
    packet, the proxy must remember the association for some period of
    time. In order to prevent associating the IP address to the same user
    forever, there must be a mechanism to periodically clear the
    association. So Novell engineered an idle timeout system. By default
    (with clntrust - ssl login is configurable) the idle timeout is 3
    minutes. After the idle time passed with the proxy seeing no
    additional browse requests from the same IP address, it will clear the
    authentication. Clntrust only ADDS the authentication, and dwntrust
    does nothing about authentication - it just unloads clntrust.
    There are 3 ways to clear proxy authentication:
    1. Wait until the idle timeout expires
    2. Use the clear authentication URL
    3. Unload proxy.nlm
    Just wanted to clarify there. I had a client of mine call me wondering
    why her access rules weren't working. She changed a deny rule from Any
    to just Students, and then she logged in as a student. She was still
    allowed access. The reason was that the proxy was remembering her
    previous login and still had her IP address associated to her
    non-student user ID. So she had done everything right when changing
    her access rule, but simply was not testing correctly. Had her very
    confused for a bit.
    Craig Johnson
    Novell Support Connection SysOp
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to http://www.craigjconsulting.com ***

Maybe you are looking for

  • Web pages loading slowly or not at all in all browsers

    I don't know why I'm having this problem.... for the last few weeks now.    95% of the time, web pages (for me.... particularly in Ancestry.com and Ebay) load very slowly, or don't load at all.  The other 5% of the time, it appears to work normally. 

  • Not all V.I.s in Logic will play??

    My Midi Keyboard is an 88 key M-Audio Key Controller, and I'm using a MOTU 8 pre interface. I can get most of the virtual instruments to play through my MIDI controller, but certain ones - specificaly the organs just won't play. Anybody have any clue

  • Urgent ipod help needed!

    earlier today burned some pics onto a cd while ipod was connected to ibook via dock. ipod started displaying a spinning disk symbol on its screen, and now appears that all music on it has been wiped. when I put it in the dock, spinning disk symbol re

  • Installed OS X Yosemite, and Illustrator CC 2014 will not print

    Just Installed OS X Yosemite, Mac Powerbook. and now Illustrator CC 2014 will not print to my HP Laser jet Pro 400, But Acrobat, Photoshop do. Any advise, I even Uninstallled and reinstalled the HP Drivers.

  • Where is safari download for 10.2.8?

    I have looked high and low and can't find a link to download safari only without the 10.2.8 update. Does it exist?