Re: Configure a Scheduled Log-Off for Windows XP

From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 10/14/04

  • Next message: Torgeir Bakken \(MVP\): "Re: Configure a Scheduled Log-Off for Windows XP"
    Date: Thu, 14 Oct 2004 09:20:25 +0200
    
    

    Ann wrote:
    > I just recently been moved into out IT Dept. My 1st project is to create a
    > way for our Customer Service Dpt. to enable a scheduled auto log-off.
    >
    > We have representatives that do not log off at night when leaving and when
    > we do the back-ups they are not successful. Unfortunately, it is not the same
    > person, so it's not as simple as setting a policy on that computer.
    >
    > It's been accessed that this is not possible with Active Directory/Group
    > Policy. We are considering a 3rd party client-side application that forces
    > log-off at a set time - this must be done on the client side, not the server.
    >
    > If this is successful, we will roll it out to the entire company.
    >
    > Any suggestions would be greatly appreciated.
    Hi

    I suggest that you put Psshutdown.exe (free) from SysInternals in a
    scheduled task that logs off the user at a set time (or do a
    shutdown/poweroff instead)

    Note that from my own testing, WinXP's builtin shutdown.exe utility is
    not able to log off another user than the one user that is defined as
    the "task" user. This means that it is pretty useless in this scenario.

    Psshutdown.exe in SysInternals's free PSTools suite does not suffer
    under this limitation and is the tool I recommends to use in this case.

    http://www.sysinternals.com

    You can use SCHTASKS.exe to create the scheduled task, run SCHTASKS /?
    in a command prompt for more help.

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

  • Next message: Torgeir Bakken \(MVP\): "Re: Configure a Scheduled Log-Off for Windows XP"

    Relevant Pages

    • Re: Shutting down automatically
      ... You could put %windir%\system32\shutdown.exe in a scheduled task, ... to turn of your computer" message when you do a shutdown. ... PsShutdown.exe in the free PsTools suite ... Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
      (microsoft.public.windowsxp.general)
    • Re: Access to stop/start services.
      ... appropriate file in the folder that the scheduled task looks in. ... These permissions are only exposed in Group Policy. ... a 2003 Server. ...
      (microsoft.public.windows.server.general)
    • Re: WMI and WinXP SP2?
      ... you can configure the "Allow for remote administration" ... WF_XPSP2.doc "Deploying Windows Firewall Settings for Microsoft ... you will find it as a ordinary Group Policy ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
      (microsoft.public.win32.programmer.wmi)
    • 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: cannot even check for available updates
      ... Best Regards ... > Benny Wang wrote: ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
      (microsoft.public.windowsupdate)

    Loading