Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Captured .wim using imagex - 8GB in size?

22 May 2012   #1

Windows 7 Professional x64
Captured .wim using imagex - 8GB in size?


I am looking for some assistance please with regards to the size of my .wim file created using imagex.

I have today build a new image for my company's hardware and captured the image using imagex and saved it onto the c:\ drive of the machine I captured.

After sysprep'ing my machine, I booted into the Winpe enviroment and ran the cmd "imagex /capture d:\ d:\install.wim "New image"" which would save the install.wim file onto the d:\ drive. (d:\ is the hdd, c:\ was the system reserve)

This took around 30 mins to successfully complete and when booting up the machine again and logging on etc, I checked the wim file had been created on the root of c:\ and found it be around 8GB in size.

My plan was to capture the install.wim and replace the install.wim file on my bootable windows 7 usb stick. However as this is over 8GB it will not fit on my 4GB usb stick.

My question is a) have I captured this correctly and expect this to be the normal size and b) if so, can this file be reduced in size able to fit on my win 7 usb stick, therefore making it easier to image new computers.

thanks in advance.


My System SpecsSystem Spec
22 May 2012   #2

Windows 7 Ultimate x64

The only thing I could think of trying, would be to apply maximum compression with imagex...but it's HIGHLY unlikely to shrink it that much.

imagex /compress maximum /capture d:\ d:\install.wim "New image"

Your file size is proabably right. Windows 7 by itself will take over 3GB in a WIM file. If you add a handful of applications and such, it will be larger. The one that I use at my company is around 6GB in size.
My System SpecsSystem Spec
22 May 2012   #3

Windows 7 Professional x64

Thanks for the reply.

So I guess the answer is to buy a 16gb USB drive or find an alternative method of deployment (wds)?!
My System SpecsSystem Spec

22 May 2012   #4

Windows 7 Ultimate x64

^ yes, probably. 16GB keys are very cheap these days, around $12 at NewEgg - Patriot Flex 16GB USB 2.0 Flash Drive Model PSF16GFXUSB
My System SpecsSystem Spec
23 Oct 2012   #5

Windows 7 Ultimate x64
now what?

i have a 32gb stick, im in the same boat you are. everytime I burn the windows 7 ultimate x64 iso to usb it formats it as FAT32, so i can't copy the 9gb install.wim file to the USB stick and overwrite the original install.wim

How can I format the usb bootable windows 7 ultimate x64 install USB to ntfs and install with my custom install.wim file?

ive also tried an imagex /split and split the install.wim file to 3 install.srm files, but now what? im stuck, someone please help!
My System SpecsSystem Spec
23 Oct 2012   #6

Windows 7 Ultimate 32-Bit & Windows 7 Ultimate 64-Bit


Format your USB using Diskpart

Use Format fs=NTFS quick . It will make the USB NTFS .

To create a bootable USB Flash drive here are the commands . Inside Command Prompt

list disk
select disk # ( usually its 1 , Cause your internal hard drive is 0 )
create partition primary
select partition 1
format fs=ntfs quick

Then You want to replace your captured install.wim file with the original .wim file
My System SpecsSystem Spec
08 May 2013   #7

Dual boot: Win Xp and Win7 Pro

Hello, this thread looks quite old, and i too want some assistance in this field, i m on dual boot, and i want to capture my Win7 Pro partition using imagex.
First what i did was,

So i want to know is , is it entirely necessary to sysprep the win7 partition before creating an image .
I noticed after capturing an image followed by sysprep then using imagex to capture from Winpe, the system would perform some settings update and devices and services needed to load win7 and would also ask for another user account to be created, what purpose would that serve.

Can i straight away use the: imagex /capture d: e:\win7.wim "win7" to capture the image directly.

Any solution welcomed.
My System SpecsSystem Spec
15 Sep 2013   #8

Windows 7 Ultimate x64

I'm afraid i need some help as well, since no one advised on my query...
My issue is not with the .wim file but with the local policy
The structure of the captured images is as below

2 profiles (1 admin and 1 user)
"User" is restricted from performing many action such as usb access and so on

After having it deployed, the hardening is no longer effective
How can i capture with the local policy still intact?
Please advice
My System SpecsSystem Spec

 Captured .wim using imagex - 8GB in size?

Thread Tools

Similar help and support threads
Thread Forum
Unable to view the captured screenshots by using any software.
Good afternoon everyone. Could you please tell me why can't I view the captured screenshots BMP size in Mission Against Terror 2 (online game) folder? It said that 'Windows Photo Viewer can't open this picture because either Photo Viewer doesn't support the file format, or you don't have the latest...
Music, Pictures & Video
W7 Ult. Node NIC activity after power off not captured by wireshark
I am trying to investigate NIC activity after shutdown and turning off all power. I know this sounds strange, but I completely remove the power from the node and still there is network activity being generated! I tried to examine the activity with Wireshark, but it seems that it cannot 'see'...
Network & Sharing
How do you erase certain parts in a captured image?
I've seen some people do it. Is there a simpler way than Photoshop?
Music, Pictures & Video
BSOD Hourly, dump files not being captured
Hello there, Starting last night, I'm getting BSOD every hour (nearly exactly to the hour). I've tried to follow all the advice presented here but it seems that even though I have memory dumps configured properly, they aren't being captured (the folder doesn't even exist -- can I just create...
BSOD Help and Support
ImageX - Create an ISO from a VHD
With all the latest leaks i thought i'd post this 'How To' to help people who want an ISO but have to wait for 1 to be created and uploaded. Cashis for the kickstart and final test, and SoLoR for the command line options. ikilledkenny for creating the tutorial You will need to...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:06.
Twitter Facebook Google+