KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

TSCHECK ScriptRes always OK

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
AndreT78



Joined: 05 Feb 2020
Posts: 3

PostPosted: Thu May 14, 2020 7:42 am    Post subject: TSCHECK ScriptRes always OK Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12260
Location: USA

PostPosted: Thu May 14, 2020 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12260
Location: USA

PostPosted: Tue May 19, 2020 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
AndreT78



Joined: 05 Feb 2020
Posts: 3

PostPosted: Tue Jun 02, 2020 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index