Friday, May 17, 2013

Locating a broken Software Update package


Onsite complains that the machine hangs when installing patches during imaging (or all machines for a given patch).  It could also be that the user has the dialog box for Software Update but it continually says "failed"


1. Location the machine name
2. Open Status Messages for the given machine.  Locate the patch that failed, assuming the status message was sent back. 
    In 2007: System Status -> Status Message Queires - > all Status Message from a specific Machine
    in 2012: Monitoring Pane -> All Status Messages from a Specific System
3. Type in the machine name, time range and select OK.  A faster way is a right click tool I created a while back ( I don't have this in 2012 yet.  I need to also update my tools site to support 2012, look for the changes.

Locate this line:

Bundle update "93fa39c7-1f23-4549-b3ba-71021177bcc4" failed to get content for update "2cefe0ef-f4e1-4c3d-97f9-10a608c46c52". Please check the enforcement status of update "2cefe0ef-f4e1-4c3d-97f9-10a608c46c52" to get further details. The operating system reported error 2147500036: Operation aborted
If we pull the updateid "2cefe0ef-f4e1-4c3d-97f9-10a608c46c52" you can hunt for the specific update.  In this case you need to open your Content Location folder and search your Microsoft Updates for the folder..
Here we can see this is from the Q2 updates for the 2013 patches from the year of 2013. 
From here there are several things you can do:
1. remove the update frrom the DP and then repush
2. Refresh the package on the DP.
3. Delete the update and redownload (Provision) it from Microsoft and repush.
The end result should be the same.  Hopefully you can back track the bad update and fix it.
Note:  This assume you have already determined there are problems with the source and not the machine.  This can be determined by uninstalling the update from a machine and attempting to reinstall it or seeing all machines pulling from the given DP with errors.