link: http://technet2.microsoft.com/
This document provides instructions for implementing a basic image-based deployment of Microsoft® Windows Vista™ operating system. We recommend that you first use the steps provided in this guide in a test lab environment as a means to become familiar with new and updated deployment features and technologies available in Windows Vista.
Step-by-step guides are not necessarily meant to be used to deploy Windows Vista operating system features without accompanying documentation (as listed in the Additional Resources section) and should be used with discretion as stand-alone documents.
Windows Vista Deployment Overview
This document is designed for IT professionals and deployment specialists who are responsible for deploying Windows® operating systems in an organization.
Deployment scenario
You will use the steps in this scenario and the procedures in the examples to implement a basic image-based deployment of Windows Vista on hardware without an operating system installed. For more information about the tools and technologies referenced in this section, see Tools and Technologies [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_TOOLS] later in this document.
The process for the deployment scenario includes:
• | Building a lab environment. |
• | Creating an answer file by using Windows System Image Manager (Windows SIM). |
• | Building a master installation by using the product DVD and your answer file. |
• | Creating an image of the master installation by using the Windows Preinstallation Environment (Windows PE) and ImageX technologies. |
• | Deploying the image from a network share onto a destination computer using Windows PE and ImageX technologies. |
At the end of this example, you should have a working lab environment that includes a technician computer, a valid answer file, a CD that you can use to start Windows PE, and your first custom Windows image.
In addition, you will gain a basic understanding of the Windows AIK toolset. With this knowledge, you can modify your answer file to include additional customizations. You can also automate parts of the process by scripting some of the manual steps in this example.
In this document
Topics covered in this document include:
Tools and Technologies [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_TOOLS]
Requirements and Prerequisites [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_REQS_AND_PREREQS]
Step 1: Building a Lab Environment [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_BUILD_LAB]
Step 2: Building an Answer File [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_BUILD_ANSWER]
Step 3: Building a Master Installation [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_BUILD_MASTER]
Step 4: Creating an Image [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_CREATE_IMAGE]
Step 5: Deploying an Image [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_DEPLOY_IMAGE]
Additional Resources [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_ADD_RESOURCES]
Tools and Technologies
A set of new and updated deployment tools and technologies is available with Windows Vista.
Name | Description |
Windows System Image Manager (Windows SIM) | The tool that enables you to create answer files (Unattend.xml) and network shares or to modify the files contained in a configuration set. You use Windows SIM on the technician computer, and then transfer your Unattend.xml file to the master computer before creating your installation image. |
answer file | A text file that scripts the answers for a series of graphical user interface (GUI) dialog boxes. The answer file for Windows Setup is commonly called Unattend.xml. You can create and modify this answer file by using Windows System Image Manager (Windows SIM) or the CPI APIs. |
catalog | A catalog (.clg) is a binary file that contains the state of the settings and packages in a Windows image. |
Windows Preinstallation Environment (Windows PE) | A minimal 32-bit operating system with limited services, built on the Windows Vista kernel. Windows PE is used only in the preinstallation and deployment of Windows. |
ImageX | A command-line tool that captures, modifies, and applies installation images for deployment in a manufacturing or corporate environment. |
Windows Setup | The program that installs the Windows operating system. |
System Preparation Tool (Sysprep) | Sysprep facilitates image creation and prepares an image for deployment to multiple destination computers. |
Windows image | A single compressed file containing a collection of files and folders that duplicate a Windows installation on a disk volume.Windows Vista is built and distributed as a single image with the new Windows imaging (.wim) file format. The .wim file format can contain multiple images, enabling you to package several custom installations into one file. Windows Vista is released as a multiple SKU image. |
Requirements and Prerequisites
This guide assumes that you have a working knowledge of common desktop deployment technologies and networking components.
To complete this scenario and the procedures in the examples, you need:
• | A Windows Vista product DVD |
• | The Windows Automated Installation Kit (Windows AIK), including accompanying documentation and the Windows AIK help file, Waik.chm |
• | A technician computer |
• | A master computer |
• | Network connectivity to simulate deployment |
• | A floppy disk or Universal Flash Device (UFD), such as a USB memory key |
• | One blank, writable CD-ROM |
For information about downloading the Windows AIK, go to the Microsoft Web site [http://go.microsoft.com/fwlink/?LinkID=53552] (http://go.microsoft.com/fwlink/?LinkID=53552).
The technician computer is the computer in your lab on which you will install the Windows AIK. The technician computer can be running Windows XP, Windows Serverâ„¢ 2003, or Windows Vista. Hardware requirements for the technician computer include a DVD-ROM drive and CD-R/RW-capable drive, or a combination drive that supports both.
A master computer, sometimes called a reference computer, is a fully assembled computer on which you will install a customized installation of Windows Vista using the Windows product DVD and your custom answer file. Once it is installed, you will capture and store an image of the installation on a network share. There are no software requirements for this computer.
Requirements for both technician and master computers include a network card and working network environment.
Note: |
|
For the purposes of this example, the master computer will be repurposed later as your destination computer. After you build a master installation, you will capture and store an image of that installation on a network share. Then, you will reformat the computer’s hard drive, returning it to a blank state. That computer will become your destination computer. You will deploy the image from the network share back onto the same computer. This process simulates an image-based deployment. |
Step 1: Building a Lab Environment
A lab environment is where you will define and build your installation. For the scenario in this document, your lab environment should consist of two computers: a technician computer and a master computer.
To build a technician computer | |||||
|
To build a master computer | |||||
|
The lab environment is ready. Next you will build the answer file.
Step 2: Building an Answer File
The way to create a custom installation is to build an answer file. An answer file stores the custom settings that are applied during Windows Setup. The primary method for creating an answer file is to use Windows SIM.
The process
The basic process of building an answer file includes the following steps:
1. | Creating a new answer file. In this step, you build a catalog and then create a new blank answer file. |
2. | Adding components. |
3. | Configuring Windows settings. In this step, you define basic disk configuration and Windows Welcome options. |
4. | Validating the answer file and then saving it to removable media such as a Universal Flash Device (UFD) or floppy disk. |
Tools
You will need the following software and hardware tools:
• | Windows System Image Manager (Windows SIM) |
• | Writable, removable media such as a Universal Flash Device or floppy disk |
After you have successfully created a basic answer file, you will use it to build a master installation. (See Step 3: Building a Master Installation [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_BUILD_MASTER] .)
To create a new answer file on the technician computer | |||||||||||||||
|
Note: |
|
You must create a catalog for each version of Windows Vista. |
To add components | |||||
|
Component | Configuration Pass |
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition | 1 Windows PE |
Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ModifyPartition | 1 Windows PE |
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo | 1 Windows PE |
Microsoft-Windows-Setup\UserData | 1 Windows PE |
Microsoft-Windows-International-Core-WinPE | windowsPE |
Microsoft-Windows-Shell-Setup\OOBE | oobeSystem |
Microsoft-Windows-Deployment\Reseal | oobeSystem |
Microsoft-Windows-Shell-Setup\Autologon | auditSystem |
Note: |
|
You can expand the component list until you see the lowest setting listed above, and then add that setting to your answer file. This shortcut adds the setting and all parent settings to your answer file in one step. |
To configure Windows settings | |||
|
Component | Value |
Microsoft-Windows-International-Core-WinPE | InputLocale = <Input Locale>SystemLocale = <System Locale>UILanguage = <UI Language>
UserLocale = <User Locale> |
Microsoft-Windows-International-Core-WinPE\SetupUILanguage | UILanguage = <UI Language> |
Microsoft-Windows-Setup\DiskConfiguration | WillShowUI = OnError |
Microsoft-Windows-Setup\DiskConfiguration\Disk | DiskID = 0WillWipeDisk = true |
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartition | Extend – falseOrder = 1Size = 20000
(Note: This example creates a 20 GB partition.) Type = Primary |
Microsoft-Windows-Setup \DiskConfiguration\Disk\ModifyPartitions\ModifyPartition | Active = trueExtend = falseFormat = NTFS
Label = OS_Install Letter = C Order = 1 PartitionID = 1 |
Microsoft-Windows-Setup\ImageInstall\OSImage\ | WillShowUI = OnError |
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTo | DiskID = 0PartitionID = 1 |
Microsoft-Windows-Setup\UserData | AcceptEula = true |
Microsoft-Windows-Setup\UserData\ProductKey | Key = Product keyWillShowUI = OnError |
Microsoft-Windows-Shell-Setup\OOBE | ProtectYourPC = 1NetworkLocation = Work |
Microsoft-Windows-Deployment\Reseal | ForceShutdownNow = falseMode = Audit |
Microsoft-Windows-Shell-Setup\AutoLogon | Enabled = trueLogonCount = 5Username = Administrator |
• | The settings above outline a basic unattended installation; no user input is required during Windows Setup. When the installation is complete, the computer will reboot to audit mode. Windows Welcome does not run in audit mode. |
To validate the settings in the answer file and save the file to removable media | |||||||||||
|
• | You now have a basic answer file that automates Windows Setup. For more information about building answer files, see “Phase 3: Preinstallation Customization” under “Windows Preinstallation Phases” in the Windows AIK Help (Waik.chm). |
Step 3: Building a Master Installation
• | A master computer is a customized installation of Windows that you plan to duplicate onto one or more destination computers. |
• | You will create a master installation using the answer file you created in Step 2 and the Windows Vista product DVD. |
The process
The basic process of building a master installation includes the following steps:
1. | Assembling new hardware. |
2. | Installing Windows from the Windows Vista product DVD and answer file. |
3. | Verifying installation and customizations. |
4. | Shutting down the computer when the installation is complete. |
Tools
You will need the following software and hardware tools:
• | A Windows Vista product DVD | ||||
• | The answer file you created and saved to removable media in the previous step. | ||||
• | The computer that will be the master computer
|
After you have created your master installation, you will use it to create an image. (See Step 4: Creating an Image [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_CREATE_IMAGE] .)
To install Windows from the product DVD | |||||||||
|
The master installation is complete and ready to be imaged.
Step 4: Creating an Image
After you build a master installation, you could deliver the computer to a user, and then repeat the process of building the master installation again on each new computer. However, it is more efficient to capture an image of the master installation and then deploy that image onto other new computers.
In this step, you will create a Windows PE CD that you can use to start Windows PE. You use this CD to capture an image of your master computer, which you will then store on a network share.
The process
The basic process for capturing an image of the master installation includes the following steps:
1. | Creating a CD you can use to start Windows PE. |
2. | Starting the master installation by using Windows PE media. |
3. | Capturing the installation image by using ImageX. |
4. | Storing the image on a network share. |
Tools
You will need the following software and hardware tools for this step:
• | Windows PE: software that provides an environment from which you can capture and deploy an image |
• | ImageX, a command-line tool that enables you to capture, modify, and apply file-based disk images |
• | A network share location for storing the image of the master installation |
• | One blank, writable CD-ROM |
For more information about these tools, see the Deployment Tools Technical Reference in the Windows AIK help file, Waik.chm.
After you capture the image of the master installation and store it on a network share, you will deploy the image onto a destination computer. (See Step 5: Deploying an Image [http://technet2.microsoft.com/WindowsVista/en/library/88f80cb7-d44f-47f7-a10d-e23dd53bc3fa1033.mspx#BKMK_DEPLOY_IMAGE] .)
To create Windows PE media | |||||||||||||||||
|
Note: |
|
Windows AIK does not include the CD-ROM burning software needed in the following procedure. You can use the CD Writing Wizard in Windows or your favorite third-party software to burn the image to a CD-ROM. |
Important: |
|
In the following procedure, when you start the master computer, you must override the boot order so that the computer starts from the CD/DVD-ROM drive. To do this, when the computer starts, select the appropriate function key to override the boot order. |
To capture the installation and store it on a network share | |||||||
|
The master installation image is ready to deploy from the network location to a destination computer.
Step 5: Deploying an Image
• | After you have an image of your master installation, you can deploy the image onto new hardware by using ImageX and Windows PE. |
The process
The basic process for deploying an image of the master installation onto a destination computer includes the following steps:
1. | Assembling new hardware. |
2. | Starting the hardware using Windows PE media. |
3. | Formatting the hard drive. |
4. | Connecting to your network share and copying the custom image down to the destination computer’s local hard drive. |
5. | Applying the image by using ImageX. |
Tools
You will need the following software and hardware tools:
• | The Windows PE RAM CD with ImageX that you created in the previous step. |
• | The destination computer. This step assumes that you repurpose the computer you used for the master installation. |
Important: |
|
If you are using your master computer as your destination computer in this step, the hard drive contains an active partition. You must override the boot order to start the computer from the CD/DVD-ROM drive. To do this, when the computer starts, select the appropriate function key to override the boot order. If you are using newly assembled hardware without an installed operating system, the hard drive would be unformatted and you do not need to override the boot order. |
To deploy a custom image from a network share | |||||||||||
|
Additional Resources
If you are a beta tester and part of the special Technology Adoption Program (TAP) beta program, you can also contact your appointed Microsoft development team member for assistance.
Windows Vista takes full advantage of Windows Deployment Services in Microsoft Windows Server® 2008 to streamline image-based deployment. To learn more about Windows Deployment Services, see the “Windows Server 2008 Beta 2 Windows Deployment Services Step by Step Guide” on the Microsoft Web site [http://go.microsoft.com/fwlink/?LinkId=66145] (http://go.microsoft.com/fwlink/?LinkId=66145).