Do you have a scripting-related question or problem? You can send your question or problem to email@example.com.
I'm an experienced Windows NT 4.0 administrator with little programming experience. Although I can create simple batch files, I want to learn Windows Script Host (WSH) and VBScript so that I can become more productive. Do you know of any instructor-led classes that I can take, or are books the only way to learn scripting technologies? If books are my only option, can you suggest one for an experienced NT administrator but a beginning programmer?
I'm not aware of any Microsoft Certified Technical Education Center (CTEC) or private training providers that currently offer public, instructor-led, hands-on classes. However, two training opportunities—a conference and an online training program—appear to be under development.
The Windows Script community is exploring the possibility of organizing a conference that highlights scripting in the Windows 2000 and NT platform, with an emphasis on systems administration tasks. A survey to assess the interest in this conference is under way. If you're interested in attending or participating in such a conference, I encourage you to complete the brief online survey at http://www.zoo merang.com/survey.zgi?cnttl082h8yf hym97d8k389p.
SmartForce, The e-Learning Company, is in the planning stage of developing online training courses about WSH and VBScript. For information about these online courses, visit the SmartForce Web site at http://www .smartforce.com/corp/marketing/corpor ate/content/solutions/smartcourses/ catalog/curicula/win2000b.htm.
Because the conference and online training program are only in the planning stages, your current options are books and online resources. I recommend reviewing the table of contents in each of the following books to determine which one focuses on the areas you're most interested in:
- Günter Born, Microsoft Windows Script Host 2.0 Developer's Guide (Microsoft Press, 2000), http://ms press.microsoft.com/books/4127.htm
- Thomas Eck, Windows NT/2000 ADSI Scripting for System Administration (New Riders Publishing/Macmillan Technical Publishing, 2000), http:// www.newriders.com/books/title.cfm ?isbn=1578702194
- Dino Esposito, Windows Script Host Programmer's Reference (Wrox Press, 1999), http://www.wrox.com/ consumer/store/details.asp?isbn =1861002653
- Thomas Fredell and Charles Williams, SAMS Teach Yourself Windows Script Host in 21 Days (MacMillan Publishing Company, 1999), http://www.mcp .com/sams/detail_sams.cfm?item =067231374X
- Mikael Freidlitz and Todd Mondor, Professional ADSI CDO Programming with ASP (Wrox Press, 1999), http://www.wrox.com/consumer/ store/details.asp?isbn=1861001908
- Steven Hahn, ADSI ASP Programmer's Reference (Wrox Press, 1998), http://www.wrox.com/consumer/ store/details.asp?isbn=186100169x
- Tim Hill, Windows 2000 Windows Script Host (New Riders Publishing/ Macmillan Technical Publishing, 1999), http://www.newriders .com/books/title.cfm?isbn=1578701392
- Jeffrey Honeyman, Scripting Windows 2000 (Osborne McGraw-Hill, 2000), http://www.osborne.com/ networking/scripting_win_2000.htm
- David Iseminger (series editor), Active Directory Developer's Reference Library (Microsoft Press, 2000), http:// mspress.microsoft.com/books/4281 .htm
- Paul Lomax, Matt Childs, and Ron Petrusha, VBScript in a Nutshell (O'Reilly & Associates, 2000), http:// www.oreilly.com/catalog/vbscriptian/
- Alistair G. Lowe-Norris, Windows 2000 Active Directory (O'Reilly & Associates, 2000), http://www.oreilly.com/ catalog/win2000ads/
- Simon Robinson, Professional ADSI Programming (Wrox Press, 1999), http://www.wrox.com/consumer/ store/details.asp?isbn=1861002262
- William R. Stanek, Windows NT Scripting Administrator's Guide (IDG Books Worldwide, 1999), http://164 .109.153.102/product.asp?isbn =0764533096
- William R. Stanek, Windows 2000 Scripting Bible (IDG Books Worldwide, 2000), http://164.109.153 .102/product.asp?isbn=0764546775
- Tobias Weltner, Windows Scripting Secrets (IDG Books Worldwide, 2000), http://184.108.40.206/product.asp ?isbn=0764546848
If you're most interested in VBScript, VBScript in a Nutshell is a good starting point and a great reference. If you're most interested in WSH, Microsoft Windows Script Host 2.0 Developer's Guide is a good starting point.
Don't overlook the "Understanding VBScript" series in the Win32 Scripting Journal (June 1999 to present) and the documentation and tutorials available for download and online viewing on the Microsoft Windows Script Technologies Web site (http://msdn .microsoft.com/scripting/). Microsoft recently revised and updated all its script-related documentation with the release of Windows Script (WS) 5.5. My experience is that the documentation is much improved over earlier versions.
I've searched but found nothing about how to use Microsoft Active Directory Service Interfaces (ADSI) scripts to manage Windows NT Server 4.0, Terminal Server Edition (WTS) user settings. Can you use ADSI to set the Allow logon to terminal server check box attribute?
Unfortunately, ADSI doesn't currently expose WTS user settings. Nor am I aware of a third-party component that exposes these settings. As a result, the only option is to use the Win32 API.