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
TSCHECK ScriptRes always OK
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
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