locked
MDT does not install offline patches RRS feed

  • Question

  • Hi guys,

    I have added 4 windows updates to the "packages" folder in MDT.

    These updates are rolls ups for windows 7 x64 so we can speed up the deployment process of our windows 7 machines.

    When the deployment sequence in MDT is happening, the "install offline updates" part is shown for 1 second. So this looks like it is not installing the updates.

    Any idea what might cause this?

    Thanks

    Wednesday, May 18, 2016 11:29 AM

Answers

All replies

  • What information is in ztipatches.log? 
    Wednesday, May 18, 2016 12:47 PM
  • Hi BiAtE-Z

    Here you go...:

    Microsoft Deployment Toolkit version: 6.3.8298.1000 ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    The task sequencer log is located at X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log. ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Write all logging text to \\ant47ut02\DeploymentLogs\ANT47L393 ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Validating connection to \\ant47ut02\DeploymentLogs\ANT47L393 ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Mapping server share: \\ant47ut02\DeploymentLogs ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Already connected to server ant47ut02 as that is where this script is running from. ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    ZTIPatches Entered PREINSTALL state. Deployment Method = UNC ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Operating system being deployed requires amd64 updates. ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Pre-Install setup installation state. ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Load XML.... ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Adding non-language pack entries to unattend.xml ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Open Control File: Packages ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    Found 3 matching non-language pack entries. ZTIPatches 18/05/2016 12:29:43 0 (0x0000)
    No <servicing> node found, adding a new one. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Add package {a449e5ee-2ca5-4498-9e14-43e141d90466} ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Package {a449e5ee-2ca5-4498-9e14-43e141d90466} added. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Add package {b95f5e6b-c00d-4b00-9ff8-741186d3b21a} ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Package {b95f5e6b-c00d-4b00-9ff8-741186d3b21a} added. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Add package {c4b71330-971d-4efe-aa9e-95016cbfd4ef} ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Package {c4b71330-971d-4efe-aa9e-95016cbfd4ef} added. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Ready to Save! ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Adding language pack entries to unattend.xml ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    An existing <servicing> node was found. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Nothing to save, exit. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Language pack entries added to unattend.xml successfully ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    ZTIPatches processing completed successfully. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Event 41001 sent: ZTIPatches processing completed successfully. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Microsoft Deployment Toolkit version: 6.3.8298.1000 ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    The task sequencer log is located at X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Write all logging text to \\ant47ut02\DeploymentLogs\ANT47L393 ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Validating connection to \\ant47ut02\DeploymentLogs\ANT47L393 ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Mapping server share: \\ant47ut02\DeploymentLogs ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Already connected to server ant47ut02 as that is where this script is running from. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    ZTIPatches Entered PREINSTALL state. Deployment Method = UNC ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Operating system being deployed requires amd64 updates. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Pre-Install setup installation state. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Load XML.... ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Adding non-language pack entries to unattend.xml ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Open Control File: Packages ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Found 3 matching non-language pack entries. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    An existing <servicing> node was found. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Add package {a449e5ee-2ca5-4498-9e14-43e141d90466} ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Package {a449e5ee-2ca5-4498-9e14-43e141d90466} added. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Add package {b95f5e6b-c00d-4b00-9ff8-741186d3b21a} ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Package {b95f5e6b-c00d-4b00-9ff8-741186d3b21a} added. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Add package {c4b71330-971d-4efe-aa9e-95016cbfd4ef} ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Package {c4b71330-971d-4efe-aa9e-95016cbfd4ef} added. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Ready to Save! ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Adding language pack entries to unattend.xml ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    An existing <servicing> node was found. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Nothing to save, exit. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Language pack entries added to unattend.xml successfully ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    ZTIPatches processing completed successfully. ZTIPatches 18/05/2016 12:29:44 0 (0x0000)
    Event 41001 sent: ZTIPatches processing completed successfully. ZTIPatches 18/05/2016 12:29:45 0 (0x0000)

    Wednesday, May 18, 2016 3:14 PM
  • ZTIPatches shows that the updates were added to the Unattend.  When the OS is applied these patches are referenced and if they aren't installed panther logs might be interesting: https://technet.microsoft.com/en-us/library/dd744583%28v=ws.10%29.aspx

    If you can post a URL link to the logs that would be helpful. Personally I like to read logs in CMTrace :)


    Many questions such as where do I find logs and what logs are interesting are found in: MDT TechNet Forum - FAQ & Getting Started Guide Please take the time to read it. Also if you don't post logs your problem won't be easily solved.

    • Marked as answer by Ty Glander Wednesday, May 18, 2016 6:23 PM
    Wednesday, May 18, 2016 3:45 PM
  • Thanks for tip...so I thought the updates would get installed during the "installing offline updates" part which is not. There is actually no problem then. I can see that the updates were installed when the deployment finished, doh.


    But I have added a new package now (KB3125574) and the deployment fails after applying dism.exe

    FAILURE ( 5627 ): 14005: Run DISM.exe
    Litetouch deployment failed, Return Code = -2147467259 0x80004005



    Any ideas?
    Wednesday, May 18, 2016 4:56 PM
  • I haven't tested the new patch yet so I am not sure what is going on there.  You could add an install application step post install to add the patch.  Something like:

    wusu.exe blah.msu /quiet /norestart 

    I haven't tested it yet so no idea if things will behave though.

    Or maybe try installing the package by itself.  There might be a restart required (clues in the Panther logs).


    Many questions such as where do I find logs and what logs are interesting are found in: MDT TechNet Forum - FAQ & Getting Started Guide Please take the time to read it. Also if you don't post logs your problem won't be easily solved.


    • Edited by Ty Glander Wednesday, May 18, 2016 5:19 PM
    Wednesday, May 18, 2016 5:16 PM
  • You might have better luck adding the servicing stack update and this update directly to the wim as per: https://blogs.technet.microsoft.com/windowsitpro/2016/05/17/simplifying-updates-for-windows-7-and-8-1/

    Many questions such as where do I find logs and what logs are interesting are found in: MDT TechNet Forum - FAQ & Getting Started Guide Please take the time to read it. Also if you don't post logs your problem won't be easily solved.

    • Marked as answer by Ty Glander Wednesday, May 18, 2016 6:23 PM
    Wednesday, May 18, 2016 5:25 PM
  • dism.log: https://www.dropbox.com/s/oaxrjmjdyxtytr4/dism.log?dl=0

    I will give the wim update a try as well!

    Whats the best practice anyway? Deploying via MDT/Packages or adding it to the WIM?

    Wednesday, May 18, 2016 5:43 PM
  • In this case because of the servicing stack update using packages isn't best practice. Normally it would be however. Or a fully updated reference image.

    Many questions such as where do I find logs and what logs are interesting are found in: MDT TechNet Forum - FAQ & Getting Started Guide Please take the time to read it. Also if you don't post logs your problem won't be easily solved.


    • Edited by Ty Glander Wednesday, May 18, 2016 5:47 PM
    Wednesday, May 18, 2016 5:47 PM
  • Hi all,

    Thanks for all the help - adding the updates into the WIM directly did the trick!

    cheers

    Thursday, May 19, 2016 9:53 AM