Re: ~~Auto logoff when Inactivates for 5 mins

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 06/11/04


Date: Fri, 11 Jun 2004 03:37:36 +0200

jesse wrote:

> I am wondering how can I force accounts to auto logoff when there are inactivate after 5 minutes.
Hi

A couple of ways to log the user off after a set time of inactivity:

A)

Winexit.scr in the Win2k3 Server RK kit (will work on Win2k and WinXP
at least)

Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

(The kit will install on WinXP or later)

If the users are non-admins on the local computer you must add Set Value and
Create Subkey permissions for the group Everyone on this registry key:
HKEY_Local_Machine\Software\Microsoft\WindowsNT\CurrentVersion

How can I use the WinExit screen saver without granting Admin rights?
http://www.jsifaq.com/SUBC/tip1100/rh1179.htm

Logoff Screen Saver Does Not Function in Windows NT
http://support.microsoft.com/default.aspx?scid=kb;EN-US;156677

B)

You could create a scheduled job on each computer that logs the user
off or shuts the computer down after a set amount of idle time (the
scheduler in Win2k and WinXP has an idle time setting):

http://groups.google.com/groups?selm=3FB6E343.FB3AE435@hydro.com

-- 
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx


Relevant Pages

  • Re: Timed log off
    ... Windows Server 2003 Resource Kit Tools ... How can I use the WinExit screen saver without granting Admin rights? ... Microsoft MVP Scripting and WMI, ...
    (microsoft.public.win2000.general)
  • Re: want timeout auto-logoff, not by screensaver or energy mgt
    ... Windows Server 2003 Resource Kit Tools ... How can I use the WinExit screen saver without granting Admin rights? ... Microsoft MVP Scripting and WMI, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: auto logoff/log on issues
    ... Windows Server 2003 Resource Kit Tools ... How can I use the WinExit screen saver without granting Admin rights? ... Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.win2000.general)
  • Re: Logoff/shutdown
    ... Windows Server 2003 Resource Kit Tools ... How can I use the WinExit screen saver without granting Admin rights? ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Printer Admin Object
    ... and ports on local and remote computers. ... Add and delete a local or remote printer. ... Instrumentation scripts in Windows Server 2003, ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.scripting.vbscript)