Gongalong Posted November 13, 2019 Posted November 13, 2019 Hi folks, Our WSUS is misbehaving - slow, sometimes comes up with the "reset server node" message when trying to open, times out when displaying it last synchronised etc. I have used the Technet cleanup script (https://gallery.technet.microsoft.com/WSUS-cleanup-script-7e019537), which removed a few hundred updates, but it is getting stuck deleting 10 updates e.g. 850293, as follows: Connecting to database SUSDB on MICROSOFT##WID Declining expired updates Declining superseded updates Reading obsolete update list. Found 10 updates that can be deleted. Deleting update 850923 (1 of 10) Error deleting update 850923: Exception calling "ExecuteNonQuery" with "0" argument(s): "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding." Re-opening database connection Are there better cleanup scripts to run, or something else that can help with this issue? Thanks
mavhc Posted November 13, 2019 Posted November 13, 2019 There is another script, but it's paid now. I just scrapped WSUS and went with http://www.edugeek.net/forums/windows-10/207846-update-compliance.html 1
Gongalong Posted November 13, 2019 Author Posted November 13, 2019 Where is the paid script? Update Compliance presumably uses Azure? We still have local DCs. I have been looking to move over from a dedicated WSUS server to SCCM with WSUS, so this might accelerate it.
mavhc Posted November 13, 2019 Posted November 13, 2019 It runs on azure, but doesn't cost money. It's the only azure thing I use, local servers otherwise. There's https://gallery.technet.microsoft.com/scriptcenter/Optimize-and-cleanup-of-eb9d8640 and https://gallery.technet.microsoft.com/scriptcenter/6f8cde49-5c52-4abd-9820-f1d270ddea61 The paid thing is But seems like MS has abandoned WSUS, and now we have smaller updates and p2p lan sharing, I just killed it when it broke and switched. It tells me which computers are out of date, works when laptops stay at home, and saves me 500GB of storage. 1
sparkeh Posted November 14, 2019 Posted November 14, 2019 Um, MS haven’t abandoned WSUS. You’ve posted this a couple of times and I can’t see any evidence to back it up? Also Update Compliance is not a replacement for WSUS, it monitors and reports on your update status but you still need to get the updates on the machine in the first place. How are you managing that? 2
free780 Posted November 14, 2019 Posted November 14, 2019 You can just use Windows Update for Business with Intune or without. If you want reporting you need intune I believe. WSUS isn't dead but it does need looking after like any server. Adding all products is bound to break it. There are numerous blog posts from those in the Configmgr community about tweaks you need to make to WSUS. Don't manage it via the mmc. Use powershell or Configmgr and use it as a SUP. Mine has been pretty stable on 2019 since I moved it from my Primary Site Server and gave it sql express for its DB. I try and clear out older updates and legacy products. Sometimes I think just go for WUfB but I don't think it's quite there. There were some announcements at Ignite that bring some more features which will be in public preview soon 1
Koldov Posted November 14, 2019 Posted November 14, 2019 Have you looked at the IIS application pool settings for WSUS? Sometimes they need a bit of tweaking... http://www.edugeek.net/forums/windows-server-2012/210605-made-bit-mess-wsus-hyper-v-vhdx-resize.html#post1798923 Just keep an eye on it if you use the zero (Private Memory Limit (KB) = 0 (unlimited, up from the default of 1843200 KB)) setting. UAYOR YMMV 1
Gongalong Posted November 14, 2019 Author Posted November 14, 2019 It's gone from bad to worse as the server seemed to become unstable, so I restored from Veeam and the server is now even more unstable - services aren't running, and can't be started. Oddly I had this exact same issue with a different 2012 R2 server a few weeks back. I tried to restore that from Veeam as well, same problem, and eventually had to rebuild it. It's almost as if servers are corrupting, but I'm not sure if the Veeam restore is at fault. I'm trying a restore again from Veeam, from the oldest restore point, and will see how it goes. If the worst comes to the worst I'll have to rebuild it from scratch, and that will be the time to move WSUS over to SCCM, which I was partway through doing anyway. The frustrating bit is that our ESET server is also on the server, and I need the certificates from it to migrate... *fingers crossed*
mavhc Posted November 14, 2019 Posted November 14, 2019 Um, MS haven’t abandoned WSUS. You’ve posted this a couple of times and I can’t see any evidence to back it up? Also Update Compliance is not a replacement for WSUS, it monitors and reports on your update status but you still need to get the updates on the machine in the first place. How are you managing that? All those new features in WSUS in the past 10 years show there's 100s of programmers on the case. That time when you had to manually fix it to make Win 10 feature updates work. WUfB and p2p
free780 Posted November 14, 2019 Posted November 14, 2019 So after saying WSUS has been OK the last few months. Office 365 Proplus updates are playing up. Oh what joy!
3s-gtech Posted November 14, 2019 Posted November 14, 2019 Since making the changes to the IIS application pool settings my WSUS servers have been reliable. Occasionally need to run the AdamJ cleanup script when I run out of space. Fine otherwise.
Gongalong Posted November 21, 2019 Author Posted November 21, 2019 So after saying WSUS has been OK the last few months. Office 365 Proplus updates are playing up. Oh what joy! Does WSUS serve O365 PP updates? I have this vague memory that they just don't exist as a product.
sparkeh Posted November 21, 2019 Posted November 21, 2019 Does WSUS serve O365 PP updates? I have this vague memory that they just don't exist as a product. Kind of... you need sccm to manage 365 updates via wsus.
free780 Posted November 21, 2019 Posted November 21, 2019 When it's not broken. For the Monthly Channel it doesn't seem to work at the moment. You can update 365 by downloading to a share and then running a command line to update office if you don't have SCCM. 1
sparkeh Posted November 21, 2019 Posted November 21, 2019 I can’t understand what’s going on with the monthly updates now. A few days ago all our machines jumped into life and patched to the latest version. Then a new patch was released and once again they are all failing.
free780 Posted November 22, 2019 Posted November 22, 2019 @sparkeh About 50 out of 2000 clients patched Office 365 Proplus 12130.20344 so I disabled the ADR. 12130.20390 still seems to fail. It looks like it's Bits or it's trying to use peer caching even though it's disabled. It fails to fallback to the CDN. Or the CDN is having issues. This reddit thread is helpful.
Gongalong Posted November 23, 2019 Author Posted November 23, 2019 I ended up going the easy route and buying WSUS Automated Maintenance. It works, and has brought the WSUS console back to being useable. Amazing how Microsoft with its billions of dollars can't add in such relatively simple fixes/maintenance. 1
free780 Posted November 23, 2019 Posted November 23, 2019 It was written in the 2003/XP era. All those windows 10 Updates must prove too much.
mavhc Posted November 24, 2019 Posted November 24, 2019 Exactly, it's dead, no one's working on it. Abandon ship.
3s-gtech Posted November 24, 2019 Posted November 24, 2019 Just because you do something, doesn’t mean that’s what everyone should do. WSUS is fine. Yes it needs maintenance. So does everything Windows-centric. Carry on. 2
Gongalong Posted November 25, 2019 Author Posted November 25, 2019 I get the feeling they want to put it all under Endpoint Manager, where SCCM/EM is leveraging WSUS. But as it's still leveraging WSUS, do you still ultimately get issues where WSUS isn't actually responding?
sparkeh Posted November 25, 2019 Posted November 25, 2019 I get the feeling they want to put it all under Endpoint Manager, where SCCM/EM is leveraging WSUS. But as it's still leveraging WSUS, do you still ultimately get issues where WSUS isn't actually responding? From experience, SCCM works with WSUS just fine, pretty speedy actually (faster then if you use WSUS natively).
Gongalong Posted November 25, 2019 Author Posted November 25, 2019 I wonder why it isn't affected by these same issues?
sparkeh Posted November 25, 2019 Posted November 25, 2019 I wonder why it isn't affected by these same issues? I imagine because of the way SCCM works with WSUS. It doesn't simply sit on top of WSUS and use the same work flow that you would if were using WSUS natively. SCCM just leverages WSUS to download the metadata of the updates to determine what's new (according to the rules you set) and then downloads the updates itself. So if you actually open WSUS you are wading through the update catalog, in sccm you are only dealing with the updates you need. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now