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: Integrate7 script automatically download and slipstream all updates!

02 Jan 2019   #1
wkeller

Windows 7 Professional x64
 
 
Integrate7 script automatically download and slipstream all updates!

What is it for ?

It gets Windows 7 ISO image (any language, any architecture), download all post-SP1 updates directly from Microsoft site and create new bootable Windows 7 ISO (with all updates integrated).

It also removes all bloatware (Telemetry, Diagnostics, Windows Defender).

In short: it turns Windows 7 SP1 DVD into Windows 7 November 2019 edition DVD.

And it is fully open-source shell script (no hidden features).

What are pre-requisites ?

1. Windows 7 or later (to run the script).

2. Any original Windows 7 ISO DVD (to udpate it)

How to use the script ?

1. Just copy original Windows 7 DVD in .iso format (download it from Microsoft) to the same location as Integrate7 script.

Alternatively, you can just copy a contents of your DVD to DVD directory of the script.

2. Run Integrate7 as Administrator (right click, Run as Administrator).

3. Choose image index (or “A” for all images in DVD).

4. Wait, wait, wait.

5. Finally Windows7_<your_architecture>_<you_language>.iso will be created with all updates and fixes included.


What the script does in details ?


1. Looks for .iso image inside main script directory, then it unpacks first found .iso image.

If .iso image is not found, it checks if DVD directory contains already unpacked Windows 7 installation files (especially install.wim and boot.wim files). If yes, it will use it.

2. Checks whether the image is proper Windows 7 image (only single-architecture, single-language images are supported).

3. Asks user to choose image index (you could use eg. Windows 7 Professional only or all images available together).

4. Downloads all Windows 7 updates up to November 2019, including recommended updates, including IE11, NET 4.8, DirectX 9 June 2010, RDP 8.0 server and RDP 8.1 client.

This step is skipped if updates are already downloaded (and are available in hotfixes folder)

5. Slipstream all downloaded updates to your image (including IE11 language pack for language of your image).

7. Applies custom fixes, ie:

- disables Customer Experience Improvement Program and Diagnostics

- disables and removes Telemetry (which is included in November 2019 cumulative update)

- disables and removes Windows Defender (could be switched off)

- disables System Restore (could be switched off)

- disables all logging (could be switched off)

- disables and removes Action Center

- disables Windows Search Indexer
- disables Application Compatibility Assistant (obsolete, since Windows XP era is gone)
- removes some unnecessary scheduled tasks (like scheduled diagnostic or defragmentation)

- disables Meltdown and Spectre hotfixes (to speed up CPU)

- disables autoshare of your disks in local network

- disables autoplay of disks other than CD/DVD (for security)

- re-enables secdrv service (for support for SafeDisk and SecuROM required by some old games)

- re-enables Fraunhofer IIS MPEG Audio Layer-3 Codec Professional (for support high bitrates encoding)

- adds “Computer” icon to Desktop

- replaces default IE11 homepage with blank (about:blank) and search engine with Google

- adds EULA accepted for SysInternal tools (cosmetic)

8. Integrates your drivers (if you provide ones) to install.wim, boot.wim and winRE.wim of your Windows 7 DVD.

9. Repacks/recompresses install.wim and boot.wim images (to save some space).

10. Creates new bootable ISO DVD image (using Microsoft OSCDIMG tool).


How to customize the script ?

Just edit Integrate7.cmd First section contains on/off switches (0 = off, 1 = on).

Hotfixes download links are located in files hotfixes\hfixes_all.txt and hotfixes\ie11_all.txt, but there is no reason to edit them.


How to add custom drivers ?

Just add your drives (.inf, .sys, .cat files) to following folders:

- add_these_drivers_to_Installer\<your_architecture>

- add_these_drivers_to_Windows\<your_architecture>

- add_these_drivers_to_Recovery\<your_architecture>

Installer drivers will be integrated into boot.wim, Windows drivers will be integrated into install.wim, and Recovery drivers will be integrated into winRE.wim (inside install.wim).

In particular, USB3 and mass-storage drivers should be added here, if you have new PC machine.


How to add other custom files ?


Just copy your files to the following folder:

- add_these_files_to_Windows\<your_architecture>


Everything here will be copied to install.wim, and will be located on main drive (usually C: ) after installation.



What if execution of Integrate7 gets interrupted ?


Just run UnmountCleanUp.cmd. This script will unmounts remnants and removes garbage.


What is NOT included ?

1. Telemetry-only or activation checking updates (I recommend against installing them through WU. Just hide them, when using WU).

2. Packages not included in original Windows 7 installation DVD, like:

- Windows Management Framework 5.1
- Windows Remote Software Administration Tool
- etc.

If You need them, download them manually and/or use Windows Update.


Download links of the script:

- Integrate7 v2.01
- Integrate7 v2.01 (with USB3, AHCI, RAID and NVMe drivers)




My System SpecsSystem Spec
.
12 Jan 2019   #2
wkeller

Windows 7 Professional x64
 
 

Update:

1. Update hotfixes up to January 2019

2. Included workaround and recently released hotfix for bug in January 2019 Rollup Update (KB4480970), ie: “remote shared folders inaccessible”.

a) Included workaround for above bug: reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

b) Included hotfix for above bug: KB4487345

3. Improvements in:
- Remove System Restore (completely remove instead of just disable)
- Remove Telemetry (more settings and tasks removed)
- Remove Windows Defender (more settings and garbage removed)
- Remove Unnesessary Background Tasks


4. Tested: dism /online /cleanup-image /scanhealth
shows no errors.


https://drive.google.com/open?id=1X0n-ESFKIP4VEnZcGZOQfijy9m4ZbAze
My System SpecsSystem Spec
14 Feb 2019   #3
wkeller

Windows 7 Professional x64
 
 

New version v1.1c

1. Updated hotfixes up to February 2019

2. Added CPU microcode hotfixes for Intel (KB3064209) and AMD (KB2818604)

Note: This microcode hotfixes are still relatively old (year 2015 for Intel and year 2013 for AMD).
If you need the most current microcode for your CPU, you should either update your BIOS/UEFI or use VMware microcode update driver.

3. Re-enabled secdrv service (for support for SafeDisk and SecuROM required by some old games).

Note: It is enabled in original Windows 7 SP1, but some of future updates disables it.

4. Re-enabled Fraunhofer IIS MPEG Audio Layer-3 Codec (professional).

Useful for audio/video encoding. It allows MP3 encoding with high bitrates.
It is included in every Windows 7 installation, but disabled by Microsoft due to some licensing issues.


Link: Integrate7_v1_1c.zip - Google Drive
My System SpecsSystem Spec
.

17 Feb 2019   #4
wkeller

Windows 7 Professional x64
 
 

New version v1.1d

1. Included NET Framework 4.7.2 with its updates (up to Feb 2019).

NET Framewrok 4.7.2 is now included and silently installed after Setup Completes (using sources\$OEM$\$$\Scripts\SetupComplete.cmd)
The script will add NET Framework, proper language pack and February 2019 Rollup Update for NET 4.7.

I diceded to include NET 4.7.2 as it is almost always needed.

2. Included DirectX 9 June 2010 update

DirectX 9 June 2010 is now included and silently installed after Setup Completes (using sources\$OEM$\$$\Scripts\SetupComplete.cmd)

As with NET Framework 4.7.2 it is almost always needed (some games and audio/video applications require it).

3. Switched Windows Update to Microsoft Update

Now Windows Update will detect updates to any Microsoft software automatically (including MS Office, etc). Not just Windows.

4. Not new, but it is important to inform. It is safe to install future Rollup Updates and NET Rollup Updates via Windows Update.

Telemetry will not be reinstalled along with them.
The script deactivates and removes telemetry, but it intentionally leaves some harmless files and metadata. So future Rollup Updates installers "think" that telemetry is already installed and will not reactivate it.


Link: Integrate7_v1_1d.zip - Google Drive
My System SpecsSystem Spec
20 Apr 2019   #5
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Looks interesting, thanks. Is there a newer version you could link ?
My System SpecsSystem Spec
20 Apr 2019   #6
wkeller

Windows 7 Professional x64
 
 

There have been several updates. I have not posted them, due to no one's interest on this forum.




Here are all updates with a link to the latest version.:


New version v1.1e:

1. Fixed .NET Framework 4.7.2 language pack detection.
All language packs avaialble here are now supported.

2. Execution of .NET Framework queued compilation during setup is now disabled.

If you want to re-enable it, edit the script and change ExecuteNGEN=0 to ExecuteNGEN=1.

Normally Windows does this in the background (via special service), slowing down your machine until it ends.
So I recommend to force it manually (via above setting or via script: C:\Windows\ngen.cmd), everytime when NET Framework components are installed or updated.

3. Fixed ADK detection bug when host OS is Windows 32-bit.

4. Fixed metadata (update.mum) bug when integrating KB2533552 and KB3177467 to 32-bit version of Windows.

5. KB3155178 update is removed. It relates to Windows Journal application which is removed by KB3161102.
So the update is redundant.

6. Added following ExtraScripts to installation DVD, designed to run manually:

a. HideTelemetryUpdates - it silently runs Windows Update then hides all telemetry updates​

b. InstallFlashPlayer - it automatically downloads and installs latest Adobe Flash Player (for IE11, Firefox and Opera)​

c. DisableScriptHost - it is recommended apply it on every live system, as Windows Script Host is huge security hole.
The only reason why I have not integrated it, is that Windows Loader by DAZ uses Script Host.​
New version v1.1f:

1. UEFI fixes for x64 Windows versions.
File install.wim\windows\boot\efi\bootmgfw.efi is now always copied to DVD\efi\boot\bootx64.efi.
This enables support for UEFI boot from USB-pen on x64 versions of Windows.

2. Creating ISO image is now optional (CreateISO config option is added to the script.)

If CreateISO=0, then installer files will be left in DVD folder and ISO image will not be created.

3. The script no longer asks to choose image if install.wim file contains only one image (eg only Windows 7 Professional).

4. KB3150513 hotfix is added to ExtraScripts\HideTelemetry script. This script is added to DVD and is designed to manual execute after Windows is installed.

New version v1.2

- March 2019 updates (Cumulative Update, SHA2 support update and Servicing Stack update) included.


New version 1.3:

- April 2019 cumulative update included
- Windows ADK is no longer needed (DISM, ImageX and Oscdimg tools are now included in the package)
- Only progress bar is displayed while downloading hotfixes (cosmetic)

Link: Integrate v1.3
My System SpecsSystem Spec
20 Apr 2019   #7
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Thanks. I have done an updater - yours is different, and looks good.

Update your Win 7 installation media.
My System SpecsSystem Spec
.
08 May 2019   #8
arc10516

 
 

Quote   Quote: Originally Posted by wkeller View Post
There have been several updates. I have not posted them, due to no one's interest on this forum.
Hello,

i have to say that your work is incredibly useful.

Please keep up with Integrate7 !!


Please update the link on the fisrt post because is broken : it say: "Google Drive error"


Thanks a lot
My System SpecsSystem Spec
08 May 2019   #9
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 



My System SpecsSystem Spec
10 May 2019   #10
arc10516

 
 

thanks a lot !!!!
My System SpecsSystem Spec
Reply

 Integrate7 script automatically download and slipstream all updates!




Thread Tools




Similar help and support threads
Thread Forum
need script to automatically hide updates via the DataStore.edb file
Let's say I have several different updates I know I don't want. For example: KB2952664 KB2976978 KB2977759 KB2990214 KB3021917 KB3035583 After a fresh install of Windows 7, there are a few hundred updates to be installed. I don't want to have to manually compare each update to my list of...
Windows Updates & Activation
Unable to download updates automatically/manually, download hangs
I'm trying to download updates through Windows Update, it shows that I have 139 important updates, and 40 optional ones. I selected them and clicked the install button but it got stuck at "Downloading updates (0 kb total, 0% complete)". I cancelled and retried choosing only 24 important updates and...
Windows Updates & Activation
Can I make optional updates for MSE be automatically download please?
I use Microsoft Security Essentials but I notice the updates come as 'optional' which means I have to regularly remember to go the my Windows Update page and check for them. Is there a way perhaps to make these be automatically installed as the 'important' updates are by my PC please?
Windows Updates & Activation
Will not download Updates automatically or manually via MS Catalogue
Hi guys, I've just put my Dell Studio back to factory settings after having it for two years and deciding to give it a rebirth. I maintain my laptop very well but always like to do a reset every so often. The problem I'm having now is that the damn thing wont update from Windows Update. It...
Windows Updates & Activation


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 04:42.
Twitter Facebook