Web Services
  Home arrow Web Services arrow Remote Management Using Terminal Services
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB SERVICES

Remote Management Using Terminal Services
By: Jeff Mangan
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2003-04-17

    Table of Contents:

    Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    By the use of Terminal Services, which is an element of Microsoft 2000 package, one may be able manage servers as if they were actually inside the Server Room.

    Technologies Referenced

    Microsoft Windows 2000 Server

    The situation

    I have been in the web development field now for a few years. If any of you have ever worked as a consultant, you have probably experienced the same dilemmas as I. One that occurs at almost every business that I consult with, is that of server management.

    You see, since I am not an actual employee, the network administrators want to keep me the consultant as far away from the server room (and any sensitive data) as possible. However, as a result I am dependent on them to administer any changes that must be done on the server that can not be done from MMC (Microsoft Management Console), a web based interface such as the HTML admin tool for IIS, or anything else that would require physical access to the system.

    The solution

    With the release of Windows 2000, Microsoft have released a new and easier to use remote management system known as Terminal Services. It is included with the Windows 2000 Server family, and among other things, a Remote Administration Mode configuration provides a way to graphically manage servers as if you were right there.

    This provides a way for me to complete the tasks that I need to do on the servers that are running my applications, without needing physical access to the server room. Also, my Windows 2000 CAL is all I need to run this remotely. Yeah, you heard me right; you can run this on your client machines without the need for any additional licensing. As of the writing of this article, Terminal Services for Windows 2000 has clients for Windows 95, 98, NT, 2000, and CE (2.11).

    Now if you are reading this and saying “I do not deal with consultants where I work at”, I am sure you could still benefit from a way to remotely manage your servers all from one place. Best of all, it does not require any additional hardware or software resources (other then about 2meg of server memory), so you should not see any decrease in performance if you install it. If anything you will see an increase in performance (from you that is, since you won’t be walking down to the server room multiple times a day).

    Deployment

    You can install if during or after installation of the operating system by going into Add/Remove Windows Components.

    You do not need to enable the “Terminal Services Licensing” option, for remote administration. If you do not want all your workstations to have the ability to install the client, select Terminal Services, Details, and make sure the “Client Creator Files” check box is not checked. Click the next button, and now comes the tricky part. Are you ready, ok here we go…. for remote administration of this server, you must check “Remote Administration”.

    Wow, that was tuff. Ok, take a rest and we will continue on. Reboot the server (when appropriate), and that is it for the server install. You can also change the encryption level used for communication between the client and server by going into the “Terminal Services Configuration utility”, found under “Administrative Tools” and then going into the properties of the RDP 5.0 protocol.

    Configuring the Client

    This is not rocket science either. The easiest way is to just share out the “%systemroot%\system32\clients\tsclient” directory on the server where TS was installed. The client will run on a machine with as little as 8Megs of RAM, and does not need to be rebooted when a new install is performed. Once you have done this, you can run it by going into “Start/Programs/Terminal Services Client”.

    There are two options you have. The client connection manager will allow you to store the connection settings so you just need to click the Icon to connect, or you can go into the Terminal Services Client utility, and you will be prompted for the information each time.

    Now, as long as you have the proper authentication credentials on the server, you are now ready to do some remote administration.

    Additional Information

    The only issue that could use some improvement is that each workstation that you want to access the server from must have the client application installed on it. This sort of reminds me of the old days when I used to work as a system administrator for one of my previous employer’s software package. They had a system that was widely used in hospitals throughout the nation for quality management and improvement.

    It was a great system, but whenever I would deploy a new hospital, all the workstations had to have the client installed and configured, and the appropriate DSN to connect to the database server. This would take an entire day just to set up the workstations. Anyway, back to the real subject…. It is too bad there is not a web client for Terminal Services Remote Administration. If there was, I could access my servers over the Internet, LAN, WAN, etc.. Oh, wait a minute, as a matter of fact there is one.

    Terminal Services Advanced Client is an ActiveX Control that can be used to manage servers within Internet Explorer. Not only can I manage my servers, but I can also take advantage of the custom set of API’s to write my own custom web based applications for interaction with the server. So, now when I am at home in bed catching my ZZZ’s, and my pager notifies me that my web server has reported an error in the log (but of course MY server NEVER goes down), I can troubleshoot this problem from home. No longer do I have to go down to the office and see what the problem is because it can all be done from my own machine over the web.

    According to Microsoft, here are just a few ways you can benefit by using this type of client.

    The TSAC provides the following benefits:

    • Users do not have to manually download and install the client.
    • Administrators can send a URL to users, rather than the entire application.
    • Administrators can quickly change a Web page to point users to a new or updated application on the same or different server.
    • Users or administrators can roam to a different desktop and quickly access an application or desktop by simply knowing a URL.
    • If the TSAC is ever updated, users will automatically pick up the new version when they navigate to the Web page.

    The TSAC provides significant benefits to the following groups:

    • Users who need to access terminal server hosted applications from ‘unmanaged’ devices.
    • Administrators seeking simple ways to distribute Win32-based, line-of-business applications.
    • Systems Administrators who manage Windows 2000 servers using the Terminal Services Remote Administration feature.
    • Independent software vendors (ISVs) wishing to integrate their Win32-based applications into the new Web-based programming model.
    • Application service providers (ASPs) looking for a simple way of accessing applications over the Web.

    Not only can I manage my server over the web or Intranet, but also I can configure an MMC console with all the needed snap-ins necessary to manage my SQL Server, Site Server, and anything else. Then once I gain access to this server, I can run the MMC console just as if I was in the server room. As with any other amin procedure, be sure to implement proper security measures and anything else that could put your server at risk.

    Where can I get the TSAC?

    The TSAC can be downloaded from the TSAC Download page.

    It will also be included on the Windows 2000 Service Pack 1 (SP1) CD in the i386\valueadd\tsac directory. To order the CD, check the Windows 2000 Downloads page. It is important you know that the TSAC is not included in the download of Windows 2000 Service Pack 1, and must be downloaded separately if you do not order the SP1 CD-ROM.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

    More Web Services Articles
    More By Jeff Mangan

     

    IBM® developerWorks developerWorks - FREE Tools!


    IBM – Taking Web 2.0 to Work

    You'll get answers to many questions and more from David Barnes, Lead Evangelist for IBM Emerging Internet Technologies. David will discuss aspects of Web 2.0 that bring value to corporations, academia, and government. He'll also discuss IBM's vision around Web 2.0, including the importance of remixability and consumability. The discussion will culminate with examples of various IBM Software Group solutions you can use to get ahead of the Web 2.0 adoption curve.
    FREE! Go There Now!


    NEW! Cook up Web sites fast with CakePHP, Part 4: Use CakePHP's Session and Request Handler components

    CakePHP is a stable production-ready, rapid-development aid for building Web sites in PHP. This "Cook up Web sites fast with CakePHP" series shows you how to build an online product catalog using CakePHP.
    FREE! Go There Now!


    NEW! Discovering the value of WebSphere Process Server

    WebSphere Process Server delivers a unique integration framework that simplifies existing IT resources. Often, as IT assets grow to support business demand, so too does their complexity and manageability. In this webcast, we’ll discuss how WebSphere Process Server helps deliver an SOA infrastructure that provides a common model to orchestrate, mediate, connect, map, and execute the underlying IT functions. Discover how WebSphere Process Server simplifies integration of business processes by leveraging existing IT assets as reusable services without the complexities of traditional integration methodologies.
    FREE! Go There Now!


    NEW! Download DB2 Express-C 9.5

    Visit IBM developerWorks to download IBM DB2 Express-C 9.5, a no-charge version of DB2 Express 9 database server. DB2 Express-C offers the same core data server base features as other DB2 Express editions and provides a solid base to build and deploy applications developed using C/C++, Java, .NET, PHP, and other programming languages.
    FREE! Go There Now!


    NEW! Hello World: Learn how to install and use the Rational Asset Manager Eclipse client

    In this tutorial, you can learn how to install and configure the IBM Rational Asset Manager Eclipse client, explore the different views in the Asset Management perspective, learn various search techniques, work with existing assets, and submit a new asset.
    FREE! Go There Now!


    NEW! IBM Enterprise Modernization Sandbox for System z: Architecture

    Analysts, architects, and developers who have existing COBOL or PL/I skills and want to extend those skills to deploy new workloads on the mainframe can use the IBM Enterprise Modernization Sandbox for System z to find hands-on walkthroughs of common real world scenarios. The scenarios provide examples of how to rapidly design, create, assemble, test, and deploy high-quality Web, Web services, portal, and SOA applications for IBM CICS, IBM IMS, and IBM WebSphere Application Server.
    FREE! Go There Now!


    NEW! Info 2.0: Harnessing the power of Web 2.0 and Enterprise Mashups

    Listen to this webcast to get an overview of Info 2.0 and a technical demo of how to quickly build an enterprise mashup. IBM's Info 2.0 technology leverages emerging Web 2.0 technologies such as mashups, feeds, AJAX, and JSON in order to simplify assembly of information using feeds and services. Come learn about the technical elements of Info 2.0 including the Feed Generation framework, Mashup Engine, and mashup assembly components. Learn how to pull information from databases, departmental information, and the Web to create mashups critical to your company’s success. We will also discuss best practices to help you get started.
    FREE! Go There Now!


    NEW! Krugle, developerWorks, and code search

    Ken Krugler, co-founder of code search company Krugle, and Laura Merling, vice president of Marketing and Business Development for Krugle, join to talk about the ins and outs of code search and what it means as a new feature for developerWorks users.
    FREE! Go There Now!


    NEW! The dirty dozen: preventing common application-level hack attacks

    As organizations have grown increasingly dependent on online software, the risk of malicious attacks has also become far more serious. Fortunately, well-governed organizations can protect their Web applications by injecting vulnerability assessments and ethical hacks into their software development and delivery processes. This paper describes 12 of the most common hacker attacks and provides basic rules that you can follow to help create more hack-resistant Web applications.
    FREE! Go There Now!


    NEW! Webcast: IBM Rational Build Forge - Beyond the Build

    The discipline of assembling and delivering software is maturing beyond standard developer-centric compile/test software builds. The end-to-end software development lifecycle is emerging as the new focus moves “Beyond the Build.” Join this on demand webcast to learn about methods for streamlining software delivery and key capabilities of the IBM Rational Build Forge framework for automating build and release management in environments of any size.
    FREE! Go There Now!



    All FREE IBM® developerWorks Tools!

    WEB SERVICES ARTICLES

    - Getting Started with Flex
    - Automated Billing and Faxing for the Web
    - An Introduction to Web Services
    - The Foundations of Web Services: From Novice...
    - Web Services Reengineering: Finishing Touches
    - Fault Handling with Web Services
    - Flow and Web Services
    - Process Lifecycles and Web Services
    - Business Processes and Web Services
    - Orchestrating Web Services
    - Notifications and Resources in the WS-Resour...
    - WS Notification and WS Topics in the WS Reso...
    - Introducing the Implied Resource Pattern
    - Web Services and Stateful Resources
    - Deploying an EJB Application






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT