Hi,
I have a very tricky question.
I want to have a overview of some Windows Terminal Servers. One aspect to monitor is the count of users and a list of users on a TS (terminal server). I solved this by getting the list of all “explorer.exe” and the owners. This works pretty fine. Unfortunately it does not work for RemoteApp users. So I need a new way to get all users including the RemoteApp users.
Recoginzing every single RemoteApp seems to be a dirty way but is possible.
Do you have any other solutions?
Some ideas and words to my config:
The webserver is a Win 2008 R2 with IIS and php. I need this to get the WMI Querys running. TS are 2008R2 or 2012R2.
An idea is to run the command “query session” with the exec() function. Unfortunately the return is blank. Other commands, like ipconfig, return stings/array as expected. Can you imagine why there is empty return?
I know my english is very bad but I hope I described the issue accurately.
Thank you for your help.