Terminal Services test
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You should specify appropriate user name and password, like:invisik wrote:I'm trying to run tscheck from a Windows 2000 SP4 host and I am getting
ScriptRes:Bad:Access is denied.
My command line is: tscheck -host:192.168.1.98 (the ip of the terminal server)
Quote:tscheck -host:192.168.1.98 -user:your_username -password:your_password
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=3586
=====================
There is 1 mandatory parameter:
- host:<hostname>
and 2 optional parameters:
-user:<user_name>
-password:password
=====================
Regards,
Max
Ok, I had done that as well. Sorry for not including it before, but I thought there was some functionality even without a login specified. Here's the results.
tscheck -host:192.168.1.98 -user:mattj -password:thepassword
ScriptRes:Bad:A required privilege is not held by the client.; Access is denied.
The error message is returned quickly, it is not waiting 2 minutes like the other poster had mentioned theirs was. Thanks.
-m
tscheck -host:192.168.1.98 -user:mattj -password:thepassword
ScriptRes:Bad:A required privilege is not held by the client.; Access is denied.
The error message is returned quickly, it is not waiting 2 minutes like the other poster had mentioned theirs was. Thanks.
-m
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
In case username/password are not specified, tscheck is trying to connect to terminal service using logged in user credentials.invisik wrote:I thought there was some functionality even without a login specified.
Could you provide more information please?invisik wrote:tscheck -host:192.168.1.98 -user:mattj -password:thepassword
ScriptRes:Bad:A required privilege is not held by the client.; Access is denied.
- What Windows is installed on the Terminal Service machine?
- What Windows is installed on the machine, where you are trying to execute tscheck.exe?
- Are you trying to connect to the Microsoft Terminal Service or to the Citrix Terminal Service?
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
There is one requirement for Windows 2000. You should grant "Act as part of the operating system" privilege to the logged on user. Please note, you should grant this privilege not for the user you specify as -user: paremeter, but for the user, that executes tscheck.exe process (for the user, you are already logged in). You may assign "Act as part of the operationg system" for certain user using "Local Policies" applet ("Start" > "Run" > "Secpol.msc" > "Security Settings" > "User Rights Assignment" > "Act as part of the operating system"). Probaly, you will have to restart machine after applying changes.invisik wrote:The testing machine is Windows 2000 SP4 and I am running it from a command prompt.
Regards,
Max
Ok, give me a hint here. I can test servers on my LAN successfully, but I cannot test any over the internet. I get "The RPC Server is unavailable".. I've tried by hostname and IP address, username with the domain and without. I've watched my firewall logs and nothing is shown as blocked during the test........
Thanks for any ideas. I am testing Application Mode and Remote Administration mode terminal servers out there.
-m
Thanks for any ideas. I am testing Application Mode and Remote Administration mode terminal servers out there.
-m
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Unlike Remote Desktop and MS Terminal service client, tscheck.exe does not use RDP protocol to access remote Terminal services, it uses "Terminal Services API", that requires additional services started on the target machine. IMHO, such services is not accesible thru the internet. The solution is to install RMA on one of remote remote servers, an perform Shell Script, that executes tscheck.exe, by RMA, to check local (local for RMA) terminal services. To make it work, you should copy tschek.exe into the folder, where RMA is installed on remote machine.invisik wrote:I can test servers on my LAN successfully, but I cannot test any over the internet. I get "The RPC Server is unavailable"..
Regards,
Max
Hi,
I did get it working. Must put tscheck.exe on the server that has the RMA loaded and run against local servers from there. Not quite ideal, but well enough for now. I do also have a 3389 tcp port check running over the internet which helps tell if RDP from the internet is operatoinal or not.
Thanks for this one!!
-m
I did get it working. Must put tscheck.exe on the server that has the RMA loaded and run against local servers from there. Not quite ideal, but well enough for now. I do also have a 3389 tcp port check running over the internet which helps tell if RDP from the internet is operatoinal or not.
Thanks for this one!!
-m