Select Enter System Out Of Box Experience (OOBE) from the System Cleanup Action list
Select Generalize
Select Shutdown from the Shutdown Options list
Click OK
You can also run the Sysprep tool from a command prompt by typing: c:\windows\system32\sysprep\sysprep.exe /oobe /generalize /shutdown
Sysprep.exe prepares the image for capture by cleaning up various user- and computer-specific settings, as well as log files. The reference installation now is complete and ready to be imaged.
NOTE: 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, set the PersistAllDeviceInstalls setting of the Microsoft-Windows-PnpSysprep component to True in the answer file. When you do this, Sysprep does not remove the detected device drivers.
2.In this step, you capture an image of your reference computer by using Windows PE and the ImageX tool. Then, you store that image on a network share
3.On the PC used to create the base image to deploy. insert your Windows PE 3.0 media and restart the computer. Follow the link if you need to create your WIN PE 3.0 disk.
http://maxrdc.blogspot.com/2010/08/how-to-create-windows-pe-30-cd.html
Windows PE starts, and then launches a Command Prompt window.
4.Capture an image of the reference installation by using the ImageX tool located on your Windows PE media. For example, at the command prompt, type
D:\imagex.exe /capture C: C:\myimage.wim "my Win7 Install" /compress fast /verify
5.Copy the image to a network location. You can do this because Windows PE provides network support. For example, at the command prompt, type
net use n: \\server\share\
md Images
copy C:\myimage.wim N:\Images
Note:If necessary, provide network credentials for appropriate network access.
6.Deploying from a Network Share
After you have an image of your reference installation, you can deploy the image onto new hardware.
In this step, you use the DiskPart tool to format the hard drive, and then you copy an image from the network share. For this example, you can use your reference computer as your destination computer.
7.On your destination computer, insert your Windows PE media and restart the computer by pressing the CTRL+ALT+DEL keys. Windows PE starts, and then it launches a Command Prompt window.
8.Format the hard drive to reflect the disk configuration requirements by using the DiskPart tool from the Windows PE Command Prompt window. For example, type
diskpart
select disk 0
clean
create partition primary size=300
select partition 1
format fs=ntfs label="System"
assign letter=S
active
create partition primary
select partition 2
format fs=ntfs label="Windows"
assign letter=C
exit
You can create a script with this information by saving it to a text file and by storing it in the same location as your image. To run the script from a Windows PE Command Prompt window, type:
diskpart /s
where
9.Copy the image from the network share to your local hard drive. For example, at a command prompt, type
net use n: \\server\share\
copy N:\Images\myimage.wim C:
If necessary, provide network credentials for appropriate access.
10.Apply the image to the hard drive by using the ImageX tool located on your Windows PE media. For example, at a command prompt, type
D:\imagex.exe /apply C:\myimage.wim 1 C:
11.Use BCDboot to initialize the Boot Configuration Data (BCD) store and copy boot environment files to the system partition. For example, at a command prompt, type
C:\windows\system32\bcdboot C:\windows
No comments:
Post a Comment