Send Character/Text to rdp (MSTSC.EXE)

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kdtrog
Junior Coder
Posts: 43
Joined: Wed Mar 28, 2007 9:36 am

Send Character/Text to rdp (MSTSC.EXE)

Post by kdtrog » Tue May 26, 2009 10:08 am

I have a little script running for years which is sending Login information via "Send" and "Ascii" to a remote desktop session started with mstsc.exe.

The script isn't sending text anymore since one of the last updates of MS.
I am actually running version 11.1.10 under Windows Vista SP1.

Last version successfully running my script was 11.0.33

Any ideas?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue May 26, 2009 10:19 am

I'm sure this is a coincidence since there's been no fundamental changes to sending of text.

I have just tested sending text to an RDP screen using 11.1.10 running under Vista and it worked fine.

I would expect this to be a coincidence and something else is causing this, probably just a timing/focus issue.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kdtrog
Junior Coder
Posts: 43
Joined: Wed Mar 28, 2007 9:36 am

Post by kdtrog » Wed May 27, 2009 2:48 pm

You are right it's not MS it's Vista. I am starting the mstsc.exe with admin rights and MS is running via autostart - which means account rights.

After starting MS with admin rights text send is working.

Do you know any alternative instead of starting MS with account rights?


Klaus

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed May 27, 2009 2:52 pm

Do you know any alternative instead of starting MS with account rights?
Start mstsc.exe with account rights. Do you need to start remote desktop with admin rights? I don't. I just run it as normal.

Both would need to be running at the same level. Whether they are both admin, or both account.

Or disable UAC.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kdtrog
Junior Coder
Posts: 43
Joined: Wed Mar 28, 2007 9:36 am

Post by kdtrog » Wed May 27, 2009 2:57 pm

Or disable UAC.
Probably the best way to get rid of many problems :lol:

Thanks for helping me to clear this case.

Klaus

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts