Re: Is it possible to find out if mstsc.exe was able to login or not?
- From: "Vera Noest [MVP]" <vera.noest@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 15 Mar 2007 15:06:40 -0700
Mm, I'm far from a scripting expert, but one method which comes to
mind is to check the output from a "netstat -an" command on the
client, and search for an established connection to port 3389 on
the server.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
=?Utf-8?B?Sm9yZ2VD?= <JorgeC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote on
15 mar 2007 in microsoft.public.windows.terminal_services:
Hello!.
I've been asked to write a script of some sort which will find
out whether the login (using the remote desktop client) failed
or not. Why?
This is the scenario:
The user usually connects to a terminal server using the remote
desktop client (mstsc.exe) but every now and then the internet
connection is lost for a few hours. And when this happens the
user can't obviously login, so I should write some script to
find out if the login was successful or not and if not run
another local application instead.
How can I know whether the login was successful or not? Is it
possible? I can't find a way to do this.
And yes, if you think this doesn't make much sense, ... I agree
with you, but the boss commands so...
J.C.
- Prev by Date: Re: After 90 days when temp licenses expired can't access with RDC for admin purpose
- Next by Date: Re: rdp to console of w2k3 R2 kills server
- Previous by thread: Re: Windows Terminal Server instead of Citrix?
- Next by thread: Re: Is it possible to find out if mstsc.exe was able to login or not?
- Index(es):
Relevant Pages
|