Re: Automatically log off a user from a client workstation

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



Barry,
You might play around with this command
The following command will lock a workstation:

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

Create a Scheduled Task using the following in a batch file or add the batch
file to a logon script to automatically create the scheduled task on the
workstation.:

schtasks /create /RU "" /tn "Lock Workstation" /tr
"%windir%\System32\rundll32.exe user32.dll",LockWorkStation /sc onidle /i 30

Change the 30 to 5, if 30 minutes is too long

Bob

"WinAbility.Com"
<use-our-web-site-to-contact-us@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:%23rNAMU5zGHA.1292@xxxxxxxxxxxxxxxxxxxxxxx
"Barry McConomy" <siscan@xxxxxxxxxx> wrote in message
news:12flh1hpbshet7c@xxxxxxxxxxxxxxxxxxxxx
Is there a way to automatically log off a user from a client workstation
if there is no activity for say 5 minutes.

Our software ActiveExit can do that (or lock the computer, or restart it):

http://www.winability.com/active-exit

You can use it for free for 30 days and see if it works well enough for
your needs.

--
Regards,

Andrei Belogortseff
WinAbility(r) Software Corp. [ http://www.winability.com/ ]
"Useful Windows Utilities and Security Software"





.



Relevant Pages

  • System Resources Problem when Workstation Locked
    ... I have a batch file that I would like to schedule to run ... However, when I lock ... my workstation, ... What does locking the workstation do to my system resources ...
    (microsoft.public.windowsxp.general)
  • Re: Automatically log off a user from a client workstation
    ... The following command will lock a workstation: ... Create a Scheduled Task using the following in a batch file or add the ... Our software ActiveExit can do that (or lock the computer, ...
    (microsoft.public.windows.server.sbs)
  • Re: GPO in XP & Win2k Pro
    ... when the screen saver is activated and the workstation is locked by screen saver, my scheduled task such as batch file to transfer some packet from remote PC to central server. ... Is there workaround to allowed scheduled taskto run as per normal when the GPO screen saver is active and workstation is locked? ...
    (microsoft.public.windowsxp.general)
  • Re: GPO in XP & Win2k Pro
    ... I would like to implement screen saver GPO to push down to all XP Pro SP2 & Win2k pro sp4 clients, when the screen saver is activated and the workstation is locked by screen saver, my scheduled task such as batch file to transfer some packet from remote PC to central server. ...
    (microsoft.public.windowsxp.general)
  • GPO in XP & Win2k Pro
    ... when the screen saver is activated and the workstation is ... my scheduled task such as batch file to transfer ... normal when the GPO screen saver is active and workstation is locked? ...
    (microsoft.public.windowsxp.general)