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 


June 2000

Unattended Installs in a Perfect World


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

Automating hands-off configuration with Windows 2000 is still too hard

Windows 2000's (Win2K's) new rollout and deployment tools are a great improvement over those of Windows NT 4.0. But the new tools still don't do what I need them to do. I wipe my computer's hard disk and reinstall my OS and applications from scratch a few times a year. I'd like to automate this process but usually can't. Although scripting an OS installation has become easier (as I explain in Inside Out, "Unattended Installs with Windows 2000 Professional," page 175), application installs and the fine-tuning that I need to do to make my applications just right are difficult or impossible to script. What I call the Holy Grail of configuration—push a button, walk away for an hour, and return to find a freshly installed clone of my old system—is still just out of my grasp. Like Perceval in the Arthurian story, I sometimes think that I can glimpse the Grail from across the room, but I can't quite get my hands around it. With just a bit more work, however, I think a portable, hands-free setup and configuration service could be possible.

Traditional cloning tools such as Symantec's Norton Ghost, Microsoft Remote Installation Services (RIS), and PowerQuest's Drive Image Pro are useful, but those tools clone by storing unwieldy multigigabyte images. Using a traditional cloning tool seems inelegant because my configurations are fairly simple, requiring only a few thousand bytes rather than billions of bytes.

What information do you really need to have when you're installing an OS and a bunch of applications? Assume that the installs will be network-based, with installation files on a server. First, you need to know which server and share contain the installation files, and you need a user account name and password that can access that share. You need to know the command (and its parameters) that kicks off the installation. When you install an OS, the system usually asks you some questions, so you need to store the answers to those questions somewhere, as you do when you prebuild an installation script. Finally, you need the same information for each application that you want to install.

In a perfect world, individual application setup programs wouldn't exist. Your system would simply use a generic Setup program that could install the OS, the applications, or both. The Setup program would require as input a script for each application that would tell the program how to do a no-frills installation for that application, but Setup would also know the questions and possible answers that each application's installation routine requires. Setup could then read the answers to those questions in a standard format that works for all applications and OSs. You could give Setup a file telling it which applications and OS you wanted to install, where to find them, and what responses to give to the applications' installation questions. Then, you could leave, and Setup would configure your machine exactly the way you like it.

Building a script file for this über-Setup doesn't need to be difficult. When you run Setup manually, it could pay attention to your choices, then produce a script file to reproduce that configuration exactly on another machine. I can also imagine a program that could at any moment audit a PC and generate a script that could clone that system. Imagine being able to execute a simple command and receiving a few pages that completely describe a particular PC's configuration!

The perfect installation would need one more thing: a way to get started. Because an empty PC contains no code, how do you get to the network in the first place to invoke Setup? The RIS- or Preboot Execution Environment (PXE)-based model is a good start but supports only a limited set of computers. The model's main problem arises because every model of NIC requires a different driver. But NIC vendors could fix that problem by agreeing to always support a basic set of networking commands in a uniform manner with some kind of bare-bones network API (call it BBNAPI). Then, you could carry around one disk that contained just enough code to attach a new computer to a network so that you could kick off the generic Setup engine.

End of Article



Reader Comments
I regularly rebuild my Windows 2000 and Windows NT workstations, so I was glad to see Mark Minasi's Inside Out: "Unattended Installs with Windows 2000 Professional" (June 2000). The most annoying thing about a rebuild is recovering Microsoft Outlook Express up to the minute. Do you know an easy way to complete this task? I usually export the messages and address book, but I can never save and recover the news server and account information, and I usually have to rebuild the rules.

Dave Roeseler August 08, 2000


<i>I don't know the answer to your question, but here's what you can do to find out: The next time you do a fresh reinstall of your system, start setting things up but stop at Outlook Express setup. Run Sysdiff to take a "before" picture. Then, install Outlook Express, set it up, and reboot. Next, run Sysdiff again to create a "differences" file. You can then examine that file for any Registry changes and create a regedit /s script to reproduce those settings. <br><br>
--­Mark Minasi</I>

Mark Minasi August 08, 2000


Be aware that some manufacturers no longer support DOS drivers for their NICs. In our case that caused a bit of a scramble for the QA Servers we Ghosted. We then created a FAT32 partition to contain the SysPrep'ed *.gho image, booted to DOS from floppy and then restored to the system partition. Naturally we added the SCSI drivers to the DOS boot floppy and made sure all the Hardware Raid was previously setup. But the recover time was great! 11 Minutes. Note: One can even dispense with a FAT32 partition, if you burn the *.gho image to a CD-ROM. Ghost let us "highly" compress the image to LT 650MB. -

RichS September 21, 2000


Good article,

I am a network manager for an educational establishment, and its easy to do, and NIC vendors give you the tools to do it.....I've done it with 4 batch files, fdisk.exe, format.exe and a win98 startup disk

Robin Pengilley January 06, 2002


To get started you can use Bart's network boot disk. This allows you to have a disk that can get on the network with several different NICs. For post install you can use Winbatch for the final touches.

Jefke April 30, 2003


My computer shows tftp failed after geting ip address from dhcp at ris istallation time

rakesh June 21, 2004


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


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

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