M
Michael C
I'm writing a program that calls the Windows Terminal Services API
WTSEnumerateSessions. It works well for servers that I have "Query
Information" rights to, but for servers that I don't have those rights to it
takes up to 10 seconds to send a response. I'm testing with 70 servers
right now, and 700 seconds is way too long a delay. Is there any way to
speed up the responsiveness of the WTSEnumerateSessions function or to get
WTS session information w/o calling WTSEnumerateSessions? Maybe a way to
test if the currently logged in user has "Query information" rights
quickly -- before I call the WTSEnumerateSessions function?
Thanks,
Michael C.
WTSEnumerateSessions. It works well for servers that I have "Query
Information" rights to, but for servers that I don't have those rights to it
takes up to 10 seconds to send a response. I'm testing with 70 servers
right now, and 700 seconds is way too long a delay. Is there any way to
speed up the responsiveness of the WTSEnumerateSessions function or to get
WTS session information w/o calling WTSEnumerateSessions? Maybe a way to
test if the currently logged in user has "Query information" rights
quickly -- before I call the WTSEnumerateSessions function?
Thanks,
Michael C.