Comments on: Deep Dive Maintaining the WSUS Catalog by Declining Updates for Better Update Scanning https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning Just Another SCCM Blogger Tue, 11 Jan 2022 10:32:55 +0000 hourly 1 https://wordpress.org/?v=6.7 By: John Barneveld https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-4948 Tue, 11 Jan 2022 10:32:55 +0000 https://setupconfigmgr.com/?p=27895#comment-4948 In reply to John Barneveld.

The expired updates are now removed. I gues s i just had to wait one day 🙂

]]>
By: John Barneveld https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-4946 Mon, 10 Jan 2022 15:02:01 +0000 https://setupconfigmgr.com/?p=27895#comment-4946 In reply to John Barneveld.

And another issue…my expired updates are not removed. I ran the script Adjust-WSync_UpdateCleanupAge and fill in my server name en site code. i ran the script with servername and site code. I changed the sync shedule from my sup to start syncing in 5 minutes (which happen) i checked that there are no expired updates in in SUG (which are not) i ran the script Invoke-DGASoftwareUpdateMaintenance with the -force option (because it already run this day) i used you config.ini file

What am i missing and why are the expired updates still showing up ?

a lot of question and i apologise for any inconvienance.

]]>
By: John Barneveld https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-4945 Mon, 10 Jan 2022 13:44:50 +0000 https://setupconfigmgr.com/?p=27895#comment-4945 In reply to John Barneveld.

To makes things clear, we do support windows 11 but only enterprise

]]>
By: John Barneveld https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-4944 Mon, 10 Jan 2022 13:43:19 +0000 https://setupconfigmgr.com/?p=27895#comment-4944 Hi Justin ,

Implemented this in my test environment.
I have a lot lesser ugrades in my windows 10 servicing plan. I went from 2438 to 82 🙂
Problem nos is as follows ….76 of them are windows 11 upgrades (business edition) and windows 11 (consumer editions) in various languages. How do i get rid of them with the scripts you described

]]>
By: Justin Chalfant https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-3754 Sun, 08 Aug 2021 16:59:32 +0000 https://setupconfigmgr.com/?p=27895#comment-3754 In reply to Alvaro Souza.

I’m planning on making an updated video for WSUS maintenance soon. TBH, I would just use the built-in feature at this point: https://docs.microsoft.com/en-us/troubleshoot/mem/configmgr/wsus-maintenance-guide

]]>
By: Alvaro Souza https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-3410 Fri, 28 May 2021 08:55:55 +0000 https://setupconfigmgr.com/?p=27895#comment-3410 Hello Justin,

I’d like to know how I can use the config.ini file

Thanks a lot

]]>
By: Justin Chalfant https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1208 Wed, 27 May 2020 10:55:43 +0000 https://setupconfigmgr.com/?p=27895#comment-1208 In reply to Henri.

The built-in maintenance will probably work fine now https://docs.microsoft.com/en-us/mem/configmgr/sum/deploy-use/software-updates-maintenance

]]>
By: Henri https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1184 Sat, 02 May 2020 10:00:43 +0000 https://setupconfigmgr.com/?p=27895#comment-1184 In reply to Henri.

Which topics in this video do you recommend still to be done?

]]>
By: Henri https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1183 Sat, 02 May 2020 09:57:30 +0000 https://setupconfigmgr.com/?p=27895#comment-1183 Apparently most tasks have been implemented in SCCM from version 1906 and newer, except re-indexing the WSUS database according to this article, or am I mistaken?
https://support.microsoft.com/en-us/help/4490644/complete-guide-to-microsoft-wsus-and-configuration-manager-sup-maint

]]>
By: Rodney Forrest Jr https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1171 Wed, 15 Apr 2020 19:44:23 +0000 https://setupconfigmgr.com/?p=27895#comment-1171 In reply to Rodney Forrest Jr.

I got it working, crazy my runas account lost is rights..

]]>
By: Rodney Forrest Jr https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1170 Wed, 15 Apr 2020 19:41:09 +0000 https://setupconfigmgr.com/?p=27895#comment-1170 I am seeing this error now, it looks like it start a few months ago in my lab, The site code *** could not be found. Invoke-DGASoftwareUpdateMaintenance 4/15/2020 2:39:18 PM 4156 (0x103C)

]]>
By: Justin Chalfant https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1159 Thu, 02 Apr 2020 13:52:24 +0000 https://setupconfigmgr.com/?p=27895#comment-1159 In reply to Paul.

I have noticed it can take a few syncs now to purge. I think there was a code-change maybe that affected the wscynmgr thread, because I know it used to always be almost immediate.

]]>
By: Paul https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1084 Tue, 04 Feb 2020 13:30:04 +0000 https://setupconfigmgr.com/?p=27895#comment-1084 In reply to Paul.

Regarding my VB script issue – it resolved itself. The updates purged but took several hours. Still better than waiting 7 days though!

]]>
By: Paul https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-1083 Mon, 03 Feb 2020 19:40:12 +0000 https://setupconfigmgr.com/?p=27895#comment-1083 I posted this comment on the Youtube video but am also posting it here in case it isn’t seen 🙂

Thanks for the great guides! I have a question I’m hoping you can help with.

I ran the VB script you provided to change the wsyncmgr expired purge time from 7 days to 0 days (after putting in my server’s FQDN and site code). Next, I declined an update in WSUS, saw that it was expired in ConfigMgr, and scheduled a full SUP sync. The expired update is still showing in ConfigMgr and wsyncmgr doesn’t show any sign of this update being deleted.

Have you seen this problem before?

Can I ask where this script comes from? I cant find much documentation on it and am wondering if it’s supported with ConfigMgr 1910.

Hoping you can help as it’s a bit annoying waiting 7 days for expired updates to purge from the ConfigMgr console.

]]>
By: RM https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-832 Wed, 26 Jun 2019 13:46:10 +0000 https://setupconfigmgr.com/?p=27895#comment-832 In reply to RM.

I think i may know the answer. I assume you remove the product in question from the decline script I just want to be sure . Thanks

]]>
By: Justin Chalfant https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-831 Tue, 25 Jun 2019 23:57:25 +0000 https://setupconfigmgr.com/?p=27895#comment-831 In reply to RM.

Right-click approve then leave the computer group(s) not selected.

]]>
By: RM https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-830 Tue, 25 Jun 2019 23:25:55 +0000 https://setupconfigmgr.com/?p=27895#comment-830 Hi Justin and thank you for this. If you decline anything how can you reverse it? Say I want to decline a specific language then later on it is required.

Thanks

]]>
By: Dmitriy https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-737 Tue, 09 Apr 2019 08:41:59 +0000 https://setupconfigmgr.com/?p=27895#comment-737 In reply to Justin Chalfant.

Yes, I did.

]]>
By: Justin Chalfant https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-733 Mon, 08 Apr 2019 21:06:47 +0000 https://setupconfigmgr.com/?p=27895#comment-733 In reply to Dmitriy.

Did you replace the sitecode and server in the script?

]]>
By: Dmitriy https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-731 Mon, 08 Apr 2019 13:34:22 +0000 https://setupconfigmgr.com/?p=27895#comment-731 Hello,

I’m trying to use Adjust-WSync_UpdateCleanupAge.vbs with SCCM 1810 (5.00.874.1033) and receiving the error:
‘Failed to open desired object with error code -2147217379 (Unexpected error). Aborting!’

]]>
By: Bryan Dam https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-665 Mon, 25 Feb 2019 02:05:50 +0000 https://setupconfigmgr.com/?p=27895#comment-665 Honestly, no real idea since I don’t have any non-English udpates left. Keep in mind two things though.
First: That array is only used for Stand-Alone WSUS environment. If you have ConfigMgr it will grab the languages from there.
Second: This only applies to Windows 10 updates.

The logic there is really quite simple so it shouldn’t be overly hard to troubleshoot. The script is filtering on Win 10 updates then looping through each supported language to see if it’s on the list.

]]>
By: Justin Chalfant https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-664 Mon, 25 Feb 2019 00:15:11 +0000 https://setupconfigmgr.com/?p=27895#comment-664 In reply to TonyTheTig25.

Just pinged Bryan to see if he can chime in on this question.

]]>
By: TonyTheTig25 https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-663 Sun, 24 Feb 2019 23:59:38 +0000 https://setupconfigmgr.com/?p=27895#comment-663 Hi Justin,

I am only able to keep English language updates. I have the array setup as this $SupportedUpdateLanguages=@(“en”,”de”,”zh”,”jp”,”all”) . Then run the script using the whatif parameter to see what is being declined. What I’m I doing wrong?

]]>
By: Justin Chalfant https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-589 Thu, 07 Feb 2019 20:06:26 +0000 https://setupconfigmgr.com/?p=27895#comment-589 In reply to ButcherFromLeverne.

I think once a week would probably be fine.

]]>
By: ButcherFromLeverne https://setupconfigmgr.com/deep-dive-maintaining-the-wsus-catalog-by-declining-updates-for-better-update-scanning#comment-588 Thu, 07 Feb 2019 19:54:53 +0000 https://setupconfigmgr.com/?p=27895#comment-588 Hi Justin,

Quick question about the Re-index the WSUS 3.0 Database script you ran on SQL. You mentioned that you could set this up as a maintenance plan. Wondering what you recommend for how often to run that?

]]>