This project has moved. For the latest updates, please go here.

Deploy custom update with Flash update modifications

Topics: Publishing Issue
Aug 27, 2015 at 3:22 AM
Hi,

So I've deployed the Adobe Flash updates via the catalog and thats all working great! "Thanks!" But now I want to adjust a few options like turning off the update settings in flash by disabling the "Adobe Flash Player Update Service" etc and modifying the "mms.cfg" file in "C:\Windows\SysWOW64\Macromed\Flash"

What I also want to do is track these customisations and if I later want to change them I can release an updated "Flash Customisation" update so I'm also trying to add a new RegKey and Value so I can use some RegKey exists rules in my installed / installable rules in the the update creation wizard.

My custom update simple stops a service, disables a service, adds a regkey, adds a regvalue for the version number of my customisation, copys the mms.cfg file to mms.bak and create a new one with some settings.

The update appears as I would expect on my test machine but fails to install with error: Code 80072EE2

The logs in WindowsUpdate.log show this:
2015-08-27 14:01:01:150 952 a94 Agent * Added update {6CE2B24C-3140-4327-B8C2-8FD7FB01D1C0}.3 to search result
2015-08-27 14:01:01:150 952 a94 Agent * Added update {CE726850-141F-4D1C-9D66-F0081572556A}.1 to search result
2015-08-27 14:01:01:150 952 a94 Agent * Found 2 updates and 81 categories in search; evaluated appl. rules of 498 out of 1062 deployed entities
2015-08-27 14:01:01:150 952 a94 Agent *********
2015-08-27 14:01:01:150 952 a94 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2015-08-27 14:01:01:150 952 a94 Agent *************
2015-08-27 14:01:01:150 952 774 AU >>## RESUMED ## AU: Search for updates [CallId = {0CC16DD2-477E-461E-A8D6-275E06DD8D8E}]
2015-08-27 14:01:01:150 952 774 AU # 2 updates detected
2015-08-27 14:01:01:150 952 774 AU #########
2015-08-27 14:01:01:150 952 774 AU ## END ## AU: Search for updates [CallId = {0CC16DD2-477E-461E-A8D6-275E06DD8D8E}]
2015-08-27 14:01:01:150 952 774 AU #############
2015-08-27 14:01:01:150 952 774 AU Featured notifications is disabled.
2015-08-27 14:01:01:150 952 774 AU Successfully wrote event for AU health state:0
2015-08-27 14:01:01:150 952 a94 Report REPORT EVENT: {390F8282-AB56-4BC9-9931-6EAB5DA20C25} 2015-08-27 14:00:56:869+1200 1 161 101 {CE726850-141F-4D1C-9D66-F0081572556A} 1 80072ee2 AutomaticUpdatesWuApp Failure Content Download Error: Download failed.
2015-08-27 14:01:01:166 952 774 AU Successfully wrote event for AU health state:0
2015-08-27 14:01:01:166 952 a94 Report CWERReporter::HandleEvents - WER report upload completed with status 0x8
2015-08-27 14:01:01:166 952 a94 Report WER Report sent: 7.6.7600.256 0x80072ee2 CE726850-141F-4D1C-9D66-F0081572556A Download 101 Managed
2015-08-27 14:01:01:166 952 a94 Report CWERReporter finishing event handling. (00000000)
2015-08-27 14:01:01:166 952 9c8 AU Getting featured update notifications. fIncludeDismissed = true
2015-08-27 14:01:01:166 952 9c8 AU No featured updates available.
2015-08-27 14:01:06:166 952 a94 Report CWERReporter finishing event handling. (00000000)
2015-08-27 14:01:14:275 952 870 AU Launched new AU client for directive 'Download Progress', session id = 0x2
2015-08-27 14:01:14:275 596 360 Misc =========== Logging initialized (build: 7.6.7600.256, tz: +1200) ===========
2015-08-27 14:01:14:275 596 360 Misc = Process: C:\Windows\system32\wuauclt.exe
2015-08-27 14:01:14:275 596 360 AUClnt Launched Client UI process
2015-08-27 14:01:14:291 596 360 Misc =========== Logging initialized (build: 7.6.7600.256, tz: +1200) ===========
2015-08-27 14:01:14:291 596 360 Misc = Process: C:\Windows\system32\wuauclt.exe
2015-08-27 14:01:14:291 596 360 Misc = Module: C:\Windows\system32\wucltux.dll
2015-08-27 14:01:14:291 596 360 CltUI AU client got new directive = 'Download Progress', serviceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, return = 0
2015-08-27 14:01:22:509 952 854 DnldMgr Error 0x80072ee2 occurred while downloading update; notifying dependent calls.
2015-08-27 14:01:22:509 952 774 AU AU checked download status and it changed: Downloading is paused
2015-08-27 14:01:22:509 596 360 CltUI AU client got new directive = 'Shutdown', serviceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}, return = 0
2015-08-27 14:01:22:525 952 870 AU AU received handle event
2015-08-27 14:13:40:033 952 a94 Report Uploading 5 events using cached cookie, reporting URL = https://wsus.modrus.net/ReportingWebService/ReportingWebService.asmx
2015-08-27 14:13:41:877 952 a94 PT WARNING: ReportEventBatch failure, error = 0x8024400D, soap client error = 7, soap error code = 300, HTTP status code = 200
2015-08-27 14:13:41:877 952 a94 PT WARNING: SOAP Fault: 0x00012c
2015-08-27 14:13:41:892 952 a94 PT WARNING: faultstring:Fault occurred
2015-08-27 14:13:41:892 952 a94 PT WARNING: ErrorCode:ConfigChanged(2)
2015-08-27 14:13:41:892 952 a94 PT WARNING: Message:(null)
2015-08-27 14:13:41:892 952 a94 PT WARNING: Method:"http://www.microsoft.com/SoftwareDistribution/ReportEventBatch"
2015-08-27 14:13:41:892 952 a94 PT WARNING: ID:0bb03b45-4ed0-4da3-8c24-294b00332302
2015-08-27 14:13:41:892 952 a94 Report WARNING: Reporter failed to upload events with hr = 8024400d.

Am I going about this in the wrong way? Are there other logs I need to look at? How else might I disable flash updates without messing with the catalog updates from Adobe as it takes so much time to create custom updates I want to try and make this as easy to maintain as possible.

Thanks again for the great product!
Mark,
Editor
Aug 28, 2015 at 6:40 AM
Hi,

Easiest way would be gpo configuration. Disable the update service, copy the cfg file and delete the update task.

Regards
Norbert
Aug 31, 2015 at 12:25 AM
Edited Aug 31, 2015 at 5:22 AM
Hi NorbertFe,

Unfortunately thats not such an easy option for me as this WSUS server is serving over 50 domains so I'm trying to do all the config in WPP.

I'm going to try and break down the task into 1 regedit, one file system change and one service change and see which of those 3 work or fail and go from there.

Thanks
Mark
Aug 31, 2015 at 5:59 AM
So I think I might be getting somewhere with this. So far I have this:

Custom update with the following steps:
  • Stop service AdobeFlashPLayerUpdateSvc
  • Pause 3 seconds
  • disable service AdobeFlashPLayerUpdateSvc
  • Add a registry key - I'm setting a new key in HKLM\Software so I can track my deployments and make it easier with my installed/installable rules used later
  • Add registry value - As above, for the value I'm using "FlashCustomisationVer" Value "1"
  • Modify registry value - Again same as above - not had time to test what happens if its already there so played it safe
  • Delete file - C:\Windows\SysWOW64\Macromed\Flash\mms.cfg
  • Pause 5 seconds
  • Create file - C:\Windows\SysWOW64\Macromed\Flash\mms.cfg - Content "AutoUpdateDisable=1"
What I still need to see is if I can remove that scheduled task Flash adds but I'm hoping the above will be enough, also I wanted to add a 2nd line into the new cfg file but if you just create a new line in the custom update editor there no new line in the file and its append. I'll test this more when I get a chance.

My installed/installable rules are then just:
RegSz Key - my custom key > Comparison EqualTo Data=1 with RegType32=Ture
RegSz Key - my custom key > Comparison EqualTo Data=1 with Reverse Rule=Ture, RegType32=Ture

Hopefully this might help someone else, if anyone has any ideas on improvements they would be greatly received.

Thanks
Mark
Coordinator
Sep 6, 2015 at 5:36 PM
Hi, your WindowsUpdate.log is full of error :
  • 80072ee2 AutomaticUpdatesWuApp Failure Content Download Error: Download failed.
  • Error 0x80072ee2 occurred while downloading update; notifying dependent calls.
  • error = 0x8024400D, soap client error = 7, soap error code = 300, HTTP status code = 200
Looks like you have big problems with your wsus !!!