How to Create a Microsoft XP SP3 WIM File

Updated April 17, 2017

Windows Preinstalled Environment (PE) is a lightweight version of the Windows operating system that can create windows imaging format (WIM) files. You can capture the Windows XP SP3 operating system to an image file and deploy the image to other computers on a network. To create a Windows XP SP3 WIM file, create a bootable Windows PE CD on the technician computer where the distrubution share is hosted, and then use the Ximage command from the Windows PE OS.

Download the Windows Automated Installation Kit (WAIK). Install the WAIK to the technician computer.

Click "Start." Go to "All Programs." Open the "Windows AIK" folder and click "Windows PE Tools Command Prompt."

Input "copype.cmd c:\winpe_" into the command-line prompt. Replace "" with the desired CPU architecture for the XP SP3 WIM. Input "x86" for a 32-bit architecture; input "AMD64" for an AMD 64-bit architecture; and input "ia64" for an Intel Itanium 64-bit architecture.

Press "Enter" to create the files for the Windows PE image. Input "imagex /mountrw c:\winpe_\winpe.wim 1 c:\winpe_\mount" into Command Prompt.

Press "Enter" to mount the Windows PE image to the "Mount" directory in the "winpe_" folder.

Input "peimg /install= c:\winpe_\mount\Windows" into Command Prompt, then replace "" with the name of the Windows feature you want to add to the image. To view the available packages, input "/list" and press "Enter."

Press "Enter" to add the feature to the image. Input "xcopy "c:\program files\\Tools\\Servicing" c:\winpe_\iso\Servicing /s" and "copy "c:\program files\\Tools\\imagex.exe" c:\winpe_\iso\" into Command Prompt to add service tools to the image. Press "Enter" after each command.

Type "preimg /prep c:\winpe_\mount\Windows" into Command Prompt. Press "Enter."Type "imagex /unmount c:\winpe_\mount /commit." Press "Enter."

Input "copy c:\winpe_\winpe.wim c:\winpe_\ISO\sources\boot.wim." Press "Enter" to replace the default image with the customised image.

Input "oscdimg -n -bc:\winpe_\ c:\winpe_\ISO c:\winpe_\winpe_.iso" into CMD. Use "Efisys.bin " instead of "" for IA-64. Press "Enter."

Use a program like Magic ISO, ImgBurn or ISO Recorder to burn the ISO to disc and create a Windows PE boot disc.

Insert the bootable Windows PE CD into the disc drive of the machine running Windows XP SP3. Turn on the computer and boot from the CD.

Input "imagex /capture c:\ :\xpsp3.wim "Name" "Description" /compress maximum" into the Windows PE command-line prompt.

Input a name and description for the image. Replace "" with the letter assigned to the drive where the image is being created. Press "Enter" to create the Microsoft Windows XP SP3 WIM file.

Things You'll Need

  • Blank CD
Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Ruri Ranbe has been working as a writer since 2008. She received an A.A. in English literature from Valencia College and is completing a B.S. in computer science at the University of Central Florida. Ranbe also has more than six years of professional information-technology experience, specializing in computer architecture, operating systems, networking, server administration, virtualization and Web design.