Windows７ 統合～始～めました～♪

Windows7 のサポートも残すところ後わずかになりました。
メーカーからは、Windows10への移行を急かすメールが増えてきてます。
そんな中、互換性の問題等でまだまだWindows7が引退できない所も多いと思います。
そこで、組み合わせで偶然発見した統合のＫＢとバッチを紹介します。
必要なアップデートをダウンロード後、展開するバッチも作りました。
IE11 ・ USB3.0 ・ IRST ・ 【 ※ NVMe 】 も対応しました。
ＯＳインストール直後から、.Net Framework 4.8 も インストール出来ます。

※ NVMe の要であるKB2990941の提供が打ち切られました。
　 マザーボードメーカーのツールに同梱されている物を使用します。
　 手元にバイナリが残っているなら大切に保存しておいて下さい。

大まかな手順は、このようになります。

```
①  Windows ADK for Windows 10 Version 1607 をインストール
②  「 _1-統合フォルダ作成.cmd 」を実行
③  統合を行うインストールメディアの中身を【 ___OS-Installer 】フォルダへコピー
④  7-Zip 9.20 を ダウンロード して 「 7za920.zip 」 を ダブルクリック
   「 7za.exe 」を【 C:\_Win7Sp1_ITG 】フォルダへコピー
    ※ https://ja.osdn.net/projects/sevenzip/downloads/64455/7za920.zip/
⑤  「 Download_URL_x64.txt 」 と 「 Download_URL_x86.txt 」を
    【 C:\_Win7Sp1_ITG 】フォルダへコピーしてから
    「 _2-ダウンロードと展開を行うバッチ.cmd 」を実行
⑥  スターメニューから [ Windows Kits ] ＞ [ 展開およびイメージング ツール環境 ] を
    管理者として実行
⑦  「 _3-統合を行うバッチ.cmd 」と「 4GB-OVER-Check.vbs 」を
    コマンドプロンプトに表示されている ・・・Deployment Tools フォルダに保存
⑧  [ 展開およびイメージング ツール環境 ] 以外のアプリを全て閉じる ※ これ、重要です
⑨  [ 展開およびイメージング ツール環境 ] で「 _3-統合を行うバッチ.cmd 」を実行
    統合するOSを聞かれるので該当の 数字キーのみを押す
    ※ Tab キー を 何回か押すと 「 _3-統合を行うバッチ.cmd 」 が表示されます
    統合するOSがタイトルバーに表示され
    統合を開始するかを聞かれるので Y キーのみを押して開始
    ※ N キーで中止出来ます
⑩   バッチ終了後、【 _3-Obj\Integrated 】フォルダの中身を
    起動可能なＵＳＢメモリのルートへコピー
    ※ 【 _3-Obj\ISO 】フォルダに ISO ファイルも作成されてます。
``` 

```
● 統合ディスク作成の順番と使用ＫＢとフォルダ構造

_WIN7SP1_ITG\_1-SOC
│
├─___OS-Installer
│  │  autorun.inf
│  │  bootmgr
│  │  bootmgr.efi  ※  ★ ３２ビット版には無い
│  │  setup.exe
│  ├─boot
│  ├─efi
│  ├─langpacks     ※  ★ 日本語版には無い
│  ├─sources
│  ├─support
│  └─upgrade
│
├─__IE11
│     IE11-Windows6.1-xxx-ja-jp.exe     - IE11 インストーラー ※ IE11 を統合する場合
│     ie11-windows6.1-kb3185319-xxx.msu - IE11 アップデート   ※ 2016-09 MS16-104 
│     ie11-windows6.1-kb4498206-xxx.msu - IE11 アップデート   ※ 2019-05
│
├─_NVMe_KB2990941
│     KB2990941 - NVMe(M.2 SSD) ドライバーサポート
│     KB3087873 - KB2990941 NVMe(M.2 SSD) ドライバーサポート 0x0000007E 対策
│
│     名前   ： 477475_intl_x64_zip.exe                  6,340,648バイト
│     SHA1   ： A0E02131128326E51E21F6AB8F87D7BD2D5F278C
│     SHA256 ： 37E4B567DC891AD4E7D59CD3F94EBDE36FFCA46614DB437B6884AB674002CD57
│            ↓
│     名前   ： Windows6.1-KB2990941-v3-x64.msu          6,213,911バイト
│     SHA1   ： 05DB16B151E786805B5CEABC6CFDBB4915E8082F
│     SHA256 ： D1ACBDD8652D6C78CE284BF511F3A7F5F776A0A91357ACA060039A99C6A93A16
│
│     名前   ： 477474_intl_i386_zip.exe                 5,223,448バイト
│     SHA1   ： 8334F0919D87F1E786A673177848F2B52D4326EE
│     SHA256 ： E872C5CE2E016E7222CEAE56BDC14CA351BC6A0B8F93229BB436E60421F55D08
│            ↓
│     名前   ： Windows6.1-KB2990941-v3-x86.msu          5,097,016バイト
│     SHA1   ： 7EFEB5761E5E0EEC0660636A1955C3D860C87DDF
│     SHA256 ： 418BEB533F542024518D0A6490F70565F9FB4DED066478F329D4F79647A644D1
│
├─_NVMe-USB3-IRST-Driver
│  ├─x64      ※ ★ ６４ビット版を統合する場合、このフォルダが作成されます
│  └─x86      ※ ★ ３２ビット版を統合する場合、このフォルダを作成されます
│
├─01_IE11-Prereq
│     KB2670838 - プラットフォーム更新 DirectX
│     KB2729094 - Segoe UI symbol フォントの更新
│     KB2834140 - KB2670838 プラットフォーム更新 DirectX の更新
│
├─02_Before-RollUp  ※ ファイル数は４８
│     KB2545698 - Internet Explorer 9 で一部のテキストがぼやけて表示
│     KB2547666 - Internet Explorer の閲覧の履歴から長い URL を削除できない
│     KB2574819 - An update is available that adds support for DTLS
│     KB2592687 - リモート デスクトップ プロトコル 8.0 の更新プログラム
│     KB2598845 - Internet Explorer 8 の互換表示一覧用の更新プログラム
│     KB2667402 - リモート デスクトップの脆弱性により、リモートでコードが実行される
│     KB2676562 - MS12-034 Windows カーネル モード ドライバー セキュリティ更新
│     KB2685811 - カーネル モード ドライバー フレームワーク ver 1.11
│     KB2685813 - ユーザー モード ドライバー フレームワーク ver 1.11
│     KB2698365 - Microsoft Data Access Components の脆弱性により、リモートでコードが実行される
│     KB2732059 - You cannot open an .oxps file
│     KB2750841 - IPv6 対応準備更新プログラム
│     KB2761217 - Calibri Light および Calibri Light Italic フォント追加 ※ Office 2013
│     KB2773072 - Update changes the game rating systems
│     KB2813347 - MS13-029 リモート デスクトップ接続 7.0 クライアントのセキュリティ更新プログラム
│     KB2830477 - RemoteApp と デスクトップ接続機能の更新プログラム
│     KB2862330 - USB ドライバーのセキュリティ更新
│     KB2900986 - ActiveX Kill Bits
│     KB2919469 - カナダの国コード修正
│     KB2970228 - ロシア ルーブルの新しい通貨記号サポート
│     KB2984972 - 制限付き管理ログオンをサポートする RDC 7.1 の更新
│     KB3000483 - MS15-011 グループ ポリシーの脆弱性により、リモートでコードが実行される
│     KB3004375 - Windows コマンド ライン監査の更新プログラム
│     KB3006137 - リトアニアの通貨記号をリトアニア リタスからユーロへ変更
│     KB3031432 - MS15-015 Microsoft Windows の脆弱性により、特権が昇格される
│     KB3046269 - MS15-037 Windows タスク スケジューラの脆弱性により、特権が昇格される
│     KB3059317 - MS15-060 Microsoft 共通コントロールの脆弱性により、リモートでコードが実行される
│     KB3075220 - MS15-082 Windows の RDP のセキュリティ更新プログラム
│     KB3102429 - アゼルバイジャン マナトとグルジア ラリの通貨記号をサポート
│     KB3118401 - Windows での汎用の C ランタイムの更新
│     KB3123479 - SHA-1 ハッシュ アルゴリズムの廃止
│     KB3138612 - Windows Update クライアント: 2016年 3 月
│     KB3140245 - TLS 1.1 および TLS 1.2 を有効にする更新
│     KB3150220 - MS16-059 Windows Media Center のセキュリティ更新プログラム
│     KB3155178 - MS16-056 Windows ジャーナル用のセキュリティ更新プログラム
│     KB3159398 - MS16-072 グループ ポリシーのセキュリティ更新プログラム
│     KB3161102 - Windows Journal コンポーネントの削除に関する更新プログラム
│     KB3161949 - MS16-077 WPAD のセキュリティ更新プログラム
│     KB3161958 - MS16-082 Windows Structured Query のセキュリティ更新プログラム
│     KB3170735 - Windows Journal の 2016年 7 月更新
│     KB3179573 - 更新プログラムのロールアップ(2016 年 ８月) 
│     KB3184143 - Windows 10 の無料アップグレード提供に関連したソフトウェアを削除
│     KB4018271 - Internet Explorer 8 の累積的なセキュリティ更新プログラム 2017 年 5 月 9 日
│     KB4019990 - d3dcompiler_47.dll 更新 ※ NDP47 ブロック対応
│     KB4489892 - 2019/03 Windows 7 向けセキュリティ マンスリーロールアップのプレビュー
│     KB4073578 - AMD のデバイス 起動不可対応
│     KB4099950 - KB4088875、KB4088878 NIC対策
│     KB4474419 - SHA-2コード署名をサポート
│
├─03_KB3020369-SSU
│     KB3020369 - サービススタック更新プログラム(2015 年 ４月)
│
├─04_KB3125574-RollUp
│     KB3125574 - 便利なロールアップ更新プログラム
│     KB3181988 - KB3125574-便利なロールアップ更新プログラム usbhub.sys.mui ファイルのエラーを修正
│
├─05_KB3172605-RollUp
│     KB3172605 - 更新プログラムのロールアップ(2016 年 ７月)
│
├─06_Net_Framework-3_5_1
│     KB2894844 - NDP351セキュリティ更新 2013 年 12 月 10 日
│     KB4040980 - NDP351セキュリティ更新 2017 年  9 月 13 日 / 本体は KB4041083
│     KB4507004 - NDP351セキュリティ更品 2019 年  7 月  8 日 / 本体は KB4507420
│
├─07_KB3177467-SSU
│     KB3156016 - MS16-055 Microsoft Graphics コンポーネント用のセキュリティ更新プログラム
│     KB3156019 - MS16-055 Microsoft Graphics コンポーネント用のセキュリティ更新プログラム
│     KB4490628 - サービススタック更新プログラム (2019 年  3 月 13 日)
│
└─08_WinRE
      KB2883457 - Windows 回復の更新プログラム

_WIN7SP1_ITG\_3-Obj ※ 「統合を行うバッチ.cmd」を実行すると作成されます
│
├─Integrated
│  │  autorun.inf
│  │  bootmgr
│  │  bootmgr.efi  ※  ★ ３２ビット版には無い
│  │  setup.exe
│  ├─boot
│  ├─efi
│  ├─langpacks     ※  ★ 日本語版には無い
│  ├─sources
│  ├─support
│  └─upgrade
│
└─ISO
      .iSO ファイル       
------------------------------------------------------------------------
＊＊＊  IRST  ＊＊＊

   インテルラピッド・ストレージ・テクノロジー

   Win7 対応最新版
   15.9. 8.1050 2019/08/08 https://downloadcenter.intel.com/ja/download/28997/-RST-
   f6flpy-x64.zip
   f6flpy-x86.zip

＊＊＊  NVMe  ＊＊＊

   クライアントの NVMe* インテルR SSD 用 Microsoft*Windows* ドライバー

   最新版
    4.3.0.1006  2019/04/09 https://downloadcenter.intel.com/ja/download/28717/-NVMe-
   Client-x86.zip
   Client-x64.zip

＊＊＊  USB3  ＊＊＊

   最新版
   インテル USB3.0eXtensible ホスト・コントローラー・ドライバー
    5.0.4.43v2  2018/09/28 https://downloadcenter.intel.com/ja/download/22824/
    Intel(R)_USB_3.0_eXtensible_Host_Controller_Driver_5.0.4.43_v2.zip

※ メーカーからドライバが提供されている場合、該当するフォルダへファイルを入れて下さい
```

```bat:_1-統合フォルダ作成.cmd
MD "C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer"

MD "C:\_Win7Sp1_ITG\_1-Soc\__IE11"

MD "C:\_Win7Sp1_ITG\_1-Soc\_NVMe_KB2990941"

MD "C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq"
MD "C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp"
MD "C:\_Win7Sp1_ITG\_1-Soc\03_KB3020369-SSU"
MD "C:\_Win7Sp1_ITG\_1-Soc\04_KB3125574-RollUp"
MD "C:\_Win7Sp1_ITG\_1-Soc\05_KB3172605-RollUp"
MD "C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1"
MD "C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU"
MD "C:\_Win7Sp1_ITG\_1-Soc\08_WinRE"
```

```Download_URL_x64.txt
;
; __IE11
;

"C:\_Win7Sp1_ITG\_1-Soc\__IE11","http://download.microsoft.com/download/3/F/2/3F2D186B-826D-4F72-8386-91AFCCAED57F/IE11-Windows6.1-x64-ja-jp.exe"

"C:\_Win7Sp1_ITG\_1-Soc\__IE11","http://download.windowsupdate.com/c/msdownload/update/software/secu/2016/09/ie11-windows6.1-kb3185319-x64_fc0fd52e6ce28c212c2ce5b3dd13cf5fbcb95ca5.msu"

"C:\_Win7Sp1_ITG\_1-Soc\__IE11","http://download.windowsupdate.com/d/msdownload/update/software/secu/2019/05/ie11-windows6.1-kb4498206-x64_645716f1891e15f8f1b42a3083329957f4768190.msu"

;
; _NVMe_KB2990941
;

"C:\_Win7Sp1_ITG\_2-Work","http://download.gigabyte.asia/FileList/Utility/mb_utility_windowsimagetool.zip"

;
; _NVMe-USB3-IRST-Driver
;

; IRST

"C:\_Win7Sp1_ITG\_2-Work","https://downloadmirror.intel.com/28997/eng/f6flpy-x64.zip"

; NVMe

"C:\_Win7Sp1_ITG\_2-Work","https://downloadmirror.intel.com/28325/eng/Client-x64.zip"

; USB3

"C:\_Win7Sp1_ITG\_2-Work","https://downloadmirror.intel.com/22824/eng/Intel(R)_USB_3.0_eXtensible_Host_Controller_Driver_5.0.4.43_v2.zip"

;
; 01_IE11-Prereq
;

"C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq","http://download.windowsupdate.com/msdownload/update/software/ftpk/2013/02/windows6.1-kb2670838-x64_9f667ff60e80b64cbed2774681302baeaf0fc6a6.msu"

"C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq","http://download.windowsupdate.com/msdownload/update/software/updt/2012/09/windows6.1-kb2729094-v2-x64_e1a3ecc5030a51711f558f90dd1db52e24ce074b.msu"

"C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq","http://download.windowsupdate.com/d/msdownload/update/software/updt/2013/08/windows6.1-kb2834140-v2-x64_3db9d9b3dc20515bf4b164821b721402e34ad9d6.msu"

;
; 02_Before-RollUp
;

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2011/06/windows6.1-kb2545698-x64_51753a436cc6358b6e3e15db9b43ffc97d523fc9.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2011/06/windows6.1-kb2547666-x64_28b78926b1b1a04a9867050ecb5e81857ebd5d66.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2013/06/windows6.1-kb2574819-v2-x64_a0b7ffff5c8fc9b2f16b323e582bcda3bbe972d5.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/10/windows6.1-kb2592687-x64_f5cd9f3dab8cdbbf287fee84148e8ea69042bcc3.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2011/10/windows6.1-kb2598845-x64_96e0e80adb7538b926135eac88fe1063a20785b4.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2012/05/windows6.1-kb2667402-v2-x64_15c04bd5944cd9b34a294a25b96911057593c465.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2012/04/windows6.1-kb2676562-x64_446b9165a9a52540896cefb69f6de1d193416056.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2685811-x64_191e09df632b70fd4f4b27d4cb9227f7c5a1c98c.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2685813-x64_22a969bada171678b0936bb320e6a7778e8adc07.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2012/06/windows6.1-kb2698365-x64_f3ad859582ad240c95b9ed867bc9b99e39d15ba9.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/09/windows6.1-kb2732059-v5-x64_102edb47f7704f3f1deb4ae6ace3f7e4f0ee9765.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2750841-x64_bb08f9dbac0d72f1227b362ee503deda2f3dceb6.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2761217-x64_50d02b8fe1321e36a33545d7350730ced229d15a.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2013/01/windows6.1-kb2773072-x64_8fb31aa027962522048bfd1d65398561f5232ce7.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2013/03/windows6.1-kb2813347-x64_76a7cdfabd3778dc9b4ffb603bbb5d9eaf3143aa.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2013/11/windows6.1-kb2830477-x64_21cae4796ac834f66eec9a190815e1e1b8195908.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2013/12/windows6.1-kb2862330-v2-x64_c1a8b768d8c22640d0a80966d124f441eb625934.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2013/11/windows6.1-kb2900986-x64_a56afda70b8208665280cb79d0a6704bb7dcc3bb.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2014/02/windows6.1-kb2919469-x64_86cda4c626b085836b92ee00a182f1c20bb93c7b.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2014/08/windows6.1-kb2970228-x64_929e88aa259841f7936be32c82da56bf2ba22f73.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2014/10/windows6.1-kb2984972-x64_2545620eadc06a0a3fd426b5853b2e0b48187599.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2015/01/windows6.1-kb3000483-x64_67cdef488e5dc049ecae5c2fd041092fd959b187.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2015/01/windows6.1-kb3004375-v3-x64_c4f55f4d06ce51e923bd0e269af11126c5e7196a.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2015/02/windows6.1-kb3006137-x64_3e0f0b8edfd6cda0c37fba3575724c6e829cdda3.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2015/01/windows6.1-kb3031432-x64_e648abe279c8b0095a57271ffbab5d5d376da558.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/03/windows6.1-kb3046269-x64_9cdabeb9c2a859414c27c4f981d6b1334aee0ad5.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/05/windows6.1-kb3059317-x64_b68db33239bddcb59e881252cfc7b79d58a2f26b.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/07/windows6.1-kb3075220-x64_aa1f21337a50e431e65b348c4799b5ca2e9e636f.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/01/windows6.1-kb3102429-v2-x64_fbf07105ff35e936f413663e0f4900cb7055368a.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/02/windows6.1-kb3118401-x64_99153d75ee4d103a429464cdd9c63ef4e4957140.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/12/windows6.1-kb3123479-x64_f8d8752d60da493c119b5b03c6b54ffc5dbff69d.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/02/windows6.1-kb3138612-x64_f7b1de8ea7cf8faf57b0138c4068d2e899e2b266.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/04/windows6.1-kb3140245-x64_5b067ffb69a94a6e5f9da89ce88c658e52a0dec0.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/04/windows6.1-kb3150220-x64_4b29121b751476ed6b81ab570e2f607278d45824.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2016/04/windows6.1-kb3155178-x64_5db0e41e4bb12253f5c9f9bc5c1431b1b6073bf8.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/05/windows6.1-kb3159398-x64_dc2b2c11af4b38b0b632bd7f6d683d57a93b711c.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/07/windows6.1-kb3161102-x64_3ade1fbc413cae1afc0d3f1e1d10379ef4b44aad.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2016/05/windows6.1-kb3161949-x64_e2372fb5746e9474cec6ef1710f8d58ec5c6c000.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/05/windows6.1-kb3161958-x64_eb3a21d1d8175679bb60ed8a1df47320f9df0c59.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/07/windows6.1-kb3170735-x64_f3acca0567bdc906ba7ef05d3d75550bb34db0cd.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/07/windows6.1-kb3179573-x64_0ec541490b3f7b02e41f26cb2c444cbd9e13df4d.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/09/windows6.1-kb3184143-x64_6db4ed132eacefab0f780ef5ce4611ffe4f577a4.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/csa/csa/secu/2017/04/windows6.1-kb4018271-x64-custom_33a66978d36f16a33b042b2abea45cdddf90c17f.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2017/05/windows6.1-kb4019990-x64_35cc310e81ef23439ba0ec1f11d7b71dd34adfe5.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2019/03/windows6.1-kb4489892-x64_d56b066725eeb4cd58a4f0e18cc18253818b588a.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/01/windows6.1-kb4073578-x64_dcd4f238ff6a5948c962d2f9fedc8bca91cc5e66.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/03/windows6.1-kb4099950-x64_245d5aaf7d50587297825f9176be166c47ad10f7.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/03/windows6.1-kb4474419-x64_6acf139f1eb84f60fcdeef3d4f81285e1edb45f9.msu"

;
; 03_KB3020369-SSU
;

"C:\_Win7Sp1_ITG\_1-Soc\03_KB3020369-SSU","http://download.windowsupdate.com/d/msdownload/update/software/updt/2015/04/windows6.1-kb3020369-x64_5393066469758e619f21731fc31ff2d109595445.msu"

;
; 04_KB3125574-RollUp
;

"C:\_Win7Sp1_ITG\_1-Soc\04_KB3125574-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/05/windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu"

"C:\_Win7Sp1_ITG\_1-Soc\04_KB3125574-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/08/windows6.1-kb3181988-x64_e6021f1254cf96f45d10d100e07079780cb24686.msu"

;
; 05_KB3172605-RollUp
;

"C:\_Win7Sp1_ITG\_1-Soc\05_KB3172605-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/09/windows6.1-kb3172605-x64_2bb9bc55f347eee34b1454b50c436eb6fd9301fc.msu"

;
; 06_Net_Framework-3_5_1
;

"C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1","http://download.windowsupdate.com/c/msdownload/update/software/secu/2014/08/windows6.1-kb2894844-x64_71b051d4b2eae12423868e28b0e5b04a9e10c048.msu"

"C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1","http://download.windowsupdate.com/c/msdownload/update/software/secu/2017/09/windows6.1-kb4040980-x64_83282fb5210091802984ead0d4175879056d602c.msu"

"C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1","http://download.windowsupdate.com/d/msdownload/update/software/secu/2019/07/windows6.1-kb4507004-x64_a7d988d65422c8cfbbed141c95aeea37a8743167.msu"

;
; 07_KB3177467-SSU
;

"C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU","http://download.windowsupdate.com/c/msdownload/update/software/secu/2016/04/windows6.1-kb3156016-x64_97fa9ecb5f3a03a0739c6baeea3d9371c1474a6a.msu"

"C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/04/windows6.1-kb3156019-x64_0b5a11f41322e7a835887b5fe5715bc4d1334333.msu"

"C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU","http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/03/windows6.1-kb4490628-x64_d3de52d6987f7c8bdc2c015dca69eac96047c76e.msu"

;
; 08_WinRE
;

"C:\_Win7Sp1_ITG\_1-Soc\08_WinRE","http://download.microsoft.com/download/D/F/2/DF239CED-F8B5-4955-BF20-6E91BC82D709/Windows6.1-KB2883457-x64.msu"
```

```Download_URL_x86.txt
;
; __IE11
;

"C:\_Win7Sp1_ITG\_1-Soc\__IE11","http://download.microsoft.com/download/D/5/3/D53EB67F-A614-4943-9162-E1479A6D6CB3/IE11-Windows6.1-x86-ja-jp.exe"

"C:\_Win7Sp1_ITG\_1-Soc\__IE11","http://download.windowsupdate.com/c/msdownload/update/software/secu/2016/09/ie11-windows6.1-kb3185319-x86_cd4081249bd098b0244fef6e9dfb8ee5674f1fcd.msu"

"C:\_Win7Sp1_ITG\_1-Soc\__IE11","http://download.windowsupdate.com/d/msdownload/update/software/secu/2019/05/ie11-windows6.1-kb4498206-x86_fbdce1b9eb9ff6f5991c87992c0267dff2abd51a.msu"

;
; _NVMe_KB2990941
;

"C:\_Win7Sp1_ITG\_2-Work","http://download.gigabyte.asia/FileList/Utility/mb_utility_windowsimagetool.zip"

;
; _NVMe-USB3-IRST-Driver
;

; IRST

"C:\_Win7Sp1_ITG\_2-Work","https://downloadmirror.intel.com/28997/eng/f6flpy-x86.zip"

; NVMe

"C:\_Win7Sp1_ITG\_2-Work","https://downloadmirror.intel.com/28325/eng/Client-x86.zip"

; USB3

"C:\_Win7Sp1_ITG\_2-Work","https://downloadmirror.intel.com/22824/eng/Intel(R)_USB_3.0_eXtensible_Host_Controller_Driver_5.0.4.43_v2.zip"

;
; 01_IE11-Prereq
;

"C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq","http://download.windowsupdate.com/msdownload/update/software/ftpk/2013/02/windows6.1-kb2670838-x86_984b8d122a688d917f81c04155225b3ef31f012e.msu"

"C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq","http://download.windowsupdate.com/msdownload/update/software/updt/2012/09/windows6.1-kb2729094-v2-x86_565e7f2a6562ace748c5b6165aa342a11c96aa98.msu"

"C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq","http://download.windowsupdate.com/d/msdownload/update/software/updt/2013/08/windows6.1-kb2834140-v2-x86_b57c05e9da2c66e1bb27868c92db177a1d62b2fb.msu"

;
; 02_Before-RollUp
;

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2011/06/windows6.1-kb2545698-x86_e9b32b4a60c2fb2f074aa91038318173c0aadacf.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2011/06/windows6.1-kb2547666-x86_347580aa20811f8f196c0634da421c53498e7ab8.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2013/06/windows6.1-kb2574819-v2-x86_219ef0b5d7e89489e3f0f01e264ec576cc3d66ad.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/10/windows6.1-kb2592687-x86_4c11d26c8e1824643ce1caf60c30693d6536d0a2.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2011/10/windows6.1-kb2598845-x86_4919368631096fa3e374241058a52123b644d8e7.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2012/05/windows6.1-kb2667402-v2-x86_eec6812d9c6f710a6c1e640e8b928c99f215f39e.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2012/04/windows6.1-kb2676562-x86_16ce9be3400bc75c415b1a90518c150d1927b8df.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2685811-x86_4db620a8b8e85bab4822626530d01fd923c28786.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2685813-x86_d2c51b6b97d4ffcb069bcaafbff3135e96fe18e5.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2012/06/windows6.1-kb2698365-x86_d9f8e37cc61ab4abce802c29fe20a8e270321373.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/09/windows6.1-kb2732059-v5-x86_dccdcff2975521afd586b44c0f66c6ef7d38b749.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2750841-x86_e7863547b2b41fc18bc4c576e822107655747981.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2012/11/windows6.1-kb2761217-x86_b480557292b2a27b39c7b9bcfa66374473a94254.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/updt/2013/01/windows6.1-kb2773072-x86_2e4f322442fe5f2ca2819f0052b164e9bbcd0f36.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/msdownload/update/software/secu/2013/03/windows6.1-kb2813347-x86_3c262dcdf6abae2c733bba2aad62465ffcbe5b20.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2013/11/windows6.1-kb2830477-x86_1319bd953bf956b82e30f7dee5994f3558ec7fdd.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2013/12/windows6.1-kb2862330-v2-x86_a6f3c9b5811bd869cf6834acb96c4a0232588c9b.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2013/11/windows6.1-kb2900986-x86_a993e450237ad5109c06691b47cea6aedb86642f.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2014/02/windows6.1-kb2919469-x86_27adf082e711265258899424832c046afee5d061.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2014/08/windows6.1-kb2970228-x86_6b082dc03faaff8a22c6f0146e2779f61be5ec57.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2014/10/windows6.1-kb2984972-x86_0447ea81b8cfafde3f7454721070c6d6599c58d7.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2015/01/windows6.1-kb3000483-x86_75144dcda30ca0ffd061e21af306519304abc954.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2015/01/windows6.1-kb3004375-v3-x86_822f779b87d3cd4ef4de004c344abce202a8aac6.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2015/02/windows6.1-kb3006137-x86_4a93f03431d6f85334822910e585bc32d5f261d0.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2015/01/windows6.1-kb3031432-x86_6ba33eba05ec8fe744e2786f6b72965d119274d8.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/03/windows6.1-kb3046269-x86_dad279443dc5e3446bb2b478252c90d5f115faf1.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/05/windows6.1-kb3059317-x86_7dbad42dd71389bb65948b81220fc019d77c8b77.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/07/windows6.1-kb3075220-x86_1e46613aed15b1bba9fb37f2fddd391d41ff3e49.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/01/windows6.1-kb3102429-v2-x86_6dfa0a567a988f2c888f17196c5a7a16b79c8e68.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/02/windows6.1-kb3118401-x86_db0267a39805ae9e98f037a5f6ada5b34fa7bdb2.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2015/12/windows6.1-kb3123479-x86_9c0c4a6279016ff83e0dadfc7976cd0c05fb97bd.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/02/windows6.1-kb3138612-x86_6e90531daffc13bc4e92ecea890e501e807c621f.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/04/windows6.1-kb3140245-x86_cdafb409afbe28db07e2254f40047774a0654f18.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/04/windows6.1-kb3150220-x86_f3529b8f2f21ea56c6e997ff654d59e4f65d2d6e.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/04/windows6.1-kb3155178-x86_9a1f15d917191a010d323e7e9dc7e6b211524ed6.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/05/windows6.1-kb3159398-x86_c4fa9c67178bef5dbcbd72cde2fe94f5126337e5.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/07/windows6.1-kb3161102-x86_68e520bf57bf2f0e82af9b8577b7e0b056717ab4.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2016/05/windows6.1-kb3161949-x86_0055d0d1e103d374e042f31ebdd26931853b882b.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/05/windows6.1-kb3161958-x86_68c2ffd3c03fa0450040c1dc6bcf3cff38f76fe1.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/07/windows6.1-kb3170735-x86_644678aa18e829011eab68ad2529e717b8dcfead.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2016/07/windows6.1-kb3179573-x86_e972000ff6074d1b0530d1912d5f3c7d1b057c4a.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/09/windows6.1-kb3184143-x86_a941721202ca75fed32e625a2fb577ba1e34418c.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/csa/csa/secu/2017/04/windows6.1-kb4018271-x86-custom_0aaca7d3a92b3030bca78a44281ce86ec7cd5dab.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2017/05/windows6.1-kb4019990-x86_1365fb557d5e5917cbf59b507eac066ad89ea3f7.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2019/03/windows6.1-kb4489892-x86_1df0b3b390350f48ceaa749a8420b3f82257e6f0.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/updt/2018/01/windows6.1-kb4073578-x86_94fcf4e316d99e10d482abd5b644593a062dd21e.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2018/03/windows6.1-kb4099950-x86_c0646f3cc3b5e380f7992f0fcd36f7dc8956b0e6.msu"

"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp","http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/03/windows6.1-kb4474419-x86_b531905efe3aabdd95037d84672b126c65133335.msu"

;
; 03_KB3020369-SSU
;

"C:\_Win7Sp1_ITG\_1-Soc\03_KB3020369-SSU","http://download.windowsupdate.com/d/msdownload/update/software/updt/2015/04/windows6.1-kb3020369-x86_82e168117c23f7c479a97ee96c82af788d07452e.msu"

;
; 04_KB3125574-RollUp
;

"C:\_Win7Sp1_ITG\_1-Soc\04_KB3125574-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/05/windows6.1-kb3125574-v4-x86_ba1ff5537312561795cc04db0b02fbb0a74b2cbd.msu"

"C:\_Win7Sp1_ITG\_1-Soc\04_KB3125574-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/08/windows6.1-kb3181988-x86_e9540354b146d4c2760ac384510a7804f7e99175.msu"

;
; 05_KB3172605-RollUp
;

"C:\_Win7Sp1_ITG\_1-Soc\05_KB3172605-RollUp","http://download.windowsupdate.com/d/msdownload/update/software/updt/2016/09/windows6.1-kb3172605-x86_ae03ccbd299e434ea2239f1ad86f164e5f4deeda.msu"

;
; 06_Net_Framework-3_5_1
;

"C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1","http://download.windowsupdate.com/c/msdownload/update/software/secu/2014/08/windows6.1-kb2894844-x86_d628cb41a17b6cee85c3bdf3e4612219fb7257ba.msu"

"C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1","http://download.windowsupdate.com/d/msdownload/update/software/secu/2017/09/windows6.1-kb4040980-x86_533cbfb7e2754d4a82e558f0c6d4b767881fff1e.msu"

"C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1","http://download.windowsupdate.com/d/msdownload/update/software/secu/2019/07/windows6.1-kb4507004-x86_625917bdc06b040d7c312e1b8d805a43ff31cf8b.msu"

;
; 07_KB3177467-SSU
;

"C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU","http://download.windowsupdate.com/d/msdownload/update/software/secu/2016/04/windows6.1-kb3156016-x86_ea2cf88a256d4138109847ddc5cec66f3f660efa.msu"

"C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU","http://download.windowsupdate.com/c/msdownload/update/software/secu/2016/04/windows6.1-kb3156019-x86_842ffb1d49c4540558396cae3b599d1bef9dd485.msu"

"C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU","http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/03/windows6.1-kb4490628-x86_3cdb3df55b9cd7ef7fcb24fc4e237ea287ad0992.msu"

;
; 08_WinRE
;

"C:\_Win7Sp1_ITG\_1-Soc\08_WinRE","http://download.microsoft.com/download/6/D/0/6D01FAB6-A151-4340-B75C-F79ED587F7E0/Windows6.1-KB2883457-x86.msu"
```

```bat:_2-ダウンロードと展開を行うバッチ.cmd
@echo off

title 各種ダウンロードと展開 ・・・ %date% %time:~0,-3% から開始

                                                                                    set "PKGE=x86" & set "除外=x64"
if     exist "C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer\efi\microsoft\boot\efisys.bin" set "PKGE=x64" & set "除外=x86"

RD    /S /Q                                                   "C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver\%除外%" > nul 2> nul
RD    /S /Q                                                   "C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver\%PKGE%" > nul 2> nul

MD                                                            "C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver\%PKGE%" > nul 2> nul

RD    /S /Q                                                   "C:\_Win7Sp1_ITG\_2-Work" > nul 2> nul
MD                                                            "C:\_Win7Sp1_ITG\_2-Work" > nul 2> nul

SetLocal EnableDelayedExpansion

rem /;
rem /; 各種ダウンロード
rem /;

for /f "usebackq tokens=1-2 delims=," %%1 in (`find /v "" ^<  "C:\_Win7Sp1_ITG\Download_URL_!PKGE!.txt"`) do (
                                                       Set  FileName=%%~2
 echo;%%~2 | find /i      "Windows6.1" > nul 2> nul && Set "FileName=!FileName:*Windows6.1=Windows6.1!"
 echo;%%~2 | find /i "IE11-Windows6.1" > nul 2> nul && Set "FileName=IE11-!FileName!"
 echo;%%~2 | find /i "gigabyte"        > nul 2> nul && Set "FileName=!FileName:*Utility/=!"
 echo;%%~2 | find /i "intel.com"       > nul 2> nul && Set "FileName=!FileName:*eng/=!" &&  Set "FileName=!FileName:(=!" && Set "FileName=!FileName:)=!"
 bitsadmin  /transfer   Get-!FileName!     %%2       "%%~1\!FileName!" || echo;ダウンロード失敗,!FileName!,%%~2>>"C:\_Win7Sp1_ITG\ダウンロード失敗.txt"
)

rem /;
rem /; KB2990941 KB3087873 【 _NVMe_KB2990941 】 フォルダ へ 展開
rem /;

EndLocal
for /f "delims=" %%1 in ('dir "C:\_Win7Sp1_ITG\_2-Work\*windowsimagetool.zip" /b') do (
 "C:\_Win7Sp1_ITG\7za" e   -y "C:\_Win7Sp1_ITG\_2-Work\%%1" -o"C:\_Win7Sp1_ITG\_1-Soc\_NVMe_KB2990941"  -ir!*%PKGE%.msu
)

rem /;
rem /; NVMe 【 _NVMe-USB3-IRST-Driver 】 の 該当パッケージ フォルダ へ 展開
rem /;

for /f "delims=" %%1 in ('dir "C:\_Win7Sp1_ITG\_2-Work\Client*%PKGE%.zip" /b') do (
 "C:\_Win7Sp1_ITG\7za" x   -y "C:\_Win7Sp1_ITG\_2-Work\%%1" -o"C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver\%PKGE%\NVMe"
)

rem /;
rem /; IRST 【 _NVMe-USB3-IRST-Driver 】 の 該当パッケージ フォルダ へ 展開
rem /;

for /f "delims=" %%1 in ('dir "C:\_Win7Sp1_ITG\_2-Work\f6flpy*%PKGE%.zip" /b') do (
 "C:\_Win7Sp1_ITG\7za" x   -y "C:\_Win7Sp1_ITG\_2-Work\%%1" -o"C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver\%PKGE%\IRST"
)

rem /;
rem /; USB3 【 _NVMe-USB3-IRST-Driver 】 の 該当パッケージ フォルダ へ 展開
rem /;

for /f "delims=" %%1 in ('dir "C:\_Win7Sp1_ITG\_2-Work\*eXtensible_Host_Controller_Driver*.zip" /b')  do (
 "C:\_Win7Sp1_ITG\7za" x   -y "C:\_Win7Sp1_ITG\_2-Work\%%1" -o"C:\_Win7Sp1_ITG\_2-Work" > nul 2> nul
)

                                                                    Set Llenn=USB3-Driver
for /f "delims=" %%1 in ('dir "C:\_Win7Sp1_ITG\_2-Work\*eXtensible_Host_Controller_Driver*" /b /a:d') do (
 REN                          "C:\_Win7Sp1_ITG\_2-Work\%%1"           "%Llenn%"
)

                                                                                                        echo;%除外%>              "C:\_Win7Sp1_ITG\_2-Work\EXCLUDE.txt"
xcopy /seiy "C:\_Win7Sp1_ITG\_2-Work\%Llenn%\Drivers"         "C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver\%PKGE%\USB3" /EXCLUDE:C:\_Win7Sp1_ITG\_2-Work\EXCLUDE.txt > nul

goto :eof
```

```bat:_3-統合を行うバッチ.cmd
@ECHO OFF
SetLocal EnableDelayedExpansion

set Start_DATETIME=%date% %time:~0,-3%

title Win7 Sp1 統合 ・・・ %Start_DATETIME% から開始

cls
echo;
echo;★★★ Windows 7 統合準備 【 ディスクイメージ指定 】  ★★★
echo;

Attrib -R                                            "C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer" /S /D

                                                                              Set "Walking_Church= "
for /f "delims="    %%1 in ('Dism /Get-WimInfo /wimFile:"C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer\sources\install.wim"') do (
            set Msg=%%1
   if         "!Msg:~0,8!"=="インデックス: "     set    "Index=!Msg:~8!"    & Set  Walking_Church=!Walking_Church!!Index!
   if         "!Msg:~0,4!"=="名前: "             echo;  !Index! → !Msg:~4!
)

echo;

choice   /c                               %Walking_Church% /M "統合する OS を指定して下さい ※ 数字キーのみ押す ⇒ "
call  set                     洗濯したOS=%%Walking_Church:~!errorlevel!,1%%

for /f "delims="    %%1 in ('Dism /Get-WimInfo /wimFile:"C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer\sources\install.wim"') do (
            set Msg=%%1
   if         "!Msg:~0,8!"=="インデックス: "     set           "Index=!Msg:~8!"
   if  "!Index!!Msg:~0,4!"=="!洗濯したOS!名前: " set    "洗濯した名前=!Msg:~4!"
)

title !洗濯した名前! ・・・ %Start_DATETIME% から統合開始

echo;

choice /M "統合を開始してよろしいですか "

if      !ERRORLEVEL! EQU 2 goto :eof

cls
echo;
echo; 統合中・・・
echo;

rem /;
rem /; 作業用・統合後フォルダ作成と更新元ファイルをコピー
rem /;

Dism  /Remount-Image                                          /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"   > nul 2> nul
Dism  /Unmount-Image /discard                                 /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"   > nul 2> nul
Dism  /Remount-Image                                          /MountDir:"C:\_Win7Sp1_ITG\_2-Work\ReMount" > nul 2> nul
Dism  /Unmount-Image /discard                                 /MountDir:"C:\_Win7Sp1_ITG\_2-Work\ReMount" > nul 2> nul
Dism  /Cleanup-Mountpoints                                                                                > nul 2> nul

RD    /S /Q                                                             "C:\_Win7Sp1_ITG\_2-Work" > nul 2> nul
RD    /S /Q                                                             "C:\_Win7Sp1_ITG\_2-Work" > nul 2> nul

MD                                                                      "C:\_Win7Sp1_ITG\_2-Work\Mount"
MD                                                                      "C:\_Win7Sp1_ITG\_2-Work\ReMount"

MD                                                                      "C:\_Win7Sp1_ITG\_2-Work\__sources"
copy     /y "C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer\sources\*.wim"      "C:\_Win7Sp1_ITG\_2-Work\__sources" > nul


RD    /S /Q                                                             "C:\_Win7Sp1_ITG\_3-Obj" > nul 2> nul
RD    /S /Q                                                             "C:\_Win7Sp1_ITG\_3-Obj" > nul 2> nul
MD                                                                      "C:\_Win7Sp1_ITG\_3-Obj\Integrated"

rem /;
rem /; 除外ファイルを指定してからコピー
rem /;
                                                     echo;boot.wim>                                                 "C:\_Win7Sp1_ITG\_2-Work\EXCLUDE.txt"
                                                     echo;bootfix.bin>>                                             "C:\_Win7Sp1_ITG\_2-Work\EXCLUDE.txt"
                                                     echo;install.wim>>                                             "C:\_Win7Sp1_ITG\_2-Work\EXCLUDE.txt"
                                                     echo;langpacks>>                                               "C:\_Win7Sp1_ITG\_2-Work\EXCLUDE.txt"
xcopy /seiy "C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer"                    "C:\_Win7Sp1_ITG\_3-Obj\Integrated" /EXCLUDE:C:\_Win7Sp1_ITG\_2-Work\EXCLUDE.txt > nul

rem /;--------------------------------------------------------------------------------------------------------------------------
rem /;--------------------------------------------------------------------------------------------------------------------------
rem /;--------------------------------------------------------------------------------------------------------------------------

rem /;
rem /; boot.wim    統合 と sources フォルダを更新するファイルをコピー
rem /;

ren                                   "C:\_Win7Sp1_ITG\_2-Work\__sources\boot.wim"                                                                    "boot.CMP"

Dism    /Mount-Wim           /wimfile:"C:\_Win7Sp1_ITG\_2-Work\__sources\boot.CMP"               /index:1 /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe_KB2990941"                               /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Driver         /Driver:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver"                        /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"        /ForceUnsigned  /recurse
RD    /S /Q                                                                                                         "C:\_Win7Sp1_ITG\_2-Work\Mount\$winpeDriver$" > nul 2>nul
RD    /S /Q                                                                                                         "C:\_Win7Sp1_ITG\_2-Work\Mount\$winpeDriver$" > nul 2>nul
xcopy /SEIY                           "C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver"                               "C:\_Win7Sp1_ITG\_2-Work\Mount\$winpeDriver$" > nul

call  :電源プラン高パフォーマンス化＿視覚効果パフォーマンス優先＿winsxs-Backup削除＿winsxs-ManifestCache削除        "C:\_Win7Sp1_ITG\_2-Work\Mount"

Dism  /Unmount-Image /commit                                                                              /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"

rem /;--------------------------------------------------------------------------------------------------------------------------

Dism    /Mount-Wim           /wimfile:"C:\_Win7Sp1_ITG\_2-Work\__sources\boot.CMP"               /index:2 /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe_KB2990941"                               /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Driver         /Driver:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver"                        /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"        /ForceUnsigned  /recurse
RD    /S /Q                                                                                                         "C:\_Win7Sp1_ITG\_2-Work\Mount\$winpeDriver$" > nul 2>nul
RD    /S /Q                                                                                                         "C:\_Win7Sp1_ITG\_2-Work\Mount\$winpeDriver$" > nul 2>nul
xcopy /SEIY                           "C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver"                               "C:\_Win7Sp1_ITG\_2-Work\Mount\$winpeDriver$" > nul

call  :電源プラン高パフォーマンス化＿視覚効果パフォーマンス優先＿winsxs-Backup削除＿winsxs-ManifestCache削除        "C:\_Win7Sp1_ITG\_2-Work\Mount"

xcopy                                                                                                               "C:\_Win7Sp1_ITG\_2-Work\Mount\sources" "C:\_Win7Sp1_ITG\_2-Work\__sources" /D:11-02-17 > nul

Dism  /Unmount-Image /commit                                                                              /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"

rem /;--------------------------------------------------------------------------------------------------------------------------

Dism   /Export-Image /SourceImageFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\boot.CMP"            /DestinationImageFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\boot.wim" /SourceIndex:1 /Compress:max
Dism   /Export-Image /SourceImageFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\boot.CMP"            /DestinationImageFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\boot.wim" /SourceIndex:2 /Compress:max
Del    /F            /Q               "C:\_Win7Sp1_ITG\_2-Work\__sources\boot.CMP" > nul 2>nul

rem /;--------------------------------------------------------------------------------------------------------------------------
rem /;--------------------------------------------------------------------------------------------------------------------------
rem /;--------------------------------------------------------------------------------------------------------------------------

rem /;
rem /; install.wim 統合
rem /;

Dism    /Mount-Wim           /wimfile:"C:\_Win7Sp1_ITG\_2-Work\__sources\install.wim"                     /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"                        /index:%洗濯したOS%

rem /;
rem /; 英語版に日本語パックを追加
rem /;

IF      Exist                         "C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer\langpacks\ja-jp\lp.cab" (
    Dism  /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer\langpacks\ja-jp\lp.cab"        /Image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
    Dism                 /Set-AllIntl:ja-JP                                                                  /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
    Dism         /Set-SKUIntlDefaults:ja-JP /Set-TimeZone:"Tokyo Standard Time"                              /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
    Dism           /Set-LayeredDriver:6                                                                      /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"

    XCOPY /SEIY                       "C:\_Win7Sp1_ITG\_1-Soc\___OS-Installer\langpacks\ja-jp"                      "C:\_Win7Sp1_ITG\_3-Obj\Integrated\langpacks\ja-jp" > nul
    echo;reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language" /f /v "InstallLanguage" /t REG_SZ /d "0411">  "C:\_Win7Sp1_ITG\_3-Obj\Integrated\英語版を日本語化して再起動.cmd"
    echo;shutdown /f /r /t 60>>                                                                                     "C:\_Win7Sp1_ITG\_3-Obj\Integrated\英語版を日本語化して再起動.cmd"

)

Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe_KB2990941"                               /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Driver         /Driver:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver"                        /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"        /ForceUnsigned  /recurse

Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\01_IE11-Prereq"                                /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"

rem /;
rem /; IE11 が 用意されていたら統合
rem /;

IF      Exist                         "C:\_Win7Sp1_ITG\_1-Soc\__IE11\IE11-Windows6.1-*.exe" (
    For   /F "delims="  %%0 in ('dir  "C:\_Win7Sp1_ITG\_1-Soc\__IE11\IE11-Windows6.1-*.exe" /b') do                 "C:\_Win7Sp1_ITG\_1-Soc\__IE11\%%0" /x:"C:\_Win7Sp1_ITG\_2-Work\ReMount"
    Dism  /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_2-Work\ReMount\IE-Win7.CAB"                          /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
    Dism  /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_2-Work\ReMount\ielangpack-ja-JP.CAB"                 /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
    Dism  /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_2-Work\ReMount\IE-Hyphenation-en.MSU"                /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
    Dism  /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_2-Work\ReMount\IE-Spelling-en.MSU"                   /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
    Del   /F             /Q           "C:\_Win7Sp1_ITG\_2-Work\ReMount\."

    Dism  /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\__IE11"                                        /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
)

Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\02_Before-RollUp"                              /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\03_KB3020369-SSU"                              /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\04_KB3125574-RollUp"                           /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\05_KB3172605-RollUp"                           /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\06_Net_Framework-3_5_1"                        /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"
Dism      /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\07_KB3177467-SSU"                              /image:"C:\_Win7Sp1_ITG\_2-Work\Mount"

echo;

rem /;--------------------------------------------------------------------------------------------------------------------------

 rem /;
 rem /; winRE.wim     統合（ install.wim 内にある 回復イメージ ）
 rem /;

 Dism   /Mount-Wim           /wimfile:"C:\_Win7Sp1_ITG\_2-Work\Mount\windows\system32\recovery\winRE.wim" /MountDir:"C:\_Win7Sp1_ITG\_2-Work\ReMount"                      /index:1

 Dism     /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\08_WinRE"                                      /image:"C:\_Win7Sp1_ITG\_2-Work\ReMount"

 Dism     /Add-Package   /PackagePath:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe_KB2990941"                               /image:"C:\_Win7Sp1_ITG\_2-Work\ReMount"
 Dism     /Add-Driver         /Driver:"C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver"                        /image:"C:\_Win7Sp1_ITG\_2-Work\ReMount"      /ForceUnsigned  /recurse
 RD    /S /Q                                                                                                        "C:\_Win7Sp1_ITG\_2-Work\ReMount\$winpeDriver$" > nul 2>nul
 RD    /S /Q                                                                                                        "C:\_Win7Sp1_ITG\_2-Work\ReMount\$winpeDriver$" > nul 2>nul
 xcopy /SEIY                          "C:\_Win7Sp1_ITG\_1-Soc\_NVMe-USB3-IRST-Driver"                               "C:\_Win7Sp1_ITG\_2-Work\ReMount\$winpeDriver$" > nul

 call  :電源プラン高パフォーマンス化＿視覚効果パフォーマンス優先＿winsxs-Backup削除＿winsxs-ManifestCache削除       "C:\_Win7Sp1_ITG\_2-Work\ReMount"

 Dism /Unmount-Image /commit                                                                              /MountDir:"C:\_Win7Sp1_ITG\_2-Work\ReMount"

 Del   /F            /Q                                                                                                         "C:\_Win7Sp1_ITG\_2-Work\Mount\windows\system32\recovery\winRE2.wim" > nul 2>nul
 Dism  /Export-Image /SourceImageFile:"C:\_Win7Sp1_ITG\_2-Work\Mount\windows\system32\recovery\winRE.wim" /DestinationImageFile:"C:\_Win7Sp1_ITG\_2-Work\Mount\windows\system32\recovery\winRE2.wim" /SourceIndex:1 /Compress:max

 Del   /F            /Q               "C:\_Win7Sp1_ITG\_2-Work\Mount\windows\system32\recovery\winRE.wim"              > nul 2>nul
 Ren                                  "C:\_Win7Sp1_ITG\_2-Work\Mount\windows\system32\recovery\winRE2.wim" "winRE.wim"

rem /;--------------------------------------------------------------------------------------------------------------------------

call  :winsxs-ManifestCache削除                                                                                     "C:\_Win7Sp1_ITG\_2-Work\Mount"

Dism  /Unmount-Image /commit                                                                              /MountDir:"C:\_Win7Sp1_ITG\_2-Work\Mount"

rem /;--------------------------------------------------------------------------------------------------------------------------

Del    /F            /Q                                                                                             "C:\_Win7Sp1_ITG\_2-Work\__sources\install2.wim"        > nul 2>nul
Dism   /Export-Image /SourceImageFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\install.wim"         /DestinationImageFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\install2.wim" /SourceIndex:%洗濯したOS% /Compress:max

Del    /F            /Q               "C:\_Win7Sp1_ITG\_2-Work\__sources\install.wim"                > nul 2>nul
Ren                                   "C:\_Win7Sp1_ITG\_2-Work\__sources\install2.wim" "install.wim"

rem /;--------------------------------------------------------------------------------------------------------------------------

rem /;
rem /; install.wim が 4GB を 超えたら 分割後、削除
rem /;

for  /f    %%1 in                    ("C:\_Win7Sp1_ITG\_2-Work\__sources\install.wim") do Set WimFileSize=%%~z1
for  /f    %%2 in                  ('call CSCRIPT //NoLogo "%~dp04GB-OVER-Check.vbs"         %WimFileSize%') do (
  IF   /I "%%2"=="4GB-OVER" (
      Dism   /Split-Image  /ImageFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\install.wim"    /FileSize:4095    /SWMFile:"C:\_Win7Sp1_ITG\_2-Work\__sources\install.swm"
      Del    /F            /Q         "C:\_Win7Sp1_ITG\_2-Work\__sources\install.wim"
  )
)

echo;

rem /;--------------------------------------------------------------------------------------------------------------------------

xcopy /seiy                           "C:\_Win7Sp1_ITG\_2-Work\__sources"                                           "C:\_Win7Sp1_ITG\_3-Obj\Integrated\sources" > nul

rem /;--------------------------------------------------------------------------------------------------------------------------
rem /;--------------------------------------------------------------------------------------------------------------------------
rem /;--------------------------------------------------------------------------------------------------------------------------

rem /;
rem /; ISO ファイル作成
rem /;

MD                                                                                                                                                                                                                        "C:\_Win7Sp1_ITG\_3-Obj\ISO"
if     exist                                                                                                        "C:\_Win7Sp1_ITG\_3-Obj\Integrated\efi\microsoft\boot\efisys.bin" (
    oscdimg     -m -o -u2 -udfver102 -bootdata:2#p0,e,b"C:\_Win7Sp1_ITG\_3-Obj\Integrated\boot\etfsboot.com"#pEF,e,b"C:\_Win7Sp1_ITG\_3-Obj\Integrated\efi\microsoft\boot\efisys.bin" "C:\_Win7Sp1_ITG\_3-Obj\Integrated" "C:\_Win7Sp1_ITG\_3-Obj\ISO\Windows7-SP1-USB3-NVME_x64.iso"
  ) else (
    oscdimg     -m -o -u1                            -b"C:\_Win7Sp1_ITG\_3-Obj\Integrated\boot\etfsboot.com"                                                                          "C:\_Win7Sp1_ITG\_3-Obj\Integrated" "C:\_Win7Sp1_ITG\_3-Obj\ISO\Windows7-SP1-USB3-NVME_x86.iso"
)

echo;

echo;%date% %time:~0,-3% 統合終了

goto :eof

:電源プラン高パフォーマンス化＿視覚効果パフォーマンス優先＿winsxs-Backup削除＿winsxs-ManifestCache削除

>nul (
REG   LOAD  "HKLM\PeHive"                                                                                                                     "%~1\windows\system32\config\SYSTEM"
REG ADD     "HKLM\PeHive\ControlSet001\Control\Power\User\PowerSchemes"                    /f /v "ActivePowerScheme"         /t REG_SZ     /d "8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"
REG UNLOAD  "HKLM\PeHive"
)

>nul (
REG   LOAD  "HKLM\PeHive"                                                                                                                     "%~1\windows\system32\config\DEFAULT"

REG ADD     "HKLM\PeHive\Control Panel\Desktop"                                            /f /v "DragFullWindows"           /t REG_SZ     /d "0"
REG ADD     "HKLM\PeHive\Control Panel\Desktop"                                            /f /v "FontSmoothing"             /t REG_SZ     /d "0"
REG ADD     "HKLM\PeHive\Control Panel\Desktop"                                            /f /v "UserPreferencesMask"       /t REG_BINARY /d "9012018010000000"
REG ADD     "HKLM\PeHive\Control Panel\Desktop\WindowMetrics"                              /f /v "MinAnimate"                /t REG_SZ     /d "0"

REG ADD     "HKLM\PeHive\Control Panel\Keyboard"                                           /f /v "Initialkeyboardindicators" /t REG_SZ     /d "2"
REG ADD     "HKLM\PeHive\Software\Microsoft\Notepad"                                       /f /v "StatusBar"                 /t REG_DWORD  /d "1"

REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "Hidden"                    /t REG_DWORD  /d "1"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "HideFileExt"               /t REG_DWORD  /d "0"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "ShowSuperHidden"           /t REG_DWORD  /d "1"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "SuperHidden"               /t REG_DWORD  /d "1"

REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "IconsOnly"                 /t REG_DWORD  /d "1"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "ListviewAlphaSelect"       /t REG_DWORD  /d "0"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "ListviewShadow"            /t REG_DWORD  /d "0"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"      /f /v "TaskbarAnimations"         /t REG_DWORD  /d "0"

REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects" /f /v "VisualFXSetting"           /t REG_DWORD  /d "3"

REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\Policies\System"        /f /v "DisableStartupSound"       /t REG_DWORD  /d "1"

REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\CurrentVersion\ThemeManager"           /f /v "ThemeActive"               /t REG_SZ     /d "0"

REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\DWM"                                   /f /v "AlwaysHibernateThumbnails" /t REG_DWORD  /d "0"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\DWM"                                   /f /v "ColorizationOpaqueBlend"   /t REG_DWORD  /d "1"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\DWM"                                   /f /v "CompositionPolicy"         /t REG_DWORD  /d "1"
REG ADD     "HKLM\PeHive\Software\Microsoft\Windows\DWM"                                   /f /v "EnableAeroPeek"            /t REG_DWORD  /d "0"

REG UNLOAD  "HKLM\PeHive"
)

:winsxs-Backup削除＿winsxs-ManifestCache削除

Takeown /F                                                                                                                                    "%~1\Windows\WinSxS\Backup\*"                                   > NUL
icacls                                                                                                                                        "%~1\Windows\WinSxS\Backup\*"        /GRANT Administrators:F /q > NUL
Del     /F            /Q                                                                                                                      "%~1\Windows\WinSxS\Backup\*"                                   > NUL

:winsxs-ManifestCache削除

Takeown /F                                                                                                                                    "%~1\Windows\WinSxS\ManifestCache\*"                            > NUL
icacls                                                                                                                                        "%~1\Windows\WinSxS\ManifestCache\*" /GRANT Administrators:F /q > NUL
Del     /F            /Q                                                                                                                      "%~1\Windows\WinSxS\ManifestCache\*"                            > NUL

goto :eof
```

```vb:4GB-OVER-Check.vbs
set fso = CreateObject("Scripting.FileSystemObject")
If  WScript.Arguments(0) > 4294967295 Then
    WScript.Echo "4GB-OVER"
Else
    WScript.Echo "4GB-UNDER"
End If
```

![Win7_kaby.png](https://qiita-image-store.s3.amazonaws.com/0/98441/c36b0668-d63d-a502-b6f5-e8d03b226925.png)

![HP1012G1-Win7.png](https://qiita-image-store.s3.amazonaws.com/0/98441/48e5e0c2-6538-d827-635b-b6ccc3d98c83.png)


参考にしたサイト

Windows 7 SP1用の便利な更新プログラムのロールアップをインストールDVDに統合する方法
http://www.neko.ne.jp/~freewing/software/windows7_sp1_convenience_rollup/

Windows 7 のインストールディスクに Windows Update を適用して初回のアップデートを短縮してみました
http://9bo.hateblo.jp/entry/2017/03/26/235115