Remote Desktop Web Connection - Run Program at Logon

  • Thread starter Thread starter Todd
  • Start date Start date
T

Todd

I see from Microsoft's info that it is possible to automatically start
an application when logging in to the Remote Desktop Web Connection. I
have installed this client on a web server and it works fine to login
to a Windows 2000 Terminal Server desktop - but I want to send users
directly to an application without seeing the desktop. I found the
following snippet of code that supposedly will accomplish thia, but
where do you put it? In what file, and located where in the file? I
have tried several things inside the default.htm file to no avail. See
the following code:

if MsTsc.SecuredSettingsEnabled then
MsTsc.SecuredSettings.StartProgram = "notepad.exe"
else
msgbox "Cannot access secured setting in the current browser zone"

end if

Accorning to the ActiveX Control Deployment Guide this code is
supposed to start "Notepad" when the user logs on. (I really don't
want to start Notepad, but I can correct the program path if someone
can help me get it working)

Thanks! Any help greatly appreciated.
 
There are many ways of doing this... Take a look at
http://www.jsiinc.com/SUBK/tip5300/rh5383.htm for a full list.

Jeffrey Randow (Windows Net. & Smart Display MVP)
(e-mail address removed)

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Smart Display Support - http://www.smartdisplays.net
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone
 
Back
Top