View previous topic :: View next topic |
Author |
Message |
AndreT78
Joined: 05 Feb 2020 Posts: 14
|
Posted: Thu May 14, 2020 7:42 am Post subject: TSCHECK ScriptRes always OK |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu May 14, 2020 10:28 am Post subject: |
|
|
Its pretty old utility, it does not work well with new Windows.
We will check how it can be improved..
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue May 19, 2020 6:29 am Post subject: |
|
|
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 |
|
Back to top |
|
|
AndreT78
Joined: 05 Feb 2020 Posts: 14
|
Posted: Tue Jun 02, 2020 1:51 am Post subject: |
|
|
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. |
|
Back to top |
|
|
|