You can schedule a task to lock the desktop after a period of
inactivity.
Start/All Programs/Accessories/System Tools/Scheduled Tasks. On the last
screen, check off Show Advanced Options. Under Advanced/Settings/Idle Time
(Only start... and Stop the task...).
You can schedule a task for inactivity. Use this to lock the
desktop after 10 minutes of idle time.
Use this shortcut for the task:
%windir%\System32\rundll32.exe user32.dll,LockWorkStation
To log off and run the risk of having your programs end prematurely and
without saving any unsaved material, you could use the same scheduled task
command and replace the LockWorkStation with ExitWindows. That will log off
the currently logged on user.
To schedule a logoff procedure for XP, use this:
C:\Windows\System32\shutdown -l as the scheduled task.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.