basup Posted January 21, 2010 Share Posted January 21, 2010 I have written a script to connect to remote desktop. I want the same script to invoke an application on the remote desktop. How do I do so?? Help!! Link to comment Share on other sites More sharing options...
Developers Jos Posted January 21, 2010 Developers Share Posted January 21, 2010 use pstools: psexec() SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
99ojo Posted January 22, 2010 Share Posted January 22, 2010 Hi, if this doesn't work (Jos' post): Create a RDP file and use option Start Program at connect. See help of RDP Client mstsc myrdpfile.rdp or Use roaming profile for TS User and put your program in Autostart of TS User Profile. ;-)) Stefan Link to comment Share on other sites More sharing options...
basup Posted January 22, 2010 Author Share Posted January 22, 2010 (edited) Hi,if this doesn't work (Jos' post): Create a RDP file and use option Start Program at connect. See help of RDP Clientmstsc myrdpfile.rdporUse roaming profile for TS User and put your program in Autostart of TS User Profile.;-))StefanHi stefan,Thanks for the reply. But I am really new at all this ..Infact I am pretty clueless as to how to Create an RDP File and go about it..Could you please elaborate.. Edited January 22, 2010 by basup Link to comment Share on other sites More sharing options...
99ojo Posted January 22, 2010 Share Posted January 22, 2010 (edited) Hi, Creating RDP File: just open remote desktop client. Click on options. Fill out the input fileds: 1) Computername or IP Adress 2) Username for connection 3) Click on tab Programs, check checkbox and fill input fields with Data, e.g: c:\program files\internet explorer\íexplore.exe 4) Go back to 1. st tab and save file. If you click save it is saved as default.rdp. You may use Save as Button. 5) Run mstsc <fullpath and name of rdp file>. You may check mstsc options with mstsc /?. Profile: 1) If you have a local profile on TS Server or RDP Server, then put a link of the program you want to start at login in your autostart folder of your local profile. 2) If you have roaming profile stored on a fileserver, put the link in the autostart folder of your roaming profile on file server. ;-)) Stefan Edited January 22, 2010 by 99ojo Link to comment Share on other sites More sharing options...
gte Posted January 22, 2010 Share Posted January 22, 2010 The remote desktop session is encrypted and I haven't figured out a way to see the contents inside of the window My code is in this post, I've changed my code since this post, but I had forgotten to update the post and my code is at work http://www.autoitscript.com/forum/index.php?showtopic=107962&st=0&p=761487&fromsearch=1&#entry761487 HP OpenView ServiceCenter keep alive scriptRemote Desktop Login Script Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now