View Single Post
Old 06-23-2009, 05:44 AM   #6 (permalink)
elprezidente
Registered User
 
Join Date: Jun 2009
Posts: 20
OS: Windows XP SP3


Re: Place Computers to Sleep when users log off

I created a startup script for the workstation OU on AD that auto creates the scheduled task. The script will create the task, make a copy of the VB script to the local drive (for laptops and workstations that connect in occasionally via VPN) and copy psshutdown.exe which is the application that places the computer to sleep. The scheduled task runs once an hour during the course of the day and only places the computer to sleep if the user is logged off. So far it's been like this all weekend and it's worked like a charm. There are a few users who still have a bad habit of leaving their workstations logged in but they're getting better at it.
elprezidente is offline   Reply With Quote