Re: want timeout auto-logoff, not by screensaver or energy mgt

From: Torgeir Bakken (MVP) (Torgeir.Bakken-spam_at_hydro.com)
Date: 02/21/04


Date: Sat, 21 Feb 2004 18:57:04 +0100

Eric wrote:

> When I select "prompt for password on resuming from standby or hibernation", or the similar option in the screensaver controls, the computer wakes up with the "this computer is locked; only [last user] or an administrator can unlock it."
> This is not good when users forget to log off, because it requires my time to fix it. I would like to set an auto-logoff timeout on inactivity, so that the machine would wake up with the "friendly logon."
> I have looked in group policy [XP Pro] but have only found "force logoff after allowed hours." (Close but no cigar.)
> How do I do this? -Eric

Hi

Here is a couple of other ways to do it:

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 after
a set amount of idle time:

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/scriptcenter


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: 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.security_admin)
  • 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: ~~Auto logoff when Inactivates for 5 mins
    ... Windows Server 2003 Resource Kit Tools ... off or shuts the computer down after a set amount of idle time (the ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.win2000.general)