Log users in Realtime


  • Hello,

    I have to write a C# Program that needs to know about the users that are currently logged on to a Hyper-V machine in Realtime.

    I have red about something called UAL (User access Logging):

    But its only polling for data every 24 hours.

    Is there another possibility to get this Information but in Realtime?

    P.S. The users are logged in over RDP.

    Thank you for all replies and have a nice day.

    Monday, April 3, 2017 6:52 AM

All replies

  • This forum is established to answer questions around general administration and use of the Hyper-V environment. Programming questions are better directed to a programming forum, such as MSDN forums.

    That said, almost anything is possible with programming.  Windows is not a real time operating system, so you cannot obtain the information in 'real time', according to the definition of real time programming, but if you mean you want to capture the information at defined intervals, that is definitely possible.  In fact, it could be done with scripting if you don't want to write a program.  If you are interested in obtaining the information programmatically, find an appropriate programming forum.  If you want to find it via scripting, you can search  You most likely will not find an exact script for your needs, but you are likely to find something that comes close and you can modify to suit your needs.


    Monday, April 3, 2017 7:52 PM