How To Build Your Own Factory.wim file


The Windows Imaging Format (WIM) is a file-based disk image format. It was developed by Microsoft to deploy Windows Vista and all later Windows operating system releases, which use it as part of their standard installation procedure.  It works equally well with older versions of Windows however, and is used as part of Windows Fundamentals for Legacy PCs.

Like other disk image formats, a WIM file contains a set of files and associated filesystem metadata. However, unlike sector-based formats (such as .ISO.CUE/.BIN used for CD and DVD images), WIM is file-based, which means that the smallest unit of information is a file. The primary advantages of it being file-based include hardware independence and single-instance storage of a file referenced multiple times in the filesystem tree.

I have made my own factory.wim file and have tested it over and over on Dell XPS 15.

Here’s what you need in the 10 gig D:Recovery partition ,
Dell >you will {{move}} this folder to a USB OR DVD drive for safe keeping
so now you will have these folders left on the recovery partition .
Dell >and rename it to Dell1 if you leave it on the partition .
>>> Program.files
>>>  >it should be hidden !
>>>  Sources
>>>> Tools
>>> Windows

Look in the {Tools} folder and make sure you have these files .
>>>> CmdShell.cmd
>>> Facimg.exe   >{this file is a must have} it will build your factory.wim file !!
>>>>>> imagex.exe
>>> intlcfg.exe
>>>> PCRestore.exe
>>>> wimfltr.inf
>>>>>  wimfltr.sys
>>>>>  wimgapi.dll
>>>>> wimscript.ini
copy the {TOOLS} folder and the files in it to same USB hard drive ,
Now you need to make sure your main OS Drive
is {backed up just incase something goes wrong} with your factory.wim file !!

here we go restart your computer with the USB drive plugged into a port
so it can be seen latter ,
After you reboot tap F8 to get to the advance boot options menu at the top you will see repair your computer you have it high lighted then tap the enter key after a little screen action you will come to the keyboard select screen
you select your keyboard layout then you click
{click next}
to get to the administrator screen on the drop down menu to select your {login name}and
password if you have one and click {{OK}}!
Now you will come to the choose a Recovery tools screen where you see the
repair startup  >and down to the Dell Factory Image Restore AT THE BOTTOM options !
Click on the C:> Command Prompt you should see X:WINDOWSSYSTEM32> you type
CD  Hit the enter key you get
X:  now you type your USB drive Letter D: E: or F: it may be tricky to find it , mine is
Now you type cd tools hit the enter key


Then you type  Facimg.exe  hit then enter key

now a little screen will start up with Dell Factory Image at the top
with a progress bar going left to right

It will say Building the factory image file Waite until it reads and writes the file to the USB drive ,
my little screen
goes all the way to the right then it starts over again For the 3rd time !!

After it does its thing building the file it may take a long time to build yours
mine only took about 20 to 30 minutes to complete the process it will compress your OS drive down to where it should fit on the 10. gig D:Recovery partition after it Finnish !!
Now type exit hit the enter key .
Now select restart after windows restarts you copy your Dellimagefactory.wim folder back to your D:Recovery partition now to test it ,

start over with F8 again but do the Dell Factory Image Restore
it will be {{your factory Restore image}} that you just made !!!
And by the way i made 2 personal factory.wim files one is about 4.40 gigs the other is about 4.11 and they do fit one the 10.1 gig Recovery partition about 1.2 gig,s left over ,

it will depend on how many gig,s of information you have on the C:OS
partition .

Job Done…!!

Source:- Dell Support Forum


  1. Can you send me the files that are supposed to be in the Tools folders?
    >>>> CmdShell.cmd
    >>>> Facimg.exe
    >>>> imagex.exe
    >>>> intlcfg.exe
    >>>> PCRestore.exe
    >>>> wimfltr.inf
    >>>> wimfltr.sys
    >>>> wimgapi.dll
    >>>> wimscript.ini


Please enter your comment!
Please enter your name here