MSFN Forum: Logon/Logoff script to update computer description with who logged on? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Logon/Logoff script to update computer description with who logged on? Rate Topic: -----

#1 User is offline   ca99uk 

  • Group: Members
  • Posts: 1
  • Joined: 01-April 08

Posted 01 April 2008 - 06:07 AM

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. :thumbup

This post has been edited by ca99uk: 03 April 2008 - 04:47 PM



#2 User is offline   tguy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 698
  • Joined: 19-May 04

Posted 24 April 2008 - 01:09 PM

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy