I like this idea, it would work great for the users that stayed logged into the system and i was able to pull their user name, but on the flip side i need to figure out how to tie a machine to a user, so when i don't have a user logged into the machine i can still send an email to that user to reboot their system.

I was orginally thinking i could do that by checking who the last person that logged into the system, but i have been digging around, and i don't see any udfs that grab the last user logged in, and are designed to work remotely \:\(