This walkthrough describes how to deploy Windows® by using a configuration set. A configuration set is a file and folder structure that contains the necessary files that control the preinstallation process and define the manufacture's' custom information. The benefit of this method is that all of the files required for installation are contained in one location. A configuration set can be located on a network share or any portable media.
Important: | |
|
Prerequisites
To complete this walkthrough, you need the following:
- A configuration set. For more information,
see Build a
Configuration Set.
- A Windows® 7 product DVD.
- A removable media, such as a USB flash drive
(UFD), if you intend to install without a network.
- A bootable Windows PE media if you
intend to install from a network. For more information, see
Windows PE
Walkthroughs.
Deploying a Configuration Set Without a Network
This method requires a removable media, such as a UFD, and a product DVD.
- Turn on the new computer.
- Insert both the removable media containing your configuration
set and the Windows 7 product DVD into the new computer.
Note: When using a USB flash drive, insert the drive directly into the primary set of USB ports for the computer. For a desktop computer, this is typically in the back of the computer.
- Restart the computer by pressing CTRL+ALT+DEL.
Note: This example assumes that the hard drive is blank.
- Windows Setup (Setup.exe) begins automatically.
By default, Windows Setup searches all removable media for an answer file called Autounattend.xml. Autounattend.xml must be located at the root of the removable media.
- After Setup completes, validate that all customizations were
applied, and then reseal the computer by using the
generalize option.
As an OEM, you are required to reseal the new installation by using the System Preparation (Sysprep) tool. Sysprep clears various user settings and resets the computer so that the next time the computer restarts, your customers can accept the Microsoft® Software License Terms and add user-specific information.
You can automatically run Sysprep after the installation by setting the Microsoft-Windows-Deployment | Reseal component in your Autounattend.xml file as follows:
ForceShutdownNow = true, Mode =OOBE
You can also run Sysprep manually from a running Windows operating system by typing the following command.
C:\windows\system32\sysprep\sysprep /oobe /shutdown
Caution: | |
When you run the sysprep /generalize command, out-of-box device drivers are removed from the Windows image. If you add out-of-box device drivers during installation and you intend to capture the Windows image, to persist out-of-box device drivers, in the Microsoft-Windows-PnpSysprep component in the answer file, set PersistAllDeviceInstalls to True. When you do this, Sysprep does not remove the detected device drivers. For more information, see the Unattended Windows Setup Reference (Unattend.chm). |
Deploying a Configuration Set from a Network
This method requires space on a network to store both the configuration set and product DVD source files. You will also need a bootable Windows PE media to start the new computer.
Step 1: Copy files to network share
- Create two folders on a network share to store the product DVD
source files and your configuration set. For example,
net use N: \\server\share md N:\WindowsDVD md ConfigurationSets
- Copy the content of the product DVD to the \WindowsDVD
folder.
- Copy your configuration set to the \ConfigurationSets
folder.
Note: | |
On your technician computer, you can save your configuration set directly to a network share. |
Step 2: Install from the network
- Boot the new computer with a bootable Windows PE
media.
- At a command prompt in Windows PE, map a network drive to
your network share. For example,
net use N: \\server\share
- Run Windows Setup from the network and reference your
answer file within your configuration set. For example,
N:\WindowsDVD\setup /unattend:N:\ConfigurationSets\autounattend.xml
- After Setup completes, validate that all customizations were
applied, and then reseal the computer by using the
generalize option.
Next Step
You can further customize your answer file to include additional options, including customized actions to occur during or after Setup. For more information, see Configure Other Windows Options.