Allways 2 NOT active users

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
megasound

Allways 2 NOT active users

Post by megasound »

strange thing found...

i use hm7.78
i use : windows 2008
i test INACTIVE Terminal Service users
(with option : preformace counter
test line : \\127.0.0.1\Terminal Services\Inactive Sessions

these test is on a active client (active agent)

the strange thing is that there are ALLWAYS 2 inactive users even when NOBODY is logged on to this machine

is this a bug ?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Don't think it's a bug. As for me, inactive session means someone was logged in to terminal service and was disconnected without logging of. You may use standard "Terminal Services Manager" to find out ghow many sessions are handled by terminal service.

Regards,
Max
megasound

nope

Post by megasound »

thanks for your answer but sorry ....

i looked at terminal service manager i see NOBODY connected and NOBODY lost his connection...so NOTHING is there

something is NOT right here
can i make some test which display the current not active sessions/users ???

m
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: nope

Post by KS-Soft Europe »

megasound wrote:i looked at terminal service manager i see NOBODY connected and NOBODY lost his connection...so NOTHING is there

something is NOT right here
Cannot explain this. "Performance Counter" test method utilizes Windows Performance Counters engine, that is not pretty reliable. Looks like something wrong on this machine. You may start standard Windows "Performance" applet and try to check Terminal Services\Inactive Sessions counter there.
megasound wrote:can i make some test which display the current not active sessions/users ???
You may try WMI test methiod with the following query:

Code: Select all

select InactiveSessions from Win32_PerfFormattedData_TermService_TerminalServices
Regards,
Max
megasound

ALLMOST

Post by megasound »

thanks for the quick reply

when i run this i get "invalid class" (reminder its 2008 machine)
so thats not good

settings from test :
hostname____________localhost
name space__________root\cimv2 (i also tried root\WMI same result)
query_______________select InactiveSessions from Win32_PerfFormattedData_TermService_TerminalServices

sorry but this not working
what am i doing wrong ???
m
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Looks like you do everything properly. According to the Microsoft, Win32_PerfFormattedData_TermService_TerminalServices class should be present on Windows 2008 ( http://msdn.microsoft.com/en-us/library/aa394296.aspx ), but it is not. Probably, some additional WMI provider should be registered.
Regarding number of inactive sessions, I think, there always should be at least one session on Windows 2008, because special session for services is created starting from Vista/Server 2008. You may play with Win32_PerfFormattedData_TermService_TerminalServicesSession class, that is available on Windows 2008. It does not provide information about type of session (active or inactive), however it provides other usefull information about each terminal session.

Regards,
Max
Post Reply