Results 1 to 4 of 4

Thread: Script to logoff XP systems after inactivity

  1. #1
    aja44 Guest

    Script to logoff XP systems after inactivity

    Good Morning, hoping to get some help with an issue I am having. Working in
    a HS environment and have a major problem with students not logging off their
    systems after they leave classes. I am looking for a way to force a system
    to logoff the user after a period of inactivity. They all authenticate to
    our Windows 2003 AD and we are not using TS. Any help with scripting this to
    tie into the Screensaver or Scheduler would be a great help.

    thanks in advance.

  2. #2
    Pegasus \(MVP\) Guest

    Re: Script to logoff XP systems after inactivity


    "aja44" <aja44@discussions.microsoft.com> wrote in message
    news:59A7456C-2012-4043-A124-B648BE2E4CFC@microsoft.com...
    > Good Morning, hoping to get some help with an issue I am having. Working
    > in
    > a HS environment and have a major problem with students not logging off
    > their
    > systems after they leave classes. I am looking for a way to force a
    > system
    > to logoff the user after a period of inactivity. They all authenticate to
    > our Windows 2003 AD and we are not using TS. Any help with scripting this
    > to
    > tie into the Screensaver or Scheduler would be a great help.
    >
    > thanks in advance.


    You could try a little substitution racket: Replace the current
    screen saver executable with an executable that you compile
    yourself. Its sole function would be to invoke shutdown.exe -L.

    This is not a particularly robust solution because it depends
    on the screen saver remaining fixed. Just a thought . . .



  3. #3
    urkec Guest

    Re: Script to logoff XP systems after inactivity

    "Pegasus (MVP)" wrote:

    >
    > "aja44" <aja44@discussions.microsoft.com> wrote in message
    > news:59A7456C-2012-4043-A124-B648BE2E4CFC@microsoft.com...
    > > Good Morning, hoping to get some help with an issue I am having. Working
    > > in
    > > a HS environment and have a major problem with students not logging off
    > > their
    > > systems after they leave classes. I am looking for a way to force a
    > > system
    > > to logoff the user after a period of inactivity. They all authenticate to
    > > our Windows 2003 AD and we are not using TS. Any help with scripting this
    > > to
    > > tie into the Screensaver or Scheduler would be a great help.
    > >
    > > thanks in advance.

    >
    > You could try a little substitution racket: Replace the current
    > screen saver executable with an executable that you compile
    > yourself. Its sole function would be to invoke shutdown.exe -L.
    >
    > This is not a particularly robust solution because it depends
    > on the screen saver remaining fixed. Just a thought . . .
    >
    >
    >


    I remember this discussion:

    http://groups.google.com/group/micro...6ec73d4a47c57d

    Maybe it is possible to use the process monitoring script to check for a
    screen saver process, and if the process is running long enough, log off.

    --
    urkec

  4. #4
    Zanten, Ben van Guest

    Re: Script to logoff XP systems after inactivity


    Hello Aja44,
    useing a logoff screen saver seems to be the way to go.
    you can configure the screen saver to be used using GPO, and microsoft
    supplies a winexit screen saver in their resource kit !

    in the KB article 297267 on http://support.microsoft.com/kb/297267 there is
    information how to configure the windows exit screen saver tool, however
    this information is for Windows NT. in XP and higher you can use GPO
    settings for screen saver.

    Ben van Zanten



    "aja44" <aja44@discussions.microsoft.com> wrote in message
    news:59A7456C-2012-4043-A124-B648BE2E4CFC@microsoft.com...
    > Good Morning, hoping to get some help with an issue I am having. Working
    > in
    > a HS environment and have a major problem with students not logging off
    > their
    > systems after they leave classes. I am looking for a way to force a
    > system
    > to logoff the user after a period of inactivity. They all authenticate to
    > our Windows 2003 AD and we are not using TS. Any help with scripting this
    > to
    > tie into the Screensaver or Scheduler would be a great help.
    >
    > thanks in advance.



Similar Threads

  1. Logoff Script for Dissconnecting Mapp Drives .
    By mypass604 in forum Operating Systems
    Replies: 2
    Last Post: 16-10-2009, 09:10 AM
  2. Linux script to force logoff users
    By WinSlayer in forum Operating Systems
    Replies: 3
    Last Post: 28-07-2009, 11:08 PM
  3. Auto LogOff after Inactivity
    By VinnyL in forum Vista Help
    Replies: 3
    Last Post: 02-07-2009, 08:55 PM
  4. Delete files with logoff/on script
    By Pine Le in forum Windows Security
    Replies: 1
    Last Post: 03-06-2008, 11:19 PM
  5. logoff vbs script
    By Coreman in forum Windows Server Help
    Replies: 1
    Last Post: 28-04-2007, 06:02 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,715,606,135.94468 seconds with 16 queries