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 


May 09, 2001

One More Use for Terminal Services


RSS
Subscribe to Windows IT Pro | See More Application Service Provider (ASP) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Why would users with no administrative duties who have powerful computers capable of running their applications locally need a terminal connection? Here's one reason: They're developers. Having developers use terminal connections isn't necessarily a new idea in server-based computing, but I think it's worth a second look. Lately, I've spent a lot of time experimenting with Windows Management Instrumentation (WMI) and Active Directory Service Interfaces (ADSI) and other Windows scripting technologies, and writing and testing scripts to see what works and what doesn't. I've found a terminal connection to be incredibly useful in the development process.

First, the terminal connection lets me run scripts designed for local use on a variety of platforms without having to get up and move. A developer who runs a terminal session from Windows NT 4.0 or Windows 98 will be able to test cross-OS compatibility and find out how well a script written on one platform runs on another platform.

Second, terminal sessions are useful for checking out the results of a script designed for remote management. Although you might think I could check the results of my remote-management scripts by running a second script to check object properties after I edit them, this doesn't always work. For better performance, WMI (for managing computer resources and environment) and ADSI (for managing objects stored in a directory service) cache object properties on the computer that runs the script. After the information is cached, the scripts read from the cache, not from the remote computer, which can make it difficult to determine whether the changes took effect. But by running a remote desktop to the servers I used to test the scripts, I could see whether my changes had been applied. This method was handy, it was fast, and it was a heck of a lot more convenient than walking around to check the test servers. (When I tested my scripts, I spent some time bemoaning NT 4.0's lack of terminal services support, because any time I wanted to see the effects of a script on an NT server I had to walk over to the machine to look at the console.

This is one time when licensing also can work in your favor. If you've set up a test lab with Windows 2000 servers, each of those servers will accept up to two administrative connections. Because you're running terminal services in Remote Administration mode, you don't need a Terminal Server Client Access License (TSCAL). Thus, this kind of testing environment is essentially free for anyone who likes to test scripts before putting them on production servers.

Administrative scripting isn't exactly new or exclusive to Win2K, but in Win2K it's more powerful and much more accessible than the scripting capabilities available to you in previous versions of NT. If you get around to experimenting with scripting, I think you'll find a window on a remote server (one accessible to developers only, please—I don't think production workers want to use the server on which someone else is testing scripts) is an incredibly useful development tool.

End of Article



Reader Comments

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. ...

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

...

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 ...


Thin-Client and Server Computing Whitepapers Backing Up and Restoring in a Microsoft® Exchange Environment

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

Understanding and Leveraging SSL-TLS for Secure Communications

A Guide to Windows Certification and Public Keys

Related Thin-Client and Server Computing 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