Jump to content

Integrate7 script – automatically download and slipstream all updates up to 05/2023!


wkeller

Recommended Posts

Attention!
This thread is outdated as nobody is interested my job here.

However if you like my tools, you can check most up to date versions for Win7 and Win10 here:
Integrate7 script – automatically slipstream updates and drivers up to 05/2023!
Slimdown10 – turn Windows 10 22H2 into classic/legacy Windows
 
__________________________________________________________________________________________________________
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 August 2022 edition DVD.

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

What are pre-requisites ?

Windows 7 or later.

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 August 2022, 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).

6. Applies custom fixes, ie:

- disables Customer Experience Improvement Program and Diagnostics

- disables and removes Telemetry (which is included in August 2022 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)

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

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

9. 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).


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 v3.70 (with USB3, AHCI, RAID and NVMe drivers)
 
Another server:
- Integrate7 v3.70 (with USB3, AHCI, RAID and NVMe drivers)
 
Password: Integrate2020

Attention! If you have UEFI class 3 device (ie with no CSM support) look --> here

PS.
It is recommended to install BypassESU to use Windows Update and install future updates.
On modern CPUs it may be also needed wufuc or WuaCpuFix
Edited by wkeller
Link to comment
Share on other sites

15 minutes ago, mooms said:

That's nice, but disabling Meltdown fix is a very bad idea.

I disable it on every PC on every system in my company. As far as I have investigated it is only usefull on servers, used simultaneously be multiple users.

On regular user PC its only effect is slowing down CPU.

 

But of course, if You want it, You can just remove 4 lines disabling it from the script and forget about it.

Edited by wkeller
Link to comment
Share on other sites

  • 2 weeks later...

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 Unnecessary Background Tasks

 

4. Tested: dism /online /cleanup-image /scanhealth

shows no errors.

 

https://drive.google.com/open?id=1X0n-ESFKIP4VEnZcGZOQfijy9m4ZbAze

Link to comment
Share on other sites

  • 1 month later...
(OP)
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: https://drive.google.com/open?id=1Uyxy_y4UWuVMH519MEfTrMtXBtOYCj1b
Link to comment
Share on other sites

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: https://drive.google.com/file/d/1B4WQ7ZkUTxV42ILd36BaM8f-v2fuGfN-

 
Link to comment
Share on other sites

  • 2 months later...

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)
New version: v1.4

- included updates up to May 2019
- included .NET Framework 4.8
- disabled End Of Support Notification
- disabled IPv6 tunneling protocols (They are deprecated and also disabled in the latest Windows 10. Use native IPv6 instead.)


PS. If You have old (slow) machine, it is recommended to use 32-bit Windows instead of 64-bit.
32-bit version is considerable faster. It is also possible to address up to 64 GB RAM with 32-bit version (thanks to PatchPAE2).
 
Link: Integrate7 v1.4
Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 1 month later...

New version 1.7

- Included August 2019 Cumulative Update (KB4512506)
- Included new version of NET Framework 4.8 as Microsoft rereleased it (old file ndp48-x86-x64-allos-enu.exe should be removed from hotfixes folder)
- Included new version of SHA2 support (KB4474419-v2)
- Included Windows Help program (KB917607)
- Included Microsoft NVMe drivers (KB2990941 and KB3087873)
They are disabled by default, but could be enabled by editing Integrate7.cmd and changing set AddNVMe=0 to set AddNVMe=1

--> Link <---

Link to comment
Share on other sites

  • 5 weeks later...
(OP)
New version 1.8

- Included September 2019 Cumulative Update (KB4516065)
- Included NET Framework updates (KB4514602)
- Included new version of SHA2 support (KB4474419-v3)
- Included new September 2019 Servicing Stack (KB4516655)
- Removed Microsoft NVMe drivers (KB2990941 and KB3087873), which are problematic.

--> Integrate v1.8 <--

New version 1.8 with drivers (USB3, AHCI, RAID and NVMe).
- Includes everything as above
- Includes various USB3, AHCI, RAID, NVMe drivers (based on win-raid forum), which should cover many (most) of hardware.

--> Integrate v1.8 with drivers <--
Link to comment
Share on other sites

  • 1 month later...
New version 1.9

- Included October 2019 Cumulative Update (KB4519976)
- Included NET Framework updates (KB4515847)
- Disabled End of Support notification (DisableGwx, DisableOSUpgrade) due to the new hotfix (KB4524752)

--> Integrate v1.9 <--

New version 1.9 with drivers (USB3, AHCI, RAID and NVMe).
- Includes everything as above
- Includes various USB3, AHCI, RAID, NVMe drivers (based on win-raid forum), which should cover many (most) of hardware.

--> Integrate v1.9 with drivers <--
Link to comment
Share on other sites

Hi.

First off all this is amazing job. Congratulations!

I tested the 1.9v with drivers, with nothing changed in the script, on Virtual Box with no errors.

Tested on a real machine (Asus Mboard H110M-K, 7° gen cpu I3-7100) and also no errors installing.

But on a Asus H310M-R R2.0 with 8° or 9° gen cpu a error ocurred. Just before the last restart before welcome screen to create a Username and pass, etc. I hit OK and the pc restarts to the welcome screen.

I think is a update not 100% compatible to this cpu generation. I tried removing in the script all Spectre and Meltdown related updates and tweaks to try if install with no errors. Same result.

I'm going to try removing some updates to test it again.

Link to comment
Share on other sites

  • 2 weeks later...
On 10/26/2019 at 5:58 PM, Ricardo Silva said:

I think is a update not 100% compatible to this cpu generation. I tried removing in the script all Spectre and Meltdown related updates and tweaks to try if install with no errors. Same result.

 

Meltdown and Spcetre fixes surely doesn't improve stability nor speed of your CPU. They probably degrade the ones, especially speed.

 

You can try:

- removing some drives (they could be incompatible with very new CPU) from add_these_drivers_to_Windows\x64

- disabling all tweaks by changing set ApplyCustPatches=1 to set ApplyCustPatches=0 inside Integrate7.cmd file

- disabling all hotfixes by changing set InstallHotfises=1 to set InstallHotfises=0 inside Integrate7.cmd file

Edited by wkeller
Link to comment
Share on other sites

New version 2.0

- Included November 2019 Cumulative Update (KB4525235)
- Included new Servicing Stack Update 11/2019 (KB4523206)

--> Integrate v2.0 <--

New version 2.0 with drivers (USB3, AHCI, RAID and NVMe).
- Includes everything as above
- Includes various USB3, AHCI, RAID, NVMe drivers (based on win-raid forum), which should cover many (most) of hardware.

--> Integrate v2.0 with drivers <--

Link to comment
Share on other sites

hi.

It was the tweaks. I'm not sure wich one exactly.

 

On 11/13/2019 at 3:18 AM, wkeller said:

 

Meltdown and Spcetre fixes surely doesn't improve stability nor speed of your CPU. They probably degrade the ones, especially speed.

 

You can try:

- removing some drives (they could be incompatible with very new CPU) from add_these_drivers_to_Windows\x64

- disabling all tweaks by changing set ApplyCustPatches=1 to set ApplyCustPatches=0 inside Integrate7.cmd file

- disabling all hotfixes by changing set InstallHotfises=1 to set InstallHotfises=0 inside Integrate7.cmd file

 

Link to comment
Share on other sites

  • 3 weeks later...

New version 2.10

- Included December 2019 Cumulative Update (KB4530734)
- Included new Servicing Stack Update 12/2019 (KB4531786)
- Included .NET Framework 4.8 December 2019 Cumulative Update (KB4533095)

--> Integrate v2.10 <--

New version 2.10 with drivers (USB3, AHCI, RAID and NVMe).
- Includes everything as above
- Includes various USB3, AHCI, RAID, NVMe drivers (based on win-raid forum), which should cover many (most) of hardware.
- New in version 2.10: added Samsung and OCZ/Toshiba NVMe drivers

--> Integrate v2.10 with drivers <--

Link to comment
Share on other sites

New version 2.11

- Disabled and removed "End of Support Notification" (EOSNotify), which is included in December 2019 Cumulative Update (KB4530734)

--> Integrate v2.11 <--

New version 2.11 with drivers (USB3, AHCI, RAID and NVMe).
- Includes everything as above
- Includes various USB3, AHCI, RAID, NVMe drivers (based on win-raid forum), which should cover many (most) of hardware.

--> Integrate v2.11 with drivers <--

Link to comment
Share on other sites

  • 1 month later...
New version 2.20

- Included January 2020 Monthly Rollup Update (KB4534310)
- Included January 2020 Security and Quality Rollup for .NET Framework (KB4535102)
- Included January 2020 Servicing stack update (KB4536952)

--> Integrate v2.20 <--

New version 2.20 with drivers (USB3, AHCI, RAID and NVMe).
- Includes everything as above
- Includes various USB3, AHCI, RAID, NVMe drivers (based on win-raid forum), which should cover many (most) of hardware.

--> Integrate v2.20 with drivers <--
 
 
 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...