Your best source of information and news about winvista, windows and software on the internet

Vista ARTICLES TOP 50 Spyware Virus Vista SOFT Vista HELP

Capturing a custom Image using ImageX and a Generic WinPE Disk


I have had a lot of people ask me about capturing a custom image manually using ImageX. First before I go into details on how to do this let me just point out a few things first.


1) You can use the process we went through previously to recapture a custom iteratively. Meaning you can slowly build up your image as you like using the custom tasks in the builds node to perform customer installs of customizations.


2) If you choose to manually customize an image make sure that you run sysprep, or use a utility like newsid to generalize the install before joining it to a domain or network. Note: Microsoft PSS does not support using New Sid so really you should use Sysprep to generalize your image.


Note: Generalizing an image means removing data about the Windows install that makes it unique. Usually this means removing the SID, and the name of the computer. The most important element here is the SID you really don’t want to machines with the same SID living in your network


The first thing we need to do before capturing our image is get a generic version of WinPE up and running on our WDS server. (Or burnt to a bootable CD)




Right click on LAB and click choose Update.



This will build the Generic Windows PE.


Now if you look in the \Distribution\boot folder on your BDD drive you should notice a Generic_x86.wim and .iso has been created. (or X64 if you are deploying to 64bit.)



Open Windows Deployment Services






You should now see the Generic Windows PE image in the details pane.


Now go to the PC that has your customized XP image. Boot the PC using the PXE network boot. (Or use your Generic Windows PE boot up cd you burnt from ISO)


Once you have booted up you will now be presented with a boot manager menu. You can choose to boot using the Lite Touch Windows PE or the Generic Windows PE.



Choose Generic Windows PE and hit Enter.



Once the Generic PE image has booted up to the command prompt we need to Map the distribution share on the BDD server:


Net use m: \\<BDD_server>\ditribution$


M: is an arbitrary value. You may use whatever letter works best for you. You will be prompted for valid credentials to log into the server.


Type “m:” to switch the prompt over to the newly mapped drive.



Cange Directories into the Tools\x86 folder. This is where you can find ImageX:



ImageX creates file based images of your hard drive. This is great especially if you want to perform offline servicing. That is updating OS images with drivers and files without rebuilding the entire install image.


To create an image a typical command would be:


Imagex /compress maximum /capture c:\ m:\captures\custom.wim “custom_image_1″


This will create a new wim file called “custom.wim” with an image in the wim file call “custom_image_1″ it will also use maximum compression. To see all the options for imageX check out the very useful help file included with the Windows AIK documentation.




To restore the Image use the /apply switch:


imagex /apply m:\captures\custom.wim 1 c:\ /verify


 

Popularity: 1%


Written by daniel.nerenberg. Read more great feeds at is source WEBSITE
1 comment.
Read more articles on Business Desktop Deployment.

Related articles

1 comment

Read the comments left by other users below, or:

Get your own gravatar by visiting gravatar.com Julia Scott
#1. June 16th, 2009, at 7:09 AM.

Very helpful article–many thanks

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:




You can use these XHTML tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> .