Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 1999

Microsoft's New SysPrep Tool


RSS
Subscribe to Windows IT Pro | See More Products / Software Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

However, duplicate SIDs can wreak havoc and cause major operational failures enterprisewide. For instance, you would have no way to differentiate local or remote accounts in a workgroup, because all the SIDs would be identical. System access restrictions would be wide open, even with permissions set, because user accounts would have identical SIDs. NT looks only at the account SID and not at the user account name. (For details about group accounts with default SIDs, see the Microsoft article "SID Values For Default Windows NT Installations" at http://support.microsoft.com/support/kb/articles/q163/8/46.asp.)

A similar scenario exists when you contemplate cloning NT domain controllers in a multimaster domain. Without unique SIDs, you can't guarantee access control.

Using SysPrep Is Easy
You clone a system with SysPrep in four basic phases: installing NT, installing applications, running SysPrep, and cloning the disk image to another disk. Let's take a close look at the details. Running the NT installation routine is self-explanatory. Be aware, however, that you're installing an OS and its components on a source PC to clone to other systems, so the cloned systems will use the configuration you define on the source PC until you modify the cloned systems to operate otherwise. Be sure you load the latest service pack and any associated post-service-pack hotfixes you might require. (To obtain service packs and hotfixes, go to the Microsoft FTP site at ftp://ftp.microsoft.com/bussys/winnt/winnt-public.)

During the NT installation, you need to define an administrator account password. Microsoft recommends that you set this password to be blank or to NULL during the setup of the source PC. If you don't set the password to be blank or to NULL, errors result when SysPrep's mini setup wizard runs during a cloned system's initial system boot.

You might think that to set the password to be blank or to NULL would create a security race condition in which an intruder could tamper with the system on the network before you had a chance to reset the password, but such isn't the case. The first time you boot the cloned system, SysPrep's mini setup wizard requires you to reset the password. You can reset it manually by answering the wizard's dialog box or by using a predefined configuration file that the mini setup wizard recognizes.

When you install and configure the OS to your liking, the next step is to install any applications and third-party services you want to run on each cloned machine. Software such as virus scanners, personal desktop firewalls, management tools, and development platforms are all items that you can install at this point.

Keep in mind that any applications and services that require a user account to operate correctly will fail when you boot the cloned system for the first time. Unfortunately, for now you must install these types of software packages after you first boot the cloned system.

To use SysPrep, you must copy it onto the source PC. Be aware that if you copy the software into an NT system drive root subdirectory, SysPrep will automatically delete itself from the drive once it runs. For example, if you install NT into C:\winnt, installing SysPrep into C:\sysprep will cause SysPrep to automatically delete itself after running. Installing SysPrep in any other directory won't cause it to delete itself from the system.

After you install the necessary services and applications, to run SysPrep, double-click SysPrep's program name in NT Explorer or enter the program name on the command line in a command shell. Command-line options are available to help govern SysPrep's operation. The -quiet command line is an option that tells SysPrep not to display any messages during its operation. The -reboot command line is an option that tells SysPrep to reboot the system after SysPrep completes. Additionally, you can specify a script filename on the command line that tells SysPrep where to locate predefined parameters. Table 1, page 88, shows SysPrep's definable parameters.

Remember that to use SysPrep, you must use the Select licensing version of the NT installation CD-ROMs (or override the detection mechanism for the Open or Enterprise versions). When you use the Select CD-ROMs to install NT and run SysPrep, the program will present a dialog box asking you for your organization name, volume license agreement contract number, type of volume license, and license count. After SysPrep confirms the information you entered, SysPrep terminates, and you can use a third-party disk-cloning tool to clone the source PC to other hard disk. After you insert a cloned hard disk into a computer—either a disk image or a physical disk—and power it on, the cloned system will boot and automatically run the SysPrep-generated mini setup wizard.

The wizard will prompt you for information that you can easily script by defining parameters in a script file. SysPrep doesn't display dialog boxes for user input when it uses the script file, which lets the mini setup wizard run uninterrupted. After the mini setup wizard completes, the system is ready for you to use.

Clone a few test machines before you roll out an entire group. You might find subtle system configuration errors that you need to correct. Be aware that SysPrep might change system security settings during its execution, so you need to examine the system security settings carefully after the system boots for the first time and before you use the clones in a secured production environment.

About Time?
It's about time Microsoft offered official support for cloned systems. SysPrep is an effective SID generator and I'm happy to know it will be available for Win2K. But I have two things on my wish list for SysPrep. I hope to see a future version that lets third-party vendors hook into the mini setup wizard to simplify cloning unique service accounts. I also hope Microsoft loosens the licensing requirements for this timesaving tool. Then, SysPrep can help smaller shops keep down their total cost of ownership (TCO).

End of Article

   Previous  1  [2]  Next  


Reader Comments
Where can I find the actual sysprep software?

Karl Burgdorf January 25, 2002


If you have already cloned your pc's, is it possible to put sysprep on afterwards

Tabby February 07, 2002


I have 2 Windows NT4 Domains - Domain1 & Domain2. There is not a trust relationship between them.
I have a standard PC that has 2 partitions both created using the VCOM System Commander product.
I have cloned a large no. of PCs using this standard-build PC using the Norton Ghost product.

There are applications on both partitions. On 1 partition, I log into Domain1. On the other partition, I log into Domain2.

I have been experiencing some problems with the cloned PCs when I switch between the 2 partitions & attempt to login to the other domain.

Sometimes the user cannot login to the domain i.e. it refuses to accept the user as a member of the domain.

Othertimes, the user can connect to the domain, but the profile is not downloaded i.e. local profile used.

... and other times everything is ok!

The application sometimes behave eratically. In particular I get a 0x6 invalid handle in one of the com dlls.

Have you got any views on the cause?

phil cunningham May 20, 2003


Where can I find the actual sysprep software???

Is there a reason why you don't put the answer to
Tabby -February 07, 2002 under her question, which is the same as I would like to know???
Thanks, Dave
All the best anyway; probably asking a stupid question

Dave April 17, 2004


Where exactly is sysprep? I've search the xp cd

craig April 21, 2004


it is on your windows xp cd;
in the following folder;
x:\support\deploy.cab
(extract deploy.cab with winrar, after extraction you will find sysprep.exe)

lall May 10, 2004


i have cloned winxp with service pack 2 and i want to put it in an another machine with different hardware structure.but when windows trying to start...oh my god...blue screen of death comes.have you any ideas what can i do about that?any solution?Thanx

Anonymous User October 28, 2004 (Article Rating: )


After installing Win XPSP2, then trying to run the Sysprep Tool. I get a message when I click on the reseal button, that says, " There is an incompatibility between this tool and the Current Operating System". Unable to continue.

I am running the Sysprep Tool off of my WinXPSP2 CD.

Can you tell me how I can fix this issue.

Anonymous User November 03, 2004


I have the same issue,

After installing Win XPSP2, then trying to run the Sysprep Tool. I get a message when I click on the reseal button, that says, " There is an incompatibility between this tool and the Current Operating System". Unable to continue.

Anyone an idea?

Anonymous User November 17, 2004


You need to get the latest version of Sysprep. There is a new one in XP sp2. http://support.microsoft.com/?kbid=838080

Anonymous User November 29, 2004


 See More Comments  1   2   3 

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? 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. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

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 Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


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 DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement