TSCHECK ScriptRes always OK

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
AndreT78
Posts: 15
Joined: Wed Feb 05, 2020 5:28 am

TSCHECK ScriptRes always OK

Post by AndreT78 »

Hi
I would like to test whether an RDP registration is possible.

I try it with tscheck.exe, but the result is always OK, unless the server is down. Even if the RDP service does not start, check reports OK.

tscheck.exe -host:TRMSRV -user:"xx@dom.local" -password:xxxxxx

even with the wrong password > Result:OK

RDP Server : Windows Server 2012 R2 standard
or: Windows Server 2019 Standard

Client (Hostmonitor) : Windows 10 Pro

whats my mistake?

BR Andre
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Its pretty old utility, it does not work well with new Windows.
We will check how it can be improved..

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

We spent couple days but cannot make this Windows API work properly on new systems (so far).

I would suggest WMI test instead.
E.g. you may use query
select TotalSessions from Win32_PerfRawData_LocalSessionManager_TerminalServices
TotalSessions should be >0
namespace: ROOT\CIMV2

(use Win32_PerfRawData_TermService_TerminalServices for old XP/2003 systems)

Regards
Alex
AndreT78
Posts: 15
Joined: Wed Feb 05, 2020 5:28 am

Post by AndreT78 »

Thank you for your try. We will test it.

But the server make a restart every night an then the Session Count is 0 and that is at this time ok.

Now we have to build an account which make an automatic login after reboot, so we can count >0

Is then the result = 0 , we have an problem.
Post Reply