+ Post New Thread
Results 1 to 7 of 7
Windows Thread, Automatically log off a user after 10 minutes in Technical; is there a script that can be applied to a OU via group policy to log users off automatically after ...
  1. #1

    Join Date
    Jul 2007
    Location
    Lancs
    Posts
    388
    Thank Post
    45
    Thanked 21 Times in 19 Posts
    Rep Power
    18

    Automatically log off a user after 10 minutes

    is there a script that can be applied to a OU via group policy to log users off automatically after 10minutes and not allow them to log back on that day?
    Thanks

  2. #2
    Batman's Avatar
    Join Date
    Mar 2009
    Location
    Northampton
    Posts
    940
    Thank Post
    115
    Thanked 118 Times in 74 Posts
    Rep Power
    39
    There is a group policy setting to log off users after a certain time, but I can't for the life of me remember where I saw it... dunno how you'd prevent them logging on again, but it's a start.

    Why do you need to do this?

  3. #3
    p858snake's Avatar
    Join Date
    Dec 2008
    Location
    Queensland
    Posts
    1,490
    Thank Post
    37
    Thanked 175 Times in 151 Posts
    Blog Entries
    2
    Rep Power
    51
    Quote Originally Posted by Batman View Post
    There is a group policy setting to log off users after a certain time, but I can't for the life of me remember where I saw it... dunno how you'd prevent them logging on again, but it's a start.

    Why do you need to do this?
    The logon hours restrictions in AD would probably be the only way to stop them logging back in.



    Sounds like you need some sort of script that runs on login then waits X minutes and then logs off and reports the account to the server so it can lock it.

  4. #4

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    If you download the Windows Server 2003 Resource Kit it comes complete with a screensaver called Winexit.scr which'll logoff users after 10 minutes.

    It won't stop them re-logging on that same day however. I don't believe this is possible.

  5. #5

    bossman's Avatar
    Join Date
    Nov 2005
    Location
    England
    Posts
    3,905
    Thank Post
    1,186
    Thanked 1,057 Times in 749 Posts
    Rep Power
    328
    @LukeC:

    Would this be for all users?
    As staff using IWB would inevitably find it a harrowing experience to have to keep logging in or for that matter having to get their login reset after 10 Mins.

    We tried the screen saver policy and the backdraft from that was enormous so we had to remove the policy and it's effects.

  6. #6


    Join Date
    Sep 2008
    Posts
    1,752
    Thank Post
    320
    Thanked 258 Times in 211 Posts
    Rep Power
    119
    There was a script on here limitlogon (or something similar) which can be used when people log on and adds the username/computer name to a text file. Then when a user logs on it checks to see if their name already exists as a file and if so denies then log on.

    This could possibly be adapted to be created when a user is automatically logged off and so cannot log back on until you delete all files created? Maybe not the best way, but I think it may do what you want.

  7. #7

    Join Date
    Jul 2007
    Location
    Lancs
    Posts
    388
    Thank Post
    45
    Thanked 21 Times in 19 Posts
    Rep Power
    18
    the script is only to be used for a group of computers in the pupil foyer, as these are going to be used as internet pods used for checking emails and timetables primarly so we are trying to prevnt certain students hogging them all break and lunch. But we would also liek to disable them between certain times ie lessons time no access.

SHARE:
+ Post New Thread

Similar Threads

  1. Auto log off user after a program is closed
    By link470 in forum Windows
    Replies: 32
    Last Post: 2nd July 2009, 09:05 PM
  2. Setting "log on to" automatically
    By Mr_M_Cox in forum Windows
    Replies: 7
    Last Post: 13th August 2008, 03:52 PM
  3. Permitting only one user to log on to a workstation
    By ctbjs in forum How do you do....it?
    Replies: 8
    Last Post: 5th September 2007, 03:27 PM
  4. Replies: 10
    Last Post: 31st March 2007, 05:40 PM
  5. Replies: 10
    Last Post: 19th December 2006, 09:42 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •