Could you control that with a local security policy?
Does the user have admin rights?
--
Richard Siddaway
Please note that all scripts are supplied "as is" and with no warranty
Blog:
http://richardsiddaway.spaces.live.com/
PowerShell User Group:
http://www.get-psuguk.org.uk
"Gaurhoth" wrote:
> Look for WinExit.SCR in the windows 2003 resource kit. It will cause a
> logoff when the screen saver kicks in. However, you still have the issue of
> forcing the user to "KEEP" the screen saver settings the way you put them.
>
> Gaurhoth
>
>
> "Marco Shaw" <marcoDOTshaw_@_gmailDOTcom> wrote in message
> news:%23PYgORxaHHA.348@TK2MSFTNGP02.phx.gbl...
> > Windows XP Pro
> >
> > After 15 minutes of inactivity, I'd like to force a user to log off. I
> > was thinking that I could run a regular script to check for the
> > screensaver process (that would start after 15 minutes of inactivity).
> >
> > Is there a way to cleanly logoff a user? This is a local account only
> > (not domain connected).
> >
> > Now, unless there's a way for me to 'plug into' whatever kicks off the
> > screensaver, and have the script be run directly...
> >
> > Marco
> >
>
>