Author Topic: Third-party updates installation times  (Read 178 times)

Offline brandonm

  • Newbie
  • *
  • Posts: 7
    • View Profile
Third-party updates installation times
« on: November 18, 2020, 07:53:07 AM »
I doubt this is anything specific to Patch My PC, but I've noticed that it seems to take much longer for ConfigMgr clients to install third-party updates than it does to install Microsoft updates on my computers. More specifically, it seems to take longer to start the installation. For example, if I initiate an installation of several Microsoft updates and several Patch My PC updates, the Microsoft updates will begin to install and finish much quicker than third-party (Patch My PC) updates to start and finish. Is this typical? I perform regular database maintenance on the SUSDB, such as deleting obsolete updates and declining updates that I do not need. I know when unused updates build up in the database, it can cause clients to take a long time to scan.

The only thing I can see going on while the client is waiting to start the installation of an update is the WmiPrvSE.exe being highly active. Once the installation starts, it pretty much goes idle. I know the client uses WMI host for much of its work. What is it doing when it goes to install these updates? Is it scanning all updates every time it install a third-party update? If so, why does it not seem to do this for Microsoft updates? I have also looked at scanagent.log and UpdatesHandler.log and there doesn't seem to be a too much going on in there during this time.

Offline Andrew Jimenez

  • Patch My PC - Support Engineer
  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Third-party updates installation times
« Reply #1 on: November 18, 2020, 10:44:53 AM »
This may be related to this issue: https://patchmypc.com/third-party-updates-fail-to-download-in-configmgr-1910-if-download-delta-update-enabled-and-client-is-using-cloud-management-gateway-cmg-0x80d02002 we've seen this happen both on and off CMG, 3rd party patches may still try to download content and timeout which may account for the long delay. They won't necessarily fail, but will take time as they search for the correct content. That is the only thing that comes to mind at this point.

Offline brandonm

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Third-party updates installation times
« Reply #2 on: November 18, 2020, 10:53:06 AM »
Thanks Andrew. I just checked my Client Settings and we do not have the setting "Allow clients to download delta content when available" enabled.

Offline Andrew Jimenez

  • Patch My PC - Support Engineer
  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Re: Third-party updates installation times
« Reply #3 on: November 18, 2020, 11:01:46 AM »
Interesting. The WindowsUpdate.log may shed more light on this as well.

Offline brandonm

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Third-party updates installation times
« Reply #4 on: November 18, 2020, 11:25:46 AM »
Thanks again. I will take a look at WindowsUpdate.log when I get a chance to do some testing.

Offline Cody Mathis

  • Administrator
  • Jr. Member
  • *****
  • Posts: 60
    • View Profile
Re: Third-party updates installation times
« Reply #5 on: November 18, 2020, 11:30:46 AM »
Is this issue for all clients? Or are you noticing it on clients over the CMG / IBCM?

There is generally not anything special going on specifically for third party updates. We have seen this delay happen though if you also have the Dell, Lenovo, or HP driver catalogues in place. They have very complicated applicability rules and can greatly increase CPU load / scan time.

Offline brandonm

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Third-party updates installation times
« Reply #6 on: November 18, 2020, 12:05:30 PM »
Thanks Cody. This is good to know. I do have catalogs enabled for Adobe, Dell and HP. I am going to disable Adobe and HP and see if that makes a difference. We no longer need Adobe because of PMP and we are phasing out HP, so don't need that either. I had already disabled SUP sync for those Products some time ago, so I guess there is not point in having Catalogs enabled.

As for the issue, I have not confirmed the extent as we have only recently started using third-party patching a great deal now that we have PMP. I have only seen this on my test computers as well as my workstation. It is not of concern yet as we are slowly rolling out third-party updates available from PMP. But as we add more products, it may cause total patch times to increase. We do have a pretty generous maintenance window for our workstations, so I am not too concerned at tis time.
We are not using any cloud or internet based management yet, but that may be something to consider in the future. We only have on-premise management and have recently started evaluating Co-management.
« Last Edit: November 18, 2020, 12:14:35 PM by brandonm »

Offline Cody Mathis

  • Administrator
  • Jr. Member
  • *****
  • Posts: 60
    • View Profile
Re: Third-party updates installation times
« Reply #7 on: November 18, 2020, 12:30:56 PM »
If do you remove the Adobe and HP catalog I would recommend you decline the updates for them as well to ensure they are not scanned against by clients anymore.

Offline brandonm

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Third-party updates installation times
« Reply #8 on: November 18, 2020, 12:57:02 PM »
Thanks. I have already declined and purged those from the database back when I stopped syncing them. I am well familiar with the misery of WSUS's terrible database housekeeping lol. I had to work with Microsoft support because SCCM syncs were failing. It took me about a week of running the spGetObsoleteUpdatesToCleanup + spDeleteUpdate stored procedures just to get WSUS functional. Unless something has changed in newer versions, WSUS built-in maintenance doesn't delete obsolete updates from the database; only the files on disk. I have a SQL job that runs those SPs weekly and it has kept performance pretty optimal.

Offline deolsunny533

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Third-party updates installation times
« Reply #9 on: November 24, 2020, 07:14:31 AM »
Damm even I am having a similar kind of issue, I have searched all over the internet and even have posted on number of threads on different forum, no solution seems to work. I am really frustrated, can anyone of you here help me resolve this issue, I am very much tired now.

Offline Cody Mathis

  • Administrator
  • Jr. Member
  • *****
  • Posts: 60
    • View Profile
Re: Third-party updates installation times
« Reply #10 on: November 24, 2020, 09:23:05 AM »
If you are experiencing this issue I would encourage you to submit a support case so we can look into what might be happening.

https://patchmypc.com/technical-support