BrainDump
  Home arrow BrainDump arrow Page 3 - Preparing Windows Images for Mass Deployme...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Preparing Windows Images for Mass Deployment
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2008-10-22

    Table of Contents:
  • Preparing Windows Images for Mass Deployment
  • Sysprep in Action
  • Sysprep in Action, Continued
  • Final Thoughts

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Preparing Windows Images for Mass Deployment - Sysprep in Action, Continued


    (Page 3 of 4 )

    Now it’s time to configure Sysprep before the process, because the reference OS is ready. You should have the “sysprep.inf” answer file located in the Sysprep folder. That is a sample answer file, which is going to serve as a configuration file, in a sort of INI-like fashion, containing headers and keys with values. You can either modify the sample file or create your own with “setupmgr.exe” (Windows Setup Manager Wizard).

    There are various ways to launch sysprep; it supports a lot of parameters with which you can alter its behavior. Each is thoroughly documented by Microsoft. But an amazing batch file can be found at the Vernalex website. You may check it out here. This batch file automates useful tasks such as cleaning up driver cache, flushing data to disk, closing SMB connections, and terminating unneeded processes and services.

    Once everything is completed, Sysprep is executed in the following fashion.

    start sysprep -reseal -mini –quiet

    It should be noted that this process can take from 5-10 minutes up to 30 minutes and even more. You will surely notice this as the computer starts to work hard. After sysprep finishes its activity, the computer will shut down. This is when you need to create an image with your favorite disk- / partition-cloning utility. You just boot up with that utility, such as Clonezilla (read the article published at DevShed) and get the job done.

    This is critical: you should not let the computer boot up in Windows before you have created the clone image, otherwise that half an hour (or more) of work becomes worthless, because the mini-setup will begin (which takes barely a few minutes) by asking the user those “user-specific” details, and then the Windows OS will be ready to use.

    And no, you don’t want this to happen. You want to clone before this happens—because you want this aforementioned mini-setup to start for each user after you have massively deployed the clones. You see, that’s the entire process in a nutshell.

    On this page we are going to mention some practical guidelines along with details on how to use and work with Sysprep. But we must admit that Microsoft has done an extremely good job documenting these deployment tools. You should definitely read this official documentation before moving further. It explains the entire process again.

    Deploying Windows Vista (via this Sysprep technique) isn’t that different and can be easily understood by reading this step-by-step guide. A major distinctive difference is that answer files can be created with a wizard called Windows SIM (System Image Manager) under Vista just as you could with SetupMgr with Windows XP. Configuration files use .xml extensions (i.e.; sysprep.xml).

    Moreover, with Vista there’s an additional imaging utility called ImageX. You should read its user guide too. Hopefully you understand by now that preparing Windows installations to be massively deployed later on isn’t such a tough task; it is just pretty detail-centric. Everything lies in those details. Understanding the process isn’t hard because it clearly makes sense. However, applying them can become tricky.

    Each tiny little parameter can totally alter the behavior (and therefore, the end result) of each process. So ultimately, you may want to research, study, and then practice a lot until you finally figure out a routine that works for your own needs. As well, it may be helpful if you experiment a bit with different options, even if you succeed right from the beginning. Who knows?—another option might be even better…

    More BrainDump Articles
    More By Barzan "Tony" Antal


       · Thank you for reading this post. Hope you've found it informative and educational....
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek