Re: How to enforce log off in WinXP when user was loged on 2 hours?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



You can use psshutdown remotely to force a console logoff but you need to
prepare users. You can send a message with pshutdown and timeout and an
option to let users abort. If they abort n times then remove the option and
force a logoff.

The screensaver can do the same thing with a little work and will force the
logoff.

I deny connections to prevent users from sneaking in at the last second.
They login and can't get resources so don't start doing anything on the file
servers.

--
Jim Vierra

"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@xxxxxxxxx> wrote in message
news:ObgndOBUFHA.3352@xxxxxxxxxxxxxxxxxxxxxxx
> Jim Vierra wrote:
>
>> set logon hours. in GP set force logoff. in GP.
>
> You can't use this setting for console logoff.
>
> This forced logoff policy is a policy for SMB server, i.e. the computer
> which has a network share accessible from a network. This policy, if
> enabled on a server, ends the users session with the server when their
> logon hours expire.
>
>
>> Run shutdown screensaver from resource kit to force logoff
>> on workstation.
>
> If the request had been "log off the user account if it have been
> inactive for 2 hours", I agree that this could have been an option.
>
>
> --
> 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/default.mspx


.



Relevant Pages

  • Re: Force Log Off When Logon Hours Expire
    ... >You can't use this setting for console logoff. ... >This forced logoff policy is a policy for SMB server, ... >torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.group_policy)
  • Re: USSTAB color question
    ... The server sends the USS messages; ... command and there is no session in place, ... data - along with the same USS commands, specifically the LOGOFF versions ...
    (bit.listserv.ibm-main)
  • Re: getting kids to log off win xp home
    ... If you are thinking about the GPO setting "Network security: ... that has nothing to do with a logoff of the user at his ... component of the server, to remove connections that the user ... Microsoft MVP Scripting and WMI, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: login/logoff Report
    ... On the client PC I do see the logoff script run in the logoff window. ... also run gpupdate /force on the server and client. ... was also able to edit this file in the shared folder. ... Server 2003, Windows XP Professional, or Windows 2000 ...
    (microsoft.public.windows.server.sbs)
  • Re: psshutdown issue: shutdowns computers when using a logoff command!!
    ... server the problem was disconnected RDP sessions. ... to the logoff part of the script. ... The echo | command is used if there are any questions aksed, ...
    (microsoft.public.windows.server.scripting)