How to make Win2K "Lock" after Period of Inactivity
Novell Cool Solutions: Trench
By Paul Behrens
Digg This -
Posted: 5 Nov 2002
Here's an idea for you on Win2K. We use this to lock the workstation after five minutes of idle time:
(Start a snAppShot on a workstation to capture these changes for distribution)
- Go to Control Panel - Scheduled Tasks
- Click "Add Scheduled Task"
- For the program location click browse and use:
- Choose "Daily" and press Next.
- Set the Start Time to 12:01 AM
- Click "Every 1 Days" and click Next.
- Enter the Administrator username and password and click Next.
- Click Finish.
- Now double click on the item to open it back up again. Change the path to:
- Click on the Schedule tab.
- Click on the Advanced button.
- Choose "Repeat this task every (7) minutes for duration (24) hours."
- Click on the Settings tab and select "Only start this task if the computer is idle for (5) minutes" and "retry for up to (6) minutes"
- Uncheck everthing in the Power Mangement section.
- Check the "multiple schedules" box.
- Click "New"
- Change to "At Logon".
- Press OK to save your changes.
Now if the computer is idle for five minutes, it should lock the workstation. If you wanted it to log off instead, use Shell32.dll,ExitWindowsEx.
If you have any questions you may contact Paul at BehrensPH@wilmotgs.k12.wi.us
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com