IcemanND

[GUIDE] Creating WIM images of Windows XP for system deployment using

143 posts in this topic

I wrote up this tutorial for my coworkers but my boss is reluctant to let me give it out. He's afraid i will create too much additional support work for me. So rather than let it collect dust on my hard drive I thought I would at least post it here for everyone else's reading pleasure. If you have additions, changes, find errors, etc. let me know and I'll update as appropriate and give credit where due. Also, this does not have anything to do with WDS directly; though I'm sure that some of the processes described in the document may apply.

Creating WIM Images for System Deployment Using Windows Vista PE 2.pdf

6/25/2010 - fixed some typos and other minor corrections, renamed - 16450 prior downloads

1/14 - added export command to build_all.cmd script and removed erroneous spaces. Updated information on adding Mass storage drivers for current Mass Storage Driverpack version - Thanks DigeratiPrime. 1439 prior downloads

8/25 - updated added method for adding drivers to running PE and shrinking image using export command. Thanks to p4ntb0y for the suggestions. 896 prior downloads 7/26 - Updated PDF to reflect comments from JuMz and chiners_68. Thanks guys. 140 prior downloads

A new version using Windows 7 based PE 3.0 is here:

0

Share this post


Link to post
Share on other sites

what this mean i could make the installation if xp like vista ?

faster ?

0

Share this post


Link to post
Share on other sites

No, this is not an install method but an imaging method.

0

Share this post


Link to post
Share on other sites

Nice guide. In the appendix, you mention the use of BTS Driver packs in WinPE but in the guide, you did not mention how to use them...How did you get them to work? I thought the DriverPacks were not compatible in WinPE installations....Did you just end up extracting the packs and then using a script to drill down to each folder and inject them?

0

Share this post


Link to post
Share on other sites

You didn't mention Sysprep in the manual; that might be important to note, since you also mention the fact that the destination system may be a compatible system, and doesn't have to be the exact same machine. Also, is there a way to install WinPE 2.0 to the hard drive?

0

Share this post


Link to post
Share on other sites

@jumz - I only used the network and Massstorage packs for the drivers and installed them using the install_drivers.cmd on page 17. I'll try and clarify that in the guide.

@tap52384 - I didn't mention Sysprep because I didn't want to go into how to create your base image. There are many different methods to create the base image, some will use sysprep some will not it all depends upon what you want to do. that is why in the requirements we have "system configured as desired and ready for image capture"

0

Share this post


Link to post
Share on other sites

I was following your guide which is very good but cannot get any of your scripts with PEIMG to work.

Where are you running this exe from..? I presume c:\program files\Windows AIK\tools\petools as its not copied down to c:\WinPE_x86 or subdirectories with the mount script.

all I keep getting is " The Image directory sp[ecified is not valid windows PE image"

Also is your build all another script to run or all of the above scripts in one..?

in this all build.cmd you have msd & network.cmd install scripts of which you do not mention in your document. these are obviously adding drivers from the bts packs but what do these scripts contain..?

0

Share this post


Link to post
Share on other sites

Yes build_all.cmd is all of the scripts combined together.

install_msd.cmd and install_network.cmd are the install_drivers.cmd which was modified to point to those directory folders. I will edit the document to clarify this.

I also noticed that the paths at the beginning of build_all.cmd are what I use on my machine and not the defaults that other people might use.

PDF edited and replaced (7/26)

@chiners_68 - it sounds like your PE image is not mounting correctly to c:\winpe_x86\mount

0

Share this post


Link to post
Share on other sites

Could I make one suggestion?

Page 7, item A:

Note: WinPE-SRT-Package currently does not work, Microsoft to fix at a later date.

0

Share this post


Link to post
Share on other sites

This looks really cool. I will look at it on Monday to see if we can implement it into the Deployment Server I am working on.

0

Share this post


Link to post
Share on other sites

@jazkal - I will add it to the next published version. Thanks

0

Share this post


Link to post
Share on other sites

Thanks for the nice guide

:thumbup

0

Share this post


Link to post
Share on other sites

tanks a lot for this

tried it and wurks like a charm

Edited by TheSickman
0

Share this post


Link to post
Share on other sites

Iceman very nice would you mind if I used parts of your doc for my documentation? I don't beleive in recreating the wheel :-)

By the way do you have any info on the Multicast option in Windows 2008?

I heard that the new version of SMS will do wim deltas which also ties into 2008 intresting times ahead.

Regards

0

Share this post


Link to post
Share on other sites

No, I've only read that there will be multicast ability as part of Server 2008 and whatever they are calling WDS in that version.

0

Share this post


Link to post
Share on other sites

Thanks nice guide, im getting an error when PE boots on my reference machine "imagex is not a recogised internal or external command" I'm thinking it has not made it onto my disk but I got no errors before this so some words of wisdom would be great, any ideas where i have gone wrong?

P.S. Longhorn indeed has multicast ability but unless you have gigabit your not goging to make full use of it I think and its still called wds ;).

Edited by A1dan
0

Share this post


Link to post
Share on other sites

That would be Page 6 step 6, the second xcopy command copies imagex to the mounted image, then you have to commit the changes when you unmount it (step 10).

0

Share this post


Link to post
Share on other sites

This worked out very well for me. We got an order in for a machine that we could not get Ghost to recognise the drivers in DOS. So I imaged the machine using the PE. All said and done, I was able to load a 1.5GB XP Pro image on a computer in 100 seconds (it was about 1% per second). Now if I could only get it so my WDS doesn't take down the network I would be using it for everything.

0

Share this post


Link to post
Share on other sites

Mannn you don't know how much time and money you saved me with tutorial. Thanks a bunch :thumbup

0

Share this post


Link to post
Share on other sites

Cool tutorial! ;)

I've got a question: Can I use this tutorial to deploy an image to several pcs at a time? Which programs let me deploy this image? Can I use it with BDD or later on SCCM (newest SMS2003)?

0

Share this post


Link to post
Share on other sites

@ kingspawn - Yes, in theory, though as of right now I know of no application that allows multicasting of WIM images. It is in the works as mentioned in the document for server 2008 and WDS (still in beta).

0

Share this post


Link to post
Share on other sites

Hi Iceman,

Followed your guide all the awy and created the boot CD. But when i boot to it, I get the DOS screen with things like 'USB support successfully initialized', ' No FAT32 volumes found, exiting'; 'Caldera DR-DOS 7.03', but then it presents me with the A:\> dos prompt and my keyboard just doesn't work anymore. Could it be becase I am using USB keyboard?

I have tried a couple of machines (Dell Optiplex GX620 andoptiplex 745) .

Please help.

0

Share this post


Link to post
Share on other sites

I have never had a problem with PS2 or USB keyboards.

What all have you added to the CD? You might try starting with the base cd I describe in the guide, add you applications you want and then run them manually rather than automatically, it might be something you are loading that could be causing the issue.

0

Share this post


Link to post
Share on other sites

I am now wondering if there is a way to create a standardised XP image that does not capture the drivers for the motherboard and HDDC for example. Because I can't use an image captured from a Shuttle onto a different motherboard, or else Windows will just reboot constantly.

0

Share this post


Link to post
Share on other sites

@ joe blog

>Caldera DR-DOS 7.03

Perhaps you have a floppy in your floppy drive. Make sure you boot from your created Boot cd.

If you have Problems under Dos to use your USB Keyboard, you have to enable USB Legacy Support in your Bios.

But you don't need it for WinPE. The USB driver is loaded during the WinPE Start.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.