locked
Microsoft Hotfixes extremely long install time RRS feed

  • Question

  • I'm installing 4 hotfixes during my imaging Task Sequence with the following arguments:

    wusa.exe Windows6.1-KB2459530-v3-x64.msu /quiet /norestart

    I notice each update will restart the computer after each hotfix and each installation can take 5-7 minutes.

    Why is it restarting after each and why the delay?

    Tuesday, April 24, 2012 4:38 PM

Answers

  • This worked:

    http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/5a4a4dc7-845a-41d5-8694-95c3da38578f

    • Marked as answer by Enten Wednesday, April 25, 2012 2:55 PM
    Wednesday, April 25, 2012 2:55 PM

All replies

  • Are you running these using a run command line task or software package?

    If either return a return code of 3010 during a ts (which means success but reboot needed), the ts engine will reboot the system.

    If you move these to a batch file and ensure 0 is returned from the batch file, you will be able to prevent the reboot.

    Can't help you on the install time specifically. Have you reviewed the WindowsUpdate.log and event logs on the system -- specifically the Setup event log?


    Jason | http://blog.configmgrftw.com | Twitter @JasonSandys


    Tuesday, April 24, 2012 5:44 PM
  • I'm running these as software packages.  The only 3010 I see is Bitlocker related in the smsts.log:

    "Action command line: OSDBitLocker.exe /disable"

    "SuccessCodeList: 0 3010"

    How can I ensure a 0 return code with a batch file?

    Just throw all my wusa.exe commands into a batch file and have the TS point to the package that holds the source?

    Tuesday, April 24, 2012 7:53 PM
  • That 3010 you see is just the configuration of the task (if you open the options of a run command-line task, you'll see that listed there).

    Yes to your last question. As long as no error occur in the batch file itself, it should return an error code of 0. You can force this by using exit /b 0: http://www.robvanderwoude.com/exit.php.


    Jason | http://blog.configmgrftw.com | Twitter @JasonSandys

    Tuesday, April 24, 2012 8:01 PM
  • Hi,

    To add to Jason correct answer I use a script like this one: http://ccmexec.com/2012/02/installing-multiple-windows-7-hotfixes-msu-with-sccm/

    To be able to install multiple hotfixes and control restarts and to keep it as simple as possible.

    regards,
    Jörgen


    -- My System Center blog ccmexec.com -- Twitter @ccmexec

    Tuesday, April 24, 2012 10:19 PM
  • This worked:

    http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/5a4a4dc7-845a-41d5-8694-95c3da38578f

    • Marked as answer by Enten Wednesday, April 25, 2012 2:55 PM
    Wednesday, April 25, 2012 2:55 PM