many thanks Mark. I will pass this on to our developers... -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of Mark Sent: 05 July 2005 15:05 To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: automating RDP connections You can set the password from the activex client, look at the Set_ClearTextPassword() In the AdvancedSettings2 section of the control properties. Yes, it say's cleartext but that is actually encrypted within the RDP data stream anyway so it's as secure as the rest of the communication. You just need to secure it in your code somehow, easy if using VB but perhaps would need a hashing algorithm if using ASP or VBA to mangle the data. We use it to great effect. It's in use in our new SingleSignOn / Web & Seamless RDP client stuff about to be released so if you want to chat offlist about it's pro's and con's feel free to mail me :o) Mark -----Original Message----- From: Jon Spriggs [mailto:jon.spriggs@xxxxxxxxx] 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 > > ============================================================================== > Please access the attached hyperlink for an important electronic > communications disclaimer: > http://www.csfb.com/legal_terms/disclaimer_external_email.shtml >============================================================================== >============================================================================== > Please access the attached hyperlink for an important electronic > communications disclaimer: > http://www.csfb.com/legal_terms/disclaimer_external_email.shtml >============================================================================== > -- Jon "Four Star Gun" Spriggs AKA Jon "The Nice Guy" Spriggs ******************************************************** 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 ******************************************************** 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 ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml ============================================================================== ******************************************************** 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