How to Retry Failed Software Updates

Im fairly new to SCCM and Im using SCCM 2012 SP1 CU1. I have about 1,000 clients and have a maintenance window of three hours. I need to have the clients patched, rebooted and have the report updated in that timeframe. I have a two software updates collections, one for legacy patches from 2007 1-1-2012 and a second collection for Current Patches 1-1-2013 Present. Im finding when I deploy these patches to clients most are succeed but some patches fail. The client reboots and Im left with several failed patches leaving the client non-compliant.  

My question is how can I get these patches to retry the install? If I log onto the client and manually retry the install they usually are successful and even if one or two fail again, I usually rerun them and it installs.

To try to resolve this, Ive set up a separate software deployment that has a deadline of one hour later than the first, but this does not seem to kick off. Im looking to the community to see how others are dealing with this situation.  

December 9th, 2013 1:40am

Your systems will check for new updates and compliance on your scheduled interval.  (Determined by your client settings)  If you need to force the behavior, install the SCCM right-click tools.  http://gallery.technet.microsoft.com/RIGHT-CLICK-TOOLS-FOR-SCCM-5d8541b5

Find you client, right click, and force a software update scan.  Or, just let your clients scan at the next interval. 

Also, to answer your question on how I deal with it, I let the maintenance window pick up the next run.  If an update fails, it is probably because of a program blocking the install, something in progress, or an unneeded update.  They will rectify on the next cycle. 

Free Windows Admin Tool Kit Click here and download it now
December 9th, 2013 2:44am

Thanks for the reply. I use the right click tools now, but I'm trying to have this process as automated as possible.

What happens if one of the patches fail? If the MW is still open and the Schedule Deployment Re-Evaluation runs and detects that the client is not "compliant" shouldn't the path cycle run again and retry the failed patch?

I'm setting up a new test with the following settings.

_______________________________________________________________________________________

* Create a collection that contains the target clients.

* Create a custom client settings policy that has the Schedule Deployment Re-Evaluation changed from every 7 days (default) to every 15 minutes. This policy is deployed to the target collection.

* Set the MW for today at 1:00 PM until 3:00 PM (we usually only get 2 hrs in production)

* Create a Software Update deployment that is Required, Available as soon as possible, and has the Deadline set to as soon as possible. My thought is that as soon as the window opens, the patches will install.

_______________________________________________________________________________________

December 9th, 2013 4:56pm

In that case, I would probably package up a script to force the scan cycle.  Maybe an interval would work or you could manually deploy as needed.  See:

http://gallery.technet.microsoft.com/Initiate-Software-Updates-6471816e

Free Windows Admin Tool Kit Click here and download it now
December 9th, 2013 5:21pm

Thank you, I've been using a combination of the following scripts being triggered by a task sequence running every hour, but I'll do this test with the .VBS you provided.

# Update SCCM Scan Agent

WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE

# Update SCCM Updates Deployment Agent

WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000108}" /NOINTERACTIVE

December 9th, 2013 5:34pm

Hi,

Since there is no issue, i will close this thread. If you need some further assistance, you could open it or create a new one.

Free Windows Admin Tool Kit Click here and download it now
December 13th, 2013 8:25am

Hi team,

My problem is related but quite opposite, please follow this link

https://social.technet.microsoft.com/Forums/en-US/f96d890d-e9e8-4809-ae2d-550dd870f49f/how-to-stop-failed-updates-while-trying-to-re-install-from-sccm-server?forum=configmanagersecurity

Thanks in Advance,

Theja


  • Edited by NTRao 22 minutes ago
May 4th, 2015 3:22am

Hi team,

My problem is related but quite opposite, please follow this link

https://social.technet.microsoft.com/Forums/en-US/f96d890d-e9e8-4809-ae2d-550dd870f49f/how-to-stop-failed-updates-while-trying-to-re-install-from-sccm-server?forum=configmanagersecurity

Thanks in Advance,

Theja


  • Edited by NTRao 20 minutes ago
Free Windows Admin Tool Kit Click here and download it now
May 4th, 2015 3:23am

Hi team,

My problem is related but quite opposite, please follow this link

https://social.technet.microsoft.com/Forums/en-US/f96d890d-e9e8-4809-ae2d-550dd870f49f/how-to-stop-failed-updates-while-trying-to-re-install-from-sccm-server?forum=configmanagersecurity

Thanks in Advance,

Theja


  • Edited by NTRao Monday, May 04, 2015 7:24 AM
May 4th, 2015 7:21am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics