All,
I am needing to programatically (.NET) open a Terminal Server 2003
session, execute a program and close the session. Sounds easy enough.
Well, I've gOOgled my brains out and I've found myself right back where I
started, with nothing. Does anyone have some detailed examples on how to
accomplish this?
Here's a short list of my trip:
http://support.microsoft.com/kb/q281417/
http://www.microsoft.com/downloads/details.aspx?FamilyID=33AD53D8-9ABC-4E15-A78F
-EB2AABAD74B5&displaylang=en
I've tried installing the Windows Server 2003 Administration Tools Pack
from here:
http://www.microsoft.com/downloads/details.aspx?FamilyId=C16AE515-C8F4-47EF-A1E4
-A8DCBACFF8E3&displaylang=en
I've read about Terminal Services Advanced Client (TSAC) but it seems to
no longer be available. Thanks for the help.
Jason Newell, MCAD
Software Engineer
Dino Chiesa [Microsoft] - 20 Dec 2004 20:02 GMT
Windows XP includes Remote Desktop Web Connection, which is an updated
version of the TSAC.
download it here:
http://www.microsoft.com/windowsxp/downloads/tools/rdwebconn.mspx
If you have previously installed the rdpclient software, you may already
have this thing at c:\windows\web\tswep\msrdp.cab
Regarding programmatic access,
you can also script the MS Terminal Services Client. This may or may not be
what you want.
There are also APIs exposed by Windows Terminal Server. Maybe you want to
examine
http://msdn.microsoft.com/library/en-us/termserv/TermServ/terminal_services_star
t_page.asp
If you want to create a virtual channel-based app, you may be able to do
that with interop.
a starting point,
http://pinvoke.net/default.aspx/wtsapi32.WTSOpenServer
or you can try a COM -based approach:
http://support.microsoft.com/default.aspx?kbid=299947
-Dino
> All,
> I am needing to programatically (.NET) open a Terminal Server 2003
[quoted text clipped - 15 lines]
> Jason Newell, MCAD
> Software Engineer