Click to See Complete Forum and Search --> : Capturing User Information


jenovaramesh
June 6th, 2008, 03:38 AM
When a user connects to a windows box using remote desktop or through any other terminal services, I would like to capture following,

a. login time of the user
b. logoff time of the user
c. hostname from where user logged in
d. Whether the user tried to install or deinstall software
e. What were the programs user tried to invoke?

Is this can be achieved programmatically in C++ with Win32?

If yes, please let me know the way.

Or if this can be achieved through any other programming language,
please let me know.

JamesSchumacher
June 6th, 2008, 08:31 AM
Or if this can be achieved through any other programming language,
please let me know.

If it can be done through another one, it can surely be done in C++, C++ is more than likely responsible for the creation of any of the others.

Quell
June 6th, 2008, 12:05 PM
Check out NetUserEnum.

kirants
June 9th, 2008, 03:09 PM
There are Windows terminal Services APIs and notifications that you could use to get some of the information.

Check out WTSEnumerateSessions, WTSRegisterSessionNotification APIs and such.