How to run a logon script but not as the current user

Posted by user139951 on Server Fault See other posts from Server Fault or by user139951
Published on 2012-10-07T20:52:12Z Indexed on 2012/10/07 21:40 UTC
Read the original article Hit count: 111

I want to create a log of when people login or logout of computers in a computer lab. My first idea was to just create login/logout scripts that contact a server, but the problem is since these scripts would run as the current user, that they would then be able to run this script outside of these two occasions. Is there any way to go about running a login/logout script as the domain computer rather than as the user?

© Server Fault or respective owner

Related posts about Windows

Related posts about active-directory