ca99uk Posted April 1, 2008 Posted April 1, 2008 (edited) Hello Everyone, I would like to implement a logon/logoff script that would update the computer description with who logged on/off and the times. This would be updating the AD computer object. I have seen a couple of examples and tried to implement them with various success. If anyone could give me the code to do this that would be great. I assume for the AD permissions in order for the user to update the description they just need write access on the computer object description property??Anyway many thanks for your help. Edited April 3, 2008 by ca99uk
tguy Posted April 24, 2008 Posted April 24, 2008 I would consider implementing a script that checks the server's security log for logon events, find the most recent, parse for the user and time and then write that information to the server's registry section for computer description.Do you mind if I ask why you are doing this? It would seem easier to query the event logs on multiple servers and dump the results to a single text file on the network or something where you view all the results at once.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now