Subscribe to Windows IT Pro

Dick Lewis

Dick Lewis is a senior systems engineer with Lewis Technology in Riverside, California. He is an MCSE and a Microsoft Certified Trainer (MCT) specializing in enterprise management of Windows Server 2003 and Windows 2000 servers and workstations.
Email: dlewis@windowsitpro.com

My Latest Content
My Latest Comments



Author Articles

Who Is Accessing Your Shared Resources?

By Dick Lewis, 06/20/2007

In a perfect world, shared folders have specific permissions granted to one or more security groups that contain the user community for that share. But the world is far from ...

Reduce Your Downtime While Reading Uptime Reports

By Dick Lewis, 09/11/2006

Reviewing the uptime statistics for many servers can be time-consuming. Here's a script that produces a report in which it's easy to spot problematic uptime statistics.

Valuable Lessons Learned

By Dick Lewis, 09/11/2006

Learn about some of the challenges Dick Lewis faced when creating UptimeReport.bat. By sharing the lessons he learned, he hopes you can avoid similar problems.

DFS Scripting Tools

By Dick Lewis, 08/11/2006

Here are some Microsoft command-line tools for scripting, creating, modifying, or just viewing the Distributed File System structure.

Arrays and Temporary Files

By Dick Lewis, 08/11/2006

By using a temporary file as your “array,” you can redirect command output to a text file to get a list that you can easily manipulate and filter.

Scripting DFS

By Dick Lewis, 08/11/2006

You can use Microsoft's command-line tools to configure and query DFS, but the tools might return more information than you need. Here’s a script that will help you get the ...

5 Scripts for Managing Local Groups

By Dick Lewis, 06/12/2006

Check out these five handy scripts to simplify management of local groups. They provide an easy way to add and remove members, enumerate memberships, and modify group properties.

Learn How to Error-Proof Paths and Creatively Manipulate Strings

By Dick Lewis, 05/08/2006

GetUserProfiles.bat is not only a working script that you can use to clean up old user profiles but it’s also a valuable learning tool.

The FAQs About Setting Up Your Shell Scripting Environment

By Dick Lewis, 04/10/2006

Learn the basics of setting up a Windows command shell scripting environment.

May I Have a Menu Please?

By Dick Lewis, 03/13/2006

RegModsMenu.bat illustrates how you can add a menu interface to scripts. This script stores registry-modification information and performs the modifications.

Error-Handling Techniques

By Dick Lewis, 02/13/2006

Learn more about noteworthy error-handling techniques that Dick Lewis uses in two of his "mini" scripts.

Small Scripts Pack Power

By Dick Lewis, 02/13/2006

Eleven "mini" scripts use a variety of tools and techniques to automate specific, practical admin tasks related to system security and stability.

Keep Tabs on Replications

By Dick Lewis, 01/17/2006

The ReplicationTest script gives you better control over large-scale data replications by comparing directory sizes and file counts on replication partners and alerting you of ...

Naming Temporary or Output Files

By Dick Lewis, 01/17/2006

These three techniques let you ensure unique temporary or output filenames.

Handling Spaces in Command Paths

By Dick Lewis, 01/17/2006

Use these techniques to ensure that scripts containing command paths with spaces will run correctly.

Scripting Sequenced Shutdowns

By Dick Lewis, 12/12/2005

This handy script takes the hassle out of multiple-server shutdowns by shutting down groups of servers sequentially and verifying that they've actually shut down and restarted.

New Tricks for Your Scripting Tool Belt

By Dick Lewis, 12/12/2005

Multiple-usage routines and entry-point labels are two code-reusability techniques that can make your scripts more useful.

Test Your Antivirus Software

By Dick Lewis, 10/10/2005

The EICARtest batch file tries to copy EICAR.com, a simulated infected file, to specified nodes and logs the results.

The EICAR.com File

By Dick Lewis, 10/10/2005

Top 10 GUI Tools for Scriptwriters

By Dick Lewis, 08/23/2005

Here are 10 affordable tools that will help you develop and run scripts faster and more easily



Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.