Remote Desktop Web Connection - Start Program Automatically

  • 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.
 
This should go in the default.htm file your TSWeb. The code is probably already there, you just need to enter your application name & path. You could also configure this in each user's account, if you want to be able to access TSWeb with the full desktop

User Account -> Properties ->Environment -> Starting Progra

Patrick Rous
Microsoft MVP - Terminal Serve
www.patrickrouse.com
 
Hi,
I have the same problem.
I checked the default.htm file but I didn´t found these
parameters.
Can you send to us or help to find?

Thank you.

Elizabeth
-----Original Message-----
This should go in the default.htm file your TSWeb. The
code is probably already there, you just need to enter
your application name & path. You could also configure
this in each user's account, if you want to be able to
access TSWeb with the full desktop.
 
I have the same problem! I want to start a program on the terminal server without the users getting access to the desktop
I have tried to edit the default.htm but nothing happens !

If somebody know how to do this - please send your answer !!

Johnny - Denmar

----- Todd wrote: ----

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

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

end i

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

Thanks! Any help greatly appreciated
 
Yes, I too want to have users launch the remote desktop web to only launch
applications. How do I do this please?



Johnny said:
I have the same problem! I want to start a program on the terminal server
without the users getting access to the desktop.
 
I also had this issue, but what I ended up doing was:

Create Users
Allow these users to "Logon" to the Terminal Server
Setup the user profile to only Launch a specific application

Upon closing the application the Terminal Services Session is killed....with 1 MAJOR note.... With 2003 Server, the session takes 1 minute to "Reset". If ou try to reconnect after killing the session you will get a "Windows Blue Background" while the session is reset.

I hope this helps! Although it is not true "Application Publishing".
 
Back
Top