Topic: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

In my profession I always need to format and reinstall the whole system, reinstall drivers and softwares of my clients frequently. Some time it happens that the clients dosent have their original discs of their softwares and drivers too. So, I initiated a search of almost permanent solution for this kind of situations and started googling and found the method to do so. Whatever I did for the solution, I will be glad to share with everyone. Perhaps it can help someone.


Creating Windows 7 Universal Image with Driverpacks, Customizations and Softwares.


The whole process of creating a Windows 7 universal image contains 3 parts.

1)    Creating an ISO of Windows 7 with integrated driverpacks drivers.
2)    Install it on a system, make customizations and software installations.
3)    Syspreping and making image of the Syspreped Windows 7.


1)    CREATING ISO OF WINDOWS 7 WITH DRIVERPACKS INTEGRATION.

I have created a Video Tutorial on ‘How to integrate driverpacks in windows 7 image and how to make ISO image of it ?’.  That I have uploaded on youtube and here is its link.

Here is the download link of the new tool for adding drivers to Win 7 x86/x64 source and making its bootable iso.
Download AutoDISMx86x64.

Above script works both in Windows 7 and Windows 8 but applicable only for Windows 7 x86/x64.

After creating the ISO burn it to some disk.


2)    INSTALL THE WINDOWS 7 ON SOME SYSTEM AND CUSTOMIZE IT AND INSTALL YOUR SOFTWARES AND ACTIVATE THEM.
After creating the Disk, install Windows 7 from that disk on a Test system.

Now, make customizations as u like in the installed windows. Either manually or use some tweaking software to do that.

Install your softwares and activate them.


3)    SYSPREPING THE INSTALLED WINDOWS 7 AND MAKING UNIVERSAL IMAGE OF THE SAME.

Install WAIK for 7/2008 on the test PC. Download from here (1.7 GB)
.

Create a WinPE disk

*    Right click command prompt run as administrator.

http://i.imgur.com/h6OI1.png

*    Change to directory “C:\Program Files\Windows AIK\Tools\PETools”
*    run command “copype x86 c:\winpe”

http://i.imgur.com/wxEwH.png

*    run command “imagex /mountrw c:\winpe\winpe.wim 1 c:\winpe\mount”

http://i.imgur.com/QQeQZ.png

*    copy imagex.exe from “C:\Program Files\Windows AIK\Tools\x86\imagex.exe” to “c:\winpe\mount\windows\system32?

http://i.imgur.com/y8miU.png

*    Create wimscript.ini in “c:\winpe\mount\windows\system32? with following inside

[ExclusionList]
ntfs.log
hiberfil.sys
pagefile.sys
“System Volume Information”
RECYCLER
Windows\CSC
[CompressionExclusionList]
*.mp3
*.zip
*.cab
\WINDOWS\inf\*.pnf

*    Run Command “imagex.exe /unmount /commit c:\winpe\mount”

http://i.imgur.com/BHAKS.png

*    Run Command “copy c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim /y”

*    Run Command “oscdimg -n -h -bc:\winpe\etfsboot.com c:\winpe\iso c:\winpe\winpe.iso”

http://i.imgur.com/PgwAQ.png

*    This will create an ISO in c:\winpe\winpe.iso.

Burn this and keep. Now we need to sysprep our machine.
(You can remove WAIK and any files you don’t need, test your iso first!)


Sysprep your Machine Now

*    change to the folder “c:\windows\system32\sysprep\”

http://i.imgur.com/m2CQw.png

*    run command “sysprep /generalize /oobe /shutdown”
*    If you want to use run an unattended installation you can run the following command sysprep /generalize /oobe /shutdown /unattend:unattend.xml(The unattend.xml will need to be in the sysprep folder). Check out the

unattend.xml generator.

*    Sysprep will remove any unique information and reseal the OS. Then the system will shutdown

http://i.imgur.com/MUCFr.png

*    Now boot the ISO we created previously and load into WinPE


Capture the Image

*    Once WinPE is booted you will be in a Command Prompt window

*    Run Command “diskpart”

*    Run Command “select disk 0?

*    Run Command “list volume”

*    Note the letter of the drive you are imaging. C:\ in WinPE is set as the running OS not as the internal HDD

*    Run Command “exit”

*    Run Command “imagex /capture d:\ d:\install.wim “My Windows partition”" where d:\ is the drive you are copying

*    This will create a file called install.wim in the root of your HDD. This is the custom image and will need to be added to the Windows 7 Install DVD


Create Installation Media

*    You will probably need to install from USB as the image will probably be to large for a DVD. Just Copy and Paste your Windows 7 Files to a USB Drive for USB Install.

*    overwrite install.wim to \sources on the windows 7 install source

*    If you didn’t use the sysprep to include unattend.xml you can also add it directly to the root of the install media. You can easily generate unattend.xml here.

http://i.imgur.com/n3PGi.png

Install Windows 7 as normal. Your changes will be installed along with Windows 7.


Note :
During installation when it reboots for the first time, perhaps it will give an error. To avoid that you just have to reboot into safe mode for the first time.

Last edited by Tarak Bhavsar (2015-07-20 16:12:22)

An eye for an eye will make the whole world blind. - Mahatma Gandhi (Mohandas Karamchand Gandhi)

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

The above all process means you dont have to install any drivers or softwares after installing operating system, they all will installed alongwith the operating system.

Scenarios like corporate companies where 100s / 1000s of computers are in use. You can create a WDS server 2008 and load the image on this server to install in client computers in Client / Server environment. And you dont have to keep database or backup of drivers of different systems and softwares too. Just easy and simple management.

An eye for an eye will make the whole world blind. - Mahatma Gandhi (Mohandas Karamchand Gandhi)

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

This is such a tedious process.  I prefer to do the same using RT7 Lite which is freeware  and it will also permit you to customize windows to be installed in any configuration you want including registry settings and driver instals and software.

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

bikerboy0507 wrote:

This is such a tedious process.

Yes, but when you're talking about deploying an image to a 1000 corporate machines, it makes sense to invest the time to build a single "perfect" image, then export/deploy that image to your entire company's workforce.
Besides, tools like RT7 Lite can't be used (legally) in a corporate environment.

"Installing" Windows to 1000 machines is mind-numbing and very time intensive.  Easier to build a single image and clone it 1000 times.  We're talking days of saved time, maybe weeks opposed to a traditional install.

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

I made a guide here for doing a similar thing, but using FOG. I can deploy to any machine, although just today I got a new laptop that the driver packs failed to find any drivers (dell 7240) so I'm going to try the latest packs.

This is the guide here for anyone that wants a simple way to deploy to 1000's of machines:

http://fogproject.org/forum/threads/win … -tool.380/

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

[off-topic]

Roughly estimating that if each unit averages 32W over one year for a total average draw of 32kW and at a hypothetical commercial rate of twenty cents per kilowatt*hour, that could add to an annual cost of $12,288 to run 1000 machines 8hrs per day, seven days a week, 240 days per year.

Accessories, such as monitors (or taxes, etc.) are excluded for the rough estimate.
  It also assumes that less than half, perhaps even much less, are in use at once.

[/off-topic]

Last edited by TechDud (2013-11-22 18:25:12)

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

Here is the download link of the new tool for adding drivers to Win 7 x86 / x64 source and making its bootable iso.

Download AutoDISMx86x64.

Above script works both in Windows 7 and Windows 8 but applicable only for Windows 7 x86 / x64.

Last edited by Tarak Bhavsar (2015-07-20 15:19:52)

An eye for an eye will make the whole world blind. - Mahatma Gandhi (Mohandas Karamchand Gandhi)

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

So after installing this customized windows 7 , I can make a ghost image of this and restore it to any pc (dell,hp,acer,toshiba) .

I am looking for way to make a ghost image of windows 7 that works on all machines. This tutorial will work right?

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

Yes

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

TechDud wrote:

[off-topic]

Roughly estimating that if each unit averages 32W over one year for a total average draw of 32kW and at a hypothetical commercial rate of twenty cents per kilowatt*hour, that could add to an annual cost of $12,288 to run 1000 machines 8hrs per day, seven days a week, 240 days per year.

Accessories, such as monitors (or taxes, etc.) are excluded for the rough estimate.
  It also assumes that less than half, perhaps even much less, are in use at once.

[/off-topic]

1.2 Jigawatts! where are we going to get that kind of power?

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

HEY,
i got until the "*    Run Command “imagex /capture d:\ d:\install.wim “My Windows partition”" where d:\ is the drive you are copying
"
part but when i try to run the command it says "error imaging drive [D:\]
the parameter is incorrect

any help please?????????????

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

You can NOT write the image file to the drive that you are imaging...

they call that cyclic redundancy, they call that cyclic redundancy, they call that cyclic redundancy, they call that cyclic redundancy.

big_smile

DP BartPE Tutorial   DP_BASE Tutorial   HWID's Tool     Read BEFORE you post    UserBars!
http://driverpacks.net/userbar/admin-1.png
The DriverPacks, the DP_Base program, and Support Forum are FREE!.

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

OverFlow wrote:

You can NOT write the image file to the drive that you are imaging...

they call that cyclic redundancy, they call that cyclic redundancy, they call that cyclic redundancy, they call that cyclic redundancy.

big_smile

i tried to write to a diffrent partition got the same error...
i even tried to write to a diffrent HDD same problem....

Last edited by ramap91 (2016-10-30 23:15:56)

Re: Creating Win7 Universal Image with DriverPacks, Customizations, softwares

Tarak Bhavsar wrote:

Here is the download link of the new tool for adding drivers to Win 7 x86 / x64 source and making its bootable iso.

Download AutoDISMx86x64.

Above script works both in Windows 7 and Windows 8 but applicable only for Windows 7 x86 / x64.

Mediafire It shows the message "Dangerous File Blocked" Can you give me another link?