Walkthrough: Deploy an Image from a Network Share
Published: October 22, 2009
Updated: October 22, 2009
Applies To: Windows 7, Windows Server 2008 R2
|This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.|
This walkthrough demonstrates how to deploy an image from a network share by using Windows® PE and the ImageX tool.
To complete this walkthrough, you need the following:
A technician computer, which provides all of the necessary tools and the source files. For more information, see Building a Technician Computer.
A Windows product DVD.
A bootable Windows PE media with the ImageX tool; for example, a CD-ROM or USB flash drive (UFD). For more information, see Windows PE Walkthroughs.
Step 1: Create a master installation
Create a master installation by using one of the following methods:
After the installation is complete, shut down the computer.
Step 2: Capture an image of the installation
In this step, you will capture an image of the master installation using the ImageX tool and then store the custom image on the network share.
Boot the reference computer with your bootable Windows PE media.
At a command prompt, capture an image of the installation. For example,
imagex /compress fast /check /scroll /capture C: C:\myimage.wim "Windows Ultimate" "My Custom Windows Image 1"
Copy the image to a network share. For example,
net use N: \\server\share md Images copy C:\myimage.wim N:\Images\
Step 3: Apply the image from the network share
This step requires booting the new computer with Windows PE and applying the image with the ImageX tool.
Boot the new computer with your Windows PE media.
In Windows PE, format the hard drive by using the DiskPart tool.
At a command prompt in Windows PE, map the network drive to your network share. For example,
net use N: \\server\share
Important When you map a share, you must map it to a drive letter and then use that drive letter in scripts instead of the UNC path. UNC paths cannot be used.
Apply the image from the network share by using the ImageX tool. For example,
imagex /apply N:\Images\myimage.wim 1 C:
This completes a basic image deployment. You can automate a number of these steps. For example, you can write a script to instruct Windows PE to partition the hard drive automatically, connect to the network, and then apply the image.
|This method requires that you install the image to the same volume. To install an image to a different volume, see Walkthrough: Deploy Windows by using Windows Setup with a Custom Image.|