I want Windows Updates to only be installed on Saturday night between 11pm and 2am. I do not want it to install Windows updates whenever it wants to.
I have a Powershell script that uses the PSWindowsUpdate module to install all pending updates, and I have a scheduled task that runs this script at the appropriate time. Nevertheless, just now -- Tuesday morning, 1:30 AM in Amsterdam, where the server is -- it decided on its own to install a SQL Server update. This caused a brief downtime.
How can I prevent this?
[EDIT] - My server is running Windows 2012 R2.
The control panel options do not seem to provide any "only install every week" option. In fact the only thing that resembles a time setting whatsoever is "Automatic Maintenance: run tasks daily at [time]".
I can't tell it to only run them once a week, or to not run them at all. However, now that you've mentioned it, perhaps I should set it to "Never check for updates", knowing that my actual update script will do the checking when I wish it to.
Group Policy: My previous attempt at using Group Policy also was unable to limit updates to once a week on Saturday. They ran willy-nilly whenever they wanted to.