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 


August 1997

12 Steps to Cloning Windows NT Systems with SYSDIFF.EXE


RSS
Subscribe to Windows IT Pro | See More SYSDIFF Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
SideBar    Possible Error Messages

When you acquire new systems for your organization, you face the challenging task of installing Windows NT, applications, and data on them. Swapping floppy disks and CD-ROMs, entering information, changing defaults, and performing the other required tasks to get an NT system up and running just takes too much time, particularly when you have to do it for several systems at once.

For example, say you need to set up 15 systems for new employees, each system with the same hardware, running NT 4.0, and including 10 applications. In addition, you must make the necessary changes to the Registry on each system for the Explorer interface and security. Setting up the systems manually is costly in time and productivity. Letting users install NT and applications for you wastes their productive time and leads to installation errors. Cloning is the answer.

Approaching Cloning
The goal of cloning is to create a duplicate system with all the original system's interface changes, tweaks, installed software, and options. However, each system you clone must be a unique system on the network. Merely copying all the files with XCOPY.EXE won't work because a copied system has the same security identifiers (SIDs) as the original for the operating system, machine name, and shares. The problem with such copying is that to ensure connectivity with servers, each cloned system must have unique SIDs, especially the machine name. Also, the cloning process must be fast; if not, it isn't worth the effort. And you need to be able to clone NT systems without incurring extra costs for necessities such as software and licensing.

To meet these requirements, the best approach to cloning is to take a currently set-up system, make sure it has the applications, data, and settings you want, and duplicate that machine's setup (except for the SIDs) on other systems. One cloning method is to use Computer Profile Setup (CPS), a set of utilities in the Windows NT 3.51 Resource Kit that lets you create a master system configuration that you can copy to other machines. However, CPS is difficult to use and doesn't always create unique SIDs. Third-party cloning products, such as Ghost from Binary Software and DriveCopy from PowerQuest are alternatives. Such products work well for cloning Windows 3.x and Windows 95 systems. However, for NT cloning, these products have some limitations. For example, these products can't deal with NT's requirement for unique computer names and IP addresses, nor can they handle differences in hardware, drivers, and settings. An easier, more reliable method is SYSDIFF.EXE, a tool on the Windows NT Server 4.0 CD-ROM (documentation for SYSDIFF.EXE is in the NT 4.0 Resource Kit).

SYSDIFF.EXE
The SYSDIFF.EXE utility lets you clone system modifications, applications, and changes--but not the NT operating system. You must install NT on the systems before using SYSDIFF.EXE for cloning; I explain a method for combining the NT installation and cloning process later. SYSDIFF.EXE can help make the necessary interface changes and connections to the network and shares. It can also help install application files and implement the necessary Registry changes associated with those files.

You can use SYSDIFF.EXE to perform these tasks in two ways, both of which I explain in this article. You can combine Registry changes and the binary files required to run the applications, putting them into a difference file (a file that identifies differences between the original and current configurations of the system being cloned) and then copy the difference file to the new system. Alternatively, you can use SYSDIFF.EXE to make only Registry changes. This approach creates an .INF file. You then copy the files by performing a backup and restore or by recording the files on a CD-recordable drive and copying them to the target system. Whether or not you include all the programs and auxiliary files, when you decide to clone your system, the most important part of the operation is the Registry.

SYSDIFF.EXE Prerequisites
For SYSDIFF.EXE to work correctly, several things are necessary, including

  • a master system with NT Server or Workstation 4.0 installed. You will make necessary changes on and add applications to this system.
  • a share on the server for the SYSDIFF.EXE application and auxiliary files, with sufficient space for all the applications to be installed on the master system. In this article, this share is in D:\BIN, shared as \\SERVER1\SOURCE.
  • SYSDIFF.EXE, which creates and applies the necessary files for cloning. It is on the NT 4.0 Server CD-ROM in the SUPPORT\DEPTOOLS\platform directory. Copy it to the share you've reserved on the server.
  • the snapshot file, which SYSDIFF.EXE creates to record the current system status (i.e., create the before picture).
  • SYSDIFF.INF, which controls what SYSDIFF.EXE looks for when it creates its snapshot and difference files. Copy this file from the CD-ROM to the share.
  • the difference file (i.e., the after picture), which SYSDIFF.EXE creates and which includes the changes made to the Registry, application files, and files associated with them.
  • the target systems, which already have NT installed. You'll copy the changes in the difference file to these systems.

If any of these parts are missing, preparing and implementing the clone installations will not work.

Step-by-Step Cloning: The Difference File Method
Here are 12 steps for cloning NT systems, using SYSDIFF.EXE to create a difference file that you'll copy to the target system.

  1. Install NT Workstation or Server 4.0 on the master system. However, wait to install applications until step 5.
  2. At the master system, map a drive letter to a share on the server (for example, X:\ is mapped to D:\BIN).
       Previous  [1]  2  3  Next 


Top Viewed ArticlesView all articles
Home Tech? Work Tech? Increasingly, It's Just Tech

Paul discusses how the consumer market is influencing business technology in ways that are unprecedented. ...

No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

Xbox 360 Sales Hit 28 Million

Microsoft on Tuesday announced that sales of its Xbox 360 video game console hit 28 million units by the end of 2008, a year that the company described as the console's "biggest ever." Microsoft also made the dubious claim that it has "expanded the ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Cloud Computing Forum: Integrating Software, Server and Storage as a Service into Your Enterprise IT Delivery Model

Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs 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 © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing