Windows 7 refreshed media creation

Discussion in 'Operating Systems' started by Extraordinary, Jan 3, 2017.

  1. Extraordinary

    Extraordinary Guest

    Messages:
    19,558
    Likes Received:
    1,636
    GPU:
    ROG Strix 1080 OC
    The fastest way to patch a Windows 7/Server 2008 R2 machine is to take advantage of the Convenience Update Rollup from April 2016 (KB3125574). The Conv. UR updates a lot of components and to ensure that that happens without any servicing problems, it has as a prerequisite the Servicing Stack Update from April 2015 (KB3020369). To install most of the other patches in between April 2016 and October 2016 we will include the following updates:

    1. KB3020369 (April 2015 Servicing Stack Update)
    2. KB3125574 (April 2016 Convenience Update Rollup)
    3. KB3177467 (September 2016 SSU)
    4. KB3172605 (July 2016 Functional Update Rollup, 7C* package)
    5. KB3179573 (August 2016 FUR, 8C* package)
    6. KB2841134 (Internet Explorer 11, Optional)
    7. KB3185330 (October 2016 Monthly Quality Rollup, 10B’ package [contains September 2016 FUR, 9C* package])
    *3rd Tuesday package of that month.
    Download all the packages from the Microsoft Update Catalog (now updated to work on all browsers) to a folder:
    http://www.catalog.update.microsoft.com/Search.aspx?q=3020369
    http://www.catalog.update.microsoft.com/Search.aspx?q=3125574
    http://www.catalog.update.microsoft.com/Search.aspx?q=3177467
    http://www.catalog.update.microsoft.com/Search.aspx?q=3172605
    http://www.catalog.update.microsoft.com/Search.aspx?q=3179573
    http://www.catalog.update.microsoft.com/Search.aspx?q=2841134
    http://www.catalog.update.microsoft.com/Search.aspx?q=3185330
    Expand the .MSU files to extract the .CAB file which will be used with DISM:


    [​IMG]
    Commands used:



    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3020369-x64_5393066469758e619f21731fc31ff2d109595445.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3177467-x64_42467e48b4cfeb44112d819f50b0557d4f9bbb2f.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3172605-x64_2bb9bc55f347eee34b1454b50c436eb6fd9301fc.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3179573-x64_0ec541490b3f7b02e41f26cb2c444cbd9e13df4d.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3185330-x64_8738d0ef3718b8b05659454cff898e8c4f0433d7.msu C:\files\Window7MediaRefresh\CABs


    After deleting all other files from the CABs folder and keeping only .CAB files we should have the following:

    [​IMG]


    For this guide we will use the install.wim file from a Windows 7 Enterprise x64 SP1 Media:


    [​IMG]


    Mount the image as described in the offline servicing article below:


    Add or Remove Packages Offline Using DISM
    https://technet.microsoft.com/en-us/library/hh824838.aspx


    Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:”Windows 7 ENTERPRISE” /MountDir:C:\test\offline

    And now we can start adding the first package, the KB3020369 SSU:

    Dism /Image:C:\test\offline /Add-Package /PackagePath:C:\files\Window7MediaRefresh\CABs\Windows6.1-KB3020369-x64.cab

    [​IMG]

    We can check the installation state using the command below:

    Dism /Image:C:\test\offline /Get-Packages


    It is in a “Install Pending” state:
    Package Identity : Package_for_KB3020369~31bf3856ad364e35~amd64~~6.1.1.1
    State : Install Pending
    Release Type : Update
    Install Time : 11/4/2016 9:11 AM
    The next update to install is the Convenience Update Rollup KB3125574:


    Dism /Image:C:\test\offline /Add-Package /PackagePath:C:\files\Window7MediaRefresh\CABs\Windows6.1-KB3125574-v4-x64.cab


    [​IMG]

    Package Identity : Package_for_KB3125574~31bf3856ad364e35~amd64~~6.1.4.4
    State : Install Pending
    Release Type : Update
    Install Time : 11/4/2016 10:33 AM
    We cannot continue to install updates offline, because of the DISM limitation below:


    Limitations

    • When you are installing a package in an offline image, the package state is “install pending” because of pending online actions. In other words, the package will be installed when the image is booted and the online actions are processed. If subsequent actions are requested, they cannot be processed until the previous pending online action is completed. You can use the /PreventPending option when you add a package with /AddPackage to skip the installation of a package when there are pending online actions.
    https://technet.microsoft.com/en-us/library/hh825265.aspx
    Commit the changes with the command below to seal the image:


    Dism /Unmount-Image /MountDir:C:\test\offline /Commit


    [​IMG]

    Now we need to install a Windows 7 VM/PC with this image to finish the outstanding servicing actions and install the other updates.

    Do this either by hand or using your favorite deployment tool.
    After the image is installed we should see the following (SP1 + KB3020369 + KB3125574 only):


    C:\Windows\system32>Dism /Online /Get-Packages


    Deployment Image Servicing and Management tool
    Version: 6.1.7600.16385
    Image Version: 6.1.7601.23403
    Packages listing:
    Package Identity : Package_for_KB3020369~31bf3856ad364e35~amd64~~6.1.1.1
    State : Installed
    Release Type : Update
    Install Time : 11/4/2016 12:29 AM
    Package Identity : Package_for_KB3125574~31bf3856ad364e35~amd64~~6.1.4.4
    State : Installed
    Release Type : Update
    Install Time : 11/4/2016 12:29 AM
    Package Identity : Package_for_KB976902~31bf3856ad364e35~amd64~~6.1.1.17514
    State : Installed
    Release Type : Update
    Install Time : 11/21/2010 3:01 AM
    Continue to install updates 3-5 using the DISM commands below:


    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3177467-x64.cab

    [​IMG]

    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3172605-x64.cab


    [​IMG]

    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3179573-x64.cab


    [​IMG]



    Step 6, which is installing IE11, is optional, in case you have business critical applications that are dependent on an older Internet Explorer version. The security-only, monthly rollup, and preview rollup will not install or upgrade to these versions of Internet Explorer if they are not already present, so we will install IE11 next, before we apply the monthly rollup.
    This will be the IE version installed, if we do not upgrade it:


    [​IMG]


    The last update to install is KB3185330, at the moment of writing this guide, in the future just replace it with the latest monthly/preview rollup, found on the page below:


    Windows 7 SP1 and Windows Server 2008 R2 SP1 update history
    https://support.microsoft.com/en-us/help/22801/windows-7-and-windows-server-2008-r2-update-history


    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3185330-x64.cab



    [​IMG]


    Now we can search online for the remainder of the updates or just capture the image after generalizing it, if we to finish as fast as possible.
    Online search results after the above updates (34/39 optional updates are language packs):


    [​IMG]


    --
    TL;DR version:

    Download the updates:
    http://www.catalog.update.microsoft.com/Search.aspx?q=3020369
    http://www.catalog.update.microsoft.com/Search.aspx?q=3125574
    http://www.catalog.update.microsoft.com/Search.aspx?q=3177467
    http://www.catalog.update.microsoft.com/Search.aspx?q=3172605
    http://www.catalog.update.microsoft.com/Search.aspx?q=3179573
    http://www.catalog.update.microsoft.com/Search.aspx?q=2841134
    http://www.catalog.update.microsoft.com/Search.aspx?q=3185330


    Extract CAB files from MSU:


    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3020369-x64_5393066469758e619f21731fc31ff2d109595445.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3125574-v4-x64_2dafb1d203c8964239af3048b5dd4b1264cd93b9.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3177467-x64_42467e48b4cfeb44112d819f50b0557d4f9bbb2f.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3172605-x64_2bb9bc55f347eee34b1454b50c436eb6fd9301fc.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3179573-x64_0ec541490b3f7b02e41f26cb2c444cbd9e13df4d.msu C:\files\Window7MediaRefresh\CABs

    expand -f:* C:\files\Window7MediaRefresh\AMD64-all-windows6.1-kb3185330-x64_8738d0ef3718b8b05659454cff898e8c4f0433d7.msu C:\files\Window7MediaRefresh\CABs


    Mount the image:
    Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:”Windows 7 ENTERPRISE” /MountDir:C:\test\offline


    Install the first two updates offline:
    Dism /Image:C:\test\offline /Add-Package /PackagePath:C:\files\Window7MediaRefresh\CABs\Windows6.1-KB3020369-x64.cab

    Dism /Image:C:\test\offline /Add-Package /PackagePath:C:\files\Window7MediaRefresh\CABs\Windows6.1-KB3125574-v4-x64.cab


    Unmount and commit the changes to the install.wim file:
    Dism /Unmount-Image /MountDir:C:\test\offline /Commit


    Install a reference machine with the above install.wim file and continue to install the updates:
    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3177467-x64.cab

    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3172605-x64.cab

    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3179573-x64.cab

    Dism /Online /Add-Package /PackagePath:C:\temp\Windows6.1-KB3185330-x64.cab


    Search online to install the remainder of the updates.
    Sysprep the newly patched machine and capture an updated wim file.


    Source:
    https://blogs.technet.microsoft.com/astoica/2017/01/03/windows-7-refreshed-media-creation/
     
  2. Watcher

    Watcher Ancient Guru

    Messages:
    2,695
    Likes Received:
    367
    GPU:
    Asus Dual RX6700 XT
    Good Guide, A little long in the tooth.

    I'm surprised that Windows 7 Slip Steaming utilities were not mentioned which could be used once you download the updates manually.
     
  3. Extraordinary

    Extraordinary Guest

    Messages:
    19,558
    Likes Received:
    1,636
    GPU:
    ROG Strix 1080 OC
    Yea getting on a bit, but as some people still run 7, and as MS destroyed Win 7's Windows Update, thought it might be useful

    Personally I think MS are taking the p*ss a bit by not fixing WU in 7, whether I use it or not, if I'd bought 7 I wouldn't be impressed
     
  4. jbmcmillan

    jbmcmillan Guest

    Messages:
    2,760
    Likes Received:
    277
    GPU:
    Gigabyte G1 GTX970
    Jeez I don't think I'd bother with all of that unless I didn't have a job. lol
     

  5. KissSh0t

    KissSh0t Ancient Guru

    Messages:
    13,836
    Likes Received:
    7,594
    GPU:
    ASUS 3060 OC 12GB
    I love that they haven't even acknowledged it as a widespread issue in the first place... at least not that I'm aware of.

    If they acknowledge it they would have to fix it, so they haven't which lets them not fix it......

    idk.... I'm so sick of Microsoft's actions.
     
  6. Extraordinary

    Extraordinary Guest

    Messages:
    19,558
    Likes Received:
    1,636
    GPU:
    ROG Strix 1080 OC
    I know, everything I've read just says Manually install these updates in this order... - why should we have to fix their bodge job?

    If I bought a car that wouldn't start and the company told me just to push it down the street and bump start it each morning, I wouldn't be best pleased
     
  7. Extraordinary

    Extraordinary Guest

    Messages:
    19,558
    Likes Received:
    1,636
    GPU:
    ROG Strix 1080 OC
  8. Extraordinary

    Extraordinary Guest

    Messages:
    19,558
    Likes Received:
    1,636
    GPU:
    ROG Strix 1080 OC
    Holy crap, it works

    [​IMG]
     
  9. Watcher

    Watcher Ancient Guru

    Messages:
    2,695
    Likes Received:
    367
    GPU:
    Asus Dual RX6700 XT
    Well that's a whole new ball game.

    If you are looking for a utility to update Windows then WSUS Offline Update would be a tool that you can use whether Windows updater is working or not!

    http://www.wsusoffline.net/

    http://www.wsusoffline.net/docs/

    http://www.softpedia.com/get/Others/Signatures-Updates/ct-Offline-Update.shtml

    http://www.majorgeeks.com/WSUS_Offline_Update_d6722.html

    Program description from Softpedia.

     
    Last edited: Jan 7, 2017

Share This Page