Discussion Locked

Scripting Terminal Server Adv. Client

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My company is currently using Microsoft Terminal Server to access an application on the main server. However, I want to user the TSAC to allow access to this program via a browser and our Intranet. I have downloaded and installed the TSAC from http://www.microsoft.com/windows2000/downloads/recommended/TSAC/default.asp ,however, from looking at the sample files and the documentation, I am unable to figure out how to simply script it to start a specific program(something very easy to do in the regular TServer setup).
Does anyone know how to do this?
Keep in mind that I do not need to simply provide a path to an exe to launch. My current setup in TServer Client Connection is:

Program Path and File Name = D:\Forward\Unt72\bin\Something.exe /ASN=D:\Forward\Unt72\BlaBla\BlaLocal.ASN /INI=D:\Forward\Unt72\BlaBla\BlaLocal.ini TPS

Start In = D:\Forward\Usys72\BlaBla

I would greatly appreciate anyone's help who has had experience with this. Thanks.

Bob Gibilaro
Network Administrator
V. Alexander & Co., Inc.

5 replies

by bgibilaro

Thanks for the suggestion. I have read that article, and I have gotten notepad to work. However, when I try to get more complicated than that, it just does not work. Anyone else have any experience with this particular situation?

by timthetoolman

Hi,

I kinda figured you would have... How about this document?

http://www.univ-ovidius.ro/TSWeb/webclient.doc

(remove spaces from the above URL)

At least it mentions the existance of the following property...

WorkDir

As in the notepad example...

if MsTsc.SecuredSettingsEnabled then
MsTsc.SecuredSettings.StartProgram = "notepad.exe"
MsTsc.SecuredSettings.WorkDir = "C:\somewhere"
else
msgbox "Cannot access secured setting (startprogram) in the current browser zone"
end if

I assume your application WILL run as an activeX control!?!? Without the need for virtual channels to be set up - specifying DLLs or something?

Cheers,
Tim.

This discussion is closed to new replies.