So, my question here is... do you guys know any way to get the user count of users that only has or have had an interactive desktop from System Context?
Hi Miwca,
Please try to use some Windows APIs, e.g. WTSEnumerateSessions function, see the code in this thread's answer:
How do you retrieve a list of logged-in/connected users in .NET?
Also read this thread:
Get list of users of current logged in system
If you want to stick to WMI scripts, please post in some scripts specific forums, for example:
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.
No comments:
Post a Comment