How to Schedule Windows Update Download

Problem

On one of the Windows Servers, when Windows Update runs, it takes up 100% CPU.  We do not want to disable the Windows Update.  So we look for a way to schedule/control/restrict/throttle the Windows Update Download.  Note we are not trying to schedule the installation of the downloaded updates.

Solution

The trick is configure BITS (the transfer service which Windows Update depends on) so that it has 0 bandwidth during production hours.

   1: Windows Registry Editor Version 5.00 

   2:  

   3: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS] 

   4: "EnableBITSMaxBandwidth"=dword:00000001 

   5: "MaxTransferRateOnSchedule"=dword:00000000 

   6: "MaxBandwidthValidFrom"=dword:00000004 

   7: "MaxBandwidthValidTo"=dword:00000011 

   8: "UseSystemMaximum"=dword:00000001 

   9: "MaxTransferRateOffSchedule"=dword:00000014 

Explanation

EnableBITSMaxBandwidth = 1 turns on the bandwidth control.

MaxTransferRateOnSchedule = 0 means 0 kilbits per second allowed within the restricted schedule period.

MaxBandwidthValidFrom = 4 means the restricted schedule period starts at 4AM PST

MaxBandwidthValidTo = 11 means the restricted schedule period ends at 5PM PST

UseSystemMaximum = 1 means there is no limit on bandwidth outside of the restricted schedule period.

 

 

 

Reference:

https://technet.microsoft.com/en-us/library/bb457145.aspx

https://community.myhughesnet.com/hughesnet/topics/way_to_schedule_windows_update_downloads

https://podio.com/winwintechnologycom/win/apps/how-to-do/items/1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s