Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

January 06, 2000 12:00 AM

What's the Difference?

Windows IT Pro
InstantDoc ID #7961
Rating: (0)

[Editor's Note: Do you have something to share with other readers who visit Windows NT Magazine online? We want to know about it. Write for Reader to Reader online, and you can tell others about your NT discoveries, comments, problems, solutions, and experiences. Email your contributions (300 to 700 words) to r2ronline@winntmag.com along with your name and phone number. We edit submissions for style, grammar, and length. If we print your submission, you'll get $100. Reader to Reader submissions are the reader's opinion and do not necessarily represent the views of Windows NT Magazine.]

Although Windows NT Magazine and others have covered the Windows NT Server 4.0 Resource Kit utility Sysdiff, the coverage has typically focused on the utility's large tasks, such as building application install files and conducting unattended software installs. Support personnel who work with NT might find my use for Sysdiff valuable and suitable for daily use. Sysdiff's functionality is relatively simple. You run Sysdiff with the /snap switch to take a system snapshot, recording all file and Registry settings. You install the required software or make system changes, then run Sysdiff with the /diff switch. The software compares any new files or Registry changes and packages these changes into an install file. If you want to add this package file to another workstation (provided you have configured it similarly), you run Sysdiff with the /apply switch.

One big mystery about installing a new application or making system changes is what changes you're actually making on your system—something you're especially interested in when something goes wrong. Wouldn't it be nice to have a list of all the system changes you make during a software or an ISP configuration install? Fortunately, Sysdiff has a /dump switch that saves a list of all file and Registry changes to a text file. If you’re big on manually hacking the NT Registry, you’ll find this tool invaluable for determining proper Registry settings before making manual changes. For example, my company had several NT clients with incorrect time-zone settings. Instead of visiting each workstation and changing the settings manually, we decided to push the time-zone Registry changes remotely from a batch file. However, we didn’t know what the Registry settings were, and searching the Registry manually is not the most accurate option. Sysdiff made this easy. We simply set a workstation to the incorrect time zone, took the snapshot, corrected the time zone, and then took the diff reading. We then used the /dump switch to dump the Registry changes to a text file and noted these changes in our batch file. We have also used Sysdiff for troubleshooting when an install was copying incompatible ODBC DLLs to a system.

Although no documentation states this, but sure that you have a sysdiff.inf file in the same folder as Sysdiff. The sysdiff.inf text file tells Sysdiff which files, folders, and Registry areas to exclude during operation. For example, if you're making only Registry changes, you can save time by editing sysdiff.inf to tell Sysdiff to skip the C: drive.

The time this utility has saved us in troubleshooting and system-configuration change has been immeasurable. By the way, we also use Sysdiff to build and distribute software to clients.

—Marty Scher
mscher@fleetcc.com

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

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