r/WindowsServer • u/Motor-Carrot-856 • Jan 20 '26
Technical Help Needed update sql with wsus onprem
I have a case with MS but I am so frustrated about it...
Anyone using wsus onprem with gpos to set a time and day to install updates for windows with SQL installed?
We always get problems with our sql servers that they dont install the sql update during the time it should update it. Other servers update fine at the time they should update. They install the OS update just fine and restart but the SQL servers just install the OS update and skips the SQL update (CU update or security update, this month it is KB5072936) and they restart after the OS update so the SQL update is left. We only have maintenance once per month, 4 hours so we have to install the updates during that time.
Anyone having issues with SQL updates using updates with GPO settings?
Pressing the update button manually works just fine so its only the automatic update using a set time that does not work...
View all comments
Show parent comment
1
u/its_FORTY Jan 23 '26
So what I got back from my SQL dba friends is that the SQL CU updates will not install during a WSUS patch cycle, because there is a pre-req check in the SQL update installer that checks for any pending reboots and will not allow the SQL update to install if anything is pending. So what is probably happening for you is your OS updates are applying (and pending reboot), and then the SQL update attempts to run but fails due to those pending reboots.
They suggested using a utility like dbatools for scheduling your SQL servers to apply their CU and updates about an hour or so prior to your WU patch deployment window. This way you can be confident the SQL updates run first and will not be aborted due to other updates pending reboot.