Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Script to logoff XP systems after inactivity

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 24-02-2008
aja44
 
Posts: n/a
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.

Reply With Quote
  #2  
Old 24-02-2008
Pegasus \(MVP\)
 
Posts: n/a
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 . . .


Reply With Quote
  #3  
Old 24-02-2008
urkec
 
Posts: n/a
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...c73 d4a47c57d

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
Reply With Quote
  #4  
Old 03-03-2008
Zanten, Ben van
 
Posts: n/a
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.


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 10:31 PM.