Yep On 05/07/05, Lilley, Brian <brian.lilley@xxxxxxxx> wrote: > thanks John, much appreciated.. interesting about .net having problems. were > the problems relating to COM interop? > > > -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On > Behalf Of Jon Spriggs > Sent: 05 July 2005 13:34 > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: automating RDP connections > > Brian, > > I use the ActiveX object within a VBScript file in some instances, > which seems to do everything you should need for a webpage or VB > application, and use the MSTSC.exe with a RDP file for others, so here > are a few tricks I picked up. > > 1) Unpack the CAB file and register the OCX file from somewhere on > your local machine. We made the mistake of registering it on a server, > which when it crashed, all our users were unable to log in to any of > the terminal servers! > 2) You can't easily make it provide the password in VB Script, > although it appears to be possible. I'd suggest using VB6 if you'll be > auto-authenticating, as each different version of Visual Studio.net > has different problems with the MSRDP.OCX file. > 3) You can pretty much define most of the aspects of your connection > using VBScript or VB - however, if you want to provide just an icon, > you can create an "RDP" file within the XP Terminal Services Client, > mark it read only and then create a short cut to that file. > > Hope that helps :) > > Jon > > On 05/07/05, Lilley, Brian <brian.lilley@xxxxxxxx> wrote: > > I think I've found the answer... the ActiveX object... > > > > -----Original Message----- > > From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf > > Of Lilley, Brian > > Sent: 05 July 2005 12:14 > > To: 'thin@xxxxxxxxxxxxx' > > Subject: [THIN] automating RDP connections > > > > > > > > Hi list! > > > > Do you know of a tool/interface where I can automate the creation of a > > (Microsoft) Terminal Server Client Configuration file (*.rdp) - Including > > setting credentials and the Encrypted password. - Or even better, do you > > know of a tool/interface where I can create a terminal server session - > > without the requirement for user intervention - and ideally - where I can > > get feedback should the connection fail to be established. > > > > Cheers, Brian ******************************************************** This Weeks Sponsor: Lakeside Software SysTrack is the easiest to use, most complete way to monitor system and application performance. SysTrack combines comprehensive monitoring capabilities with hardware/software inventory, change management, user/web auditing, and reporting to create a total management solution. Evaluation at: http://www.LakesideSoftware.com ********************************************************** Now available BriForum-The Video! http://www.brianmadden.com/store/pc/viewPrd.asp?idproduct=1&idaffiliate=3 Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm