Capturing User Information
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.
Re: Capturing User Information
Quote:
Originally Posted by jenovaramesh
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.
Re: Capturing User Information
Re: Capturing User Information
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.