0

I would like to deny Windows Updates on the weekends, but not during nights for working days, since we run production tests over weekends:

Do you know some workaround or a third party tool which allows to deny updates on certain days or at least forbid restarts?

JW0914
  • 7,052
  • 7
  • 27
  • 48
  • If there's not an option or Group Policy to set this, the easiest way may be to implement time-based firewall rules to block traffic to the Windows Update Servers through Task scheduler _(run a basic script to create the Windows firewall rules at a specific time, then a separate task to run a basic script at a different time to remove the rules)_, or the same could be done on the router's firewall through `iptables`/it's applicable firewall _(this may be more efficient depending on the number of machines this needs to be applied to)_ – JW0914 Feb 02 '22 at 12:49
  • Sounds promising. However, I would like to second that with my colleagues. – Wör Du Schnaffzig Feb 02 '22 at 13:23
  • So this is an obvious duplicate of [this](https://superuser.com/questions/946957/stopping-all-automatic-updates-windows-10) all you would have to do is modify the script so it only works on certain days. You probably would have to use PowerShell instead of Bash, that conversion is trivial. So you don’t need to prevent the updates themselves, your just attempting to prevent the automatic reboots on the weekend, [this](https://superuser.com/questions/957267/how-to-disable-automatic-reboots-in-windows-10) continuously changes the activity hours every 6 hours. – Ramhound Feb 02 '22 at 14:00
  • However, this really is solve by good group policy enforcement, and pushing updates on your own schedule with WSUS and the proper tools provided by Microsoft – Ramhound Feb 02 '22 at 14:05

0 Answers0