Capturing Custom Images
Windows Deployment Services can deploy more than just default images from the Windows 7 media. You can also create custom boot images and install images and then import them into Windows Deployment Services for automated distribution. After creating a custom image, you can import it using the instructions in the section titled "Importing Images" earlier in this tutorial.
To create a custom installation image for Windows Deployment Services, you must install an existing image on a reference computer, customize the reference computer as desired by adding drivers and applications, and then capture an image of the reference computer. Image capture is a two-step process. First, you must create a Windows PE capture image to support the image-capture process. Then you capture an image from a reference computer that was prepared for imaging using the Sysprep utility.
To create an image-capture image, perform the following steps:
- Click the Boot Images item in the Windows Deployment Services console tree.
- Right-click the image to use as a capture image and then click Create Capture Boot Image.
- On the Metadata And Location page, type a name and description for the capture image and then specify the location and file name of the image file to create. Click Next to create the capture image.
- Click Finish.
- Import the custom capture boot image by using the instructions in the section titled "Importing Images" earlier in this tutorial. Note that Windows Deployment Services in Windows Server 2008 R2 includes a check box on the last page of this wizard that you can select to automatically re-import the image.
To create a custom Windows 7 install image, perform the following steps:
- Create a master installation by installing a Windows 7 image on a reference computer and then customizing the installation to meet your requirements. You can install Windows 7 on your reference computer either from media or using Windows Deployment Services. To learn how to install Windows 7 using Windows Deployment Services, see the section titled "Installing Windows 7" earlier in this tutorial.
- From a command prompt on the master computer, change directories to \Windows
\System32\Sysprep and run the following command.
Sysprep /oobe /generalize /reboot
- When the reference computer reboots and the Windows Deployment Services boot loader prompts you to press F12, press F12 to download and start the Windows Deployment Services client. Make sure you enable network boot in the computer's BIOS.
- In Windows Boot Manager, select the capture boot image.
- On the Windows Deployment Wizard Image Capture Wizard, click Next.
- On the Image Capture Source page, choose the volume to capture from the Volume To Capture list and then provide a name and description for the image. Click Next to continue. (Note that if you have omitted step 2, you won't see any volumes available at this point. This has been a major area of customer confusion.)
- On the Image Capture Destination page, click Browse to choose the location where you want to store the captured image. In the File Name text box, type a name for the image using the .wim extension and then click Save. Click Upload Image To WDS Server, type the name of the Windows Deployment Services server, and click Connect. If prompted for credentials, provide a user name and password for an account with sufficient privileges to connect to the Windows Deployment Services server. Choose the image group in which to store the image from the Image Group list.
- Click Finish.
Note The reason for saving a local copy in step 7 rather than just uploading it to the server immediately is to minimize the chances of corruption occurring over the network.
In this tutorial:
- Configuring Windows Deployment Services
- Introducing Windows Deployment Services
- Service Architecture
- PXE Services
- Operating Modes
- Legacy Mode
- Mixed Mode
- Native Mode
- Planning for Windows Deployment Services
- Choosing a Version of Windows Deployment Services
- New Features of Windows Deployment Services in Windows Server 2008 R2
- Server Requirements
- Client Computer Requirements
- DHCP Requirements
- Routing Requirements
- Capacity Requirements
- Installing Windows Deployment Services
- Windows Server 2003
- Windows Server 2008 R2
- Windows 7 Configuring Deployment Services
- Preparing Discover Images
- Windows Importing Images
- Importing Boot Images
- Importing Install Images
- Managing and Deploying Driver Packages
- Deploying Driver Packages to Clients Using Method 1
- Deploying Driver Packages to Clients Using Method 2
- Deploying Driver Packages to Clients Using Method 3
- Managing Driver Groups and Driver Packages
- Adding Driver Packages to Boot Images
- Managing Image Security
- Pre-staging Client Computers
- Configuring Administrator Approval
- Windows 7 Installing
- Capturing Custom Images
- Creating Multicast Transmissions
- Performing Multicast Deployment
- Using Windows Deployment Services with Microsoft Deployment Toolkit