Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


April 2001

Remotely Manage Your Win2K Servers


RSS
Subscribe to Windows IT Pro | See More Remote Computing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
SideBar    Remote Administration for the Rest of Your Network

Download the Code Here

TSAC: RDP Terminal Services Meet the Web
Microsoft sometimes over-hypes products that turn out to be whopping disappointments, and other times the company slips crucial and useful features into new service packs or upgrades without fanfare. An example of the latter is the Terminal Services Advanced Client (TSAC), which Microsoft ships on the Win2K Service Pack 1 (SP1) CD-ROM and provides for download at http://www.microsoft.com/windows2000/downloads/recommended/tsac. (TSAC isn't part of the service pack installation and isn't in the Web-downloadable version of SP1.) TSAC provides Win2K's RDP-based Terminal Services with a Web-based client, a feature that earlier Windows versions lack.

TSAC is an add-on for any Win2K or NT 4.0 server running Microsoft Internet Information Server (IIS) 4.0 or later. Installing TSAC on an IIS server enables the server as a Terminal Services gateway of sorts; a system that can distribute and direct Web-based Terminal Services client sessions.

The client side of TSAC works as follows: A remote client using Microsoft Internet Explorer (IE) connects to a TSAC-enabled IIS server that connects the client to a page, which Figure 6, page 48, illustrates, that lets the client connect to a Terminal Services server within the organization. At that point, the IE client also downloads an ActiveX version of the RDP Terminal Services client that ships with Win2K (if the client doesn't already have it). After downloading the software, the client can run terminal server sessions within the browser window or full-screen.

What makes the TSAC client particularly useful is its accessibility. You can easily distribute the client to and run it from within any IE browser that permits downloading and running ActiveX controls. In addition, TSAC extends the accessibility of Terminal Services for administrators because you can theoretically perform remote administration from any IE Web browser that can access the server.

Be aware that TSAC doesn't fundamentally change the way that clients connect to Terminal Services-enabled Win2K servers. Although the TSAC-enabled IIS server provides a connection point to Terminal Services servers, the TSAC-hosting IIS server doesn't need to be running Terminal Services. The IIS server is simply a distribution and connection point for remote clients. In addition, although clients connect through this TSAC-enabled gateway Web server, the final connections between the remote client and the server are ultimately made directly and not passed through the Web server. As typical RDP Terminal Services traffic does, these sessions use TCP port 3389, which you'll need to permit through your firewall if you're supporting Internet-based TSAC or typical Terminal Services connections.

TSAC isn't the only Web-based RDP client. HOB's HOBLink JWT (Java Windows Terminal) is a Java-based RDP 5.0 client that can access any RDP-based terminal server, including Win2K Server and WTS (see Jonathan Chau, "HOBLink JWT 2.1," January 2001). This solution provides an alternative for non-IE users and those interested in additional features that TSAC doesn't provide. For more information about TSAC, see "Related Articles in Previous Issues," page 50.

Four Heads Are Better than One
By default, TSAC connections use an HTML file called default.htm, which contains VBScript code sufficient to display a terminal server session within the browser window. However, while perusing my Web server's TSAC-related files, I happened upon another file called manyservers.htm. A quick review of the TSAC documentation revealed that Microsoft included this file as an example of how to display multiple Web servers within one browser window. I thought this capability might be useful for administrative purposes, so I connected to the TSAC server, this time specifically referencing the manyservers.htm file in the URL.

Manyservers.htm displayed four terminal server windows in one browser page. However, all four connections were to the same server, which isn't very useful. In reading the documentation and examining the HTML file, I discovered that this file is an incomplete product that isn't well documented and doesn't quite work as advertised. Unwilling to be daunted by the disappointing performance of manyservers.htm, I decided to attempt to modify the file to work the way I originally expected it to: Display four windows representing connections to four servers in one browser page. My experiment was successful, and after some tweaking, I managed to get the page to query for and display as many as four separate servers on one page. I have since used this page, which Figure 7 shows, on the road in situations in which I want to examine several servers at once.

The modified manyservers.htm code that I created, which Listing 1 shows, generates this four-server administration console. If you decide to similarly customize your manyservers.htm file, before you start, rename the original file or at least back it up. Also, if you want to display your company's logo, change the HTML tag in Listing 1 that refers to MYLOGO.bmp to the file of your choice. You can also simply omit this tab if you don't want to display a graphic on the page.

A New Day for Remote Administration
The introduction of Terminal Services and remote-administration mode as standard offerings in the Win2K Server product family brings a new level of manageability to Win2K. The SP1-provided TSAC further enhances the usability of Terminal Services by providing a Web-based client that you can use to remotely support your servers from virtually any location. Although Terminal Services doesn't resolve the desktop-side of the remote-administration equation, third-party freeware, shareware, and commercial products on the market provide these features at little or no cost. If you haven't done so already, I highly recommend enabling Terminal Services remote-administration mode on every Win2K server in your enterprise.

Related Articles in Previous Issues
You can obtain the following articles from Windows 2000 Magazine's Web site at http://www.win2000mag.com.

Terminal Services and TSAC
CHRISTA ANDERSON
"Tools for the Control Freak," May 2000, InstantDoc ID 8400

SEAN DAILY
Remote Possibilities, "Win2K Server Terminal Services and TSAC," December 2000, InstantDoc ID 16014

RIS and Customized Installations
SEAN DAILY
"Advanced RIS Management," March 2001, InstantDoc ID 19678
"Understanding Remote Installation Services,"
February 2001, InstantDoc ID 16432
"Customizing Unattended Win2K Installations,"
January 2001, InstantDoc ID 16219

MARK MINASI
Inside Out, "Using Win2K's Remote Installation Service,"
September 1999, InstantDoc ID 7109

Virtual Network Computing
ALESSANDRO IACOPETTI
Reader to Reader, "Remotely Control Any NT Machine," January 2001, InstantDoc ID 16162 LARRY SELTZER
"Virtual Network Computing 3.3.3r7," Winter 2000, InstantDoc ID 15673

End of Article

   Previous  1  [2]  Next  


Reader Comments
<i><br>Microsoft includes the manyservers.htm file as an example of what you can do with Terminal Services Advanced Client (TSAC), which you can download at http://www
.microsoft.com/windows2000/downloads/
recommended/tsac. To get the customized manyservers.htm file that I included in the article, go to http://www.win2000mag.com, enter 20043 in the InstantDoc ID text box, and click Download the code in the Article Information box. Simply copy the listing into any text editor and follow the instructions in the article to customize the code for your network environment.<br>
<i>--Sean Daily</i>

Sean Daily June 19, 2001


<br>I read Sean Daily's "Remotely Manage Your Win2K Servers" (April 2001), and I'm wondering whether the manyservers.htm file is available for downloading. Where can I get it?<br>

Kevin Foster June 19, 2001


<br><br>
Kudos for TSAC<br><br>
In Tricks & Traps: "Daily Answers" (September 15, 2001), Sean Daily answers a question from a reader about how to create custom Terminal Services Advanced Client (TSAC) Web consoles. The answer references "Remotely Manage Your Win2K Servers" (April 2001), which includes information about Microsoft's TSAC Web client and where to find it (http://www.microsoft.com/windows
2000/downloads/recommended/
tsac). I'm amazed that the Windows 2000 Server and Win2K Server Terminal Services documentation doesn't mention TSAC at all. TSAC saves me from having to distribute disks with instructions for setting up Comtrol's RocketPort Modem Card, a VPN, and more. I've been using Terminal Services for about 2 months without knowledge of this little jewel, so I appreciate it all the more (not to mention that configuring it took all of 5 minutes).<br><br>
Patrick C. Rouse<br>
prouse@ocasf.org<br><br>

I agree with your observation about the stealthiness of the TSAC Web client in the Microsoft documentation. I find it ironic how Microsoft sometimes overhypes its bad products and underhypes its good ones.
--Sean Daily

Patrick C. Rouse January 18, 2002


This code is not working on Windows 2003/XP machines.

lurims March 24, 2005 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

New Microsoft/Yahoo! Deal? No

On Sunday, the Times of London reported that Microsoft had renewed talks with failing Internet giant Yahoo! and would manage its search engine for 10 years, while Yahoo! would retain control of its email, messaging, and content services. This report ...

How can I stop and start services from the command line?

...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Introduction to Identity Lifecycle Manager "2"

Power Up! With Virtualization Online Conference

Protecting Mobile Users' Data

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing