 | [HN7000S] Windows Updates Did anyone ever try the BITS settings to see if it would allow Windows Update to only download during FAP free time?
»Maybe a way to schedule Windows Update downloads
Thanks, Duane |
|
 | Yes, I've done it and it works. It's really easy if you have the Group Policy Editor with your OS (W7HP does not) otherwise you have to set the registry manually. I'll post details if interested. |
|
 dbirdmanPremium,MVM join:2003-07-07 usa kudos:5 1 edit | (see better recommendation further down thread) I'm not a fan of recommending mass manual registry edits. Below I've pasted the contents of a reg file to make the changes. If you copy this, then paste into notepad and save as bits.reg (note that you have to change notepad to SaveAs Type All Files or it will stick a .txt on the end which would cause it to not work), then right-click the file and choose merge, or just run the file. Use everything between the lines, but not the lines themselves.
Startday 0 is sunday, Endday 6 is saturday start and end hours are for the period you don't want downloads to occur. ---------- Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS\Throttling] "EnableMaintenanceLimits"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS\Throttling\MaintenanceSchedule] "StartDay"=dword:00000000 "EndDay"=dword:00000006 "StartHour"=dword:00000006 "EndHour"=dword:00000003 "HighBandwidthLimit"=dword:00000000 "HighBandwidthType"=dword:00000001 "NormalBandwidthLimit"=dword:00000000 "NormalBandwidthType"=dword:00000001 "LowBandwidthLimit"=dword:00000000 "LowBandwidthType"=dword:00000001 -------------- -- Motosat self-pointing dishes: 1.2-meter XF-3 on 127W, .74 meter G74 on 127W, SL-5 HD DirecTV|idirect 3100|Hughes HN7000S|Verizon UMW190 Air Card|1990 Blue Bird Wanderlodge Bus "Blue Thunder"|Author of hnFAP-Alert, PC-OPI and DSSatTool |
|
 | reply to TexasHippie
Here's mine. Note "CST" here--I've set BITS to using Zero bandwidth from 6a to 1a, then Full bandwidth during the remainder. Maybe the differences w/dirdman's may have to do with differing BITS version:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS] "EnableBITSMaxBandwidth"=dword:00000001 "MaxTransferRateOnSchedule"=dword:00000000 "MaxBandwidthValidFrom"=dword:00000006 "MaxBandwidthValidTo"=dword:00000001 "UseSystemMaximum"=dword:00000001 "MaxTransferRateOffSchedule"=dword:00000014 |
|
|
|
 dbirdmanPremium,MVM join:2003-07-07 usa kudos:5 | There may be several ways to accomplish this. It appears that you did not use the "Setup a maintenance schedule" GPEdit choice used by the original poster - that's what mine came from. Here's another, using the Setup a work schedule choice:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS\Throttling] "EnableBandwidthLimits"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS\Throttling\NonWorkSchedule] "HighBandwidthLimit"=dword:00000000 "HighBandwidthType"=dword:00000003 "NormalBandwidthLimit"=dword:00000000 "NormalBandwidthType"=dword:00000003 "LowBandwidthLimit"=dword:00000000 "LowBandwidthType"=dword:00000003
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS\Throttling\WorkSchedule] "StartDay"=dword:00000000 "EndDay"=dword:00000006 "StartHour"=dword:00000006 "EndHour"=dword:00000001 "HighBandwidthLimit"=dword:00000000 "HighBandwidthType"=dword:00000001 "NormalBandwidthLimit"=dword:00000000 "NormalBandwidthType"=dword:00000001 "LowBandwidthLimit"=dword:00000000 "LowBandwidthType"=dword:00000001 -- Motosat self-pointing dishes: 1.2-meter XF-3 on 127W, .74 meter G74 on 127W, SL-5 HD DirecTV|idirect 3100|Hughes HN7000S|Verizon UMW190 Air Card|1990 Blue Bird Wanderlodge Bus "Blue Thunder"|Author of hnFAP-Alert, PC-OPI and DSSatTool |
|
 | Thanks guys! Based on your input I did more searching and found that you can determine which version of BITS is being used. It may be important to know so you'll know which keys are used in the registry. I suspect dbirdman is on version 4 and laserfan is on version 3.
BITS version QMgr.dll file version number
BITS 4.0 7.5.xxxx.xxxx BITS 3.0 7.0.xxxx.xxxx BITS 2.5 6.7.xxxx.xxxx BITS 2.0 6.6.xxxx.xxxx BITS 1.5 6.5.xxxx.xxxx BITS 1.2 6.2.xxxx.xxxx BITS 1.0 6.0.xxxx.xxxx
I've found that I have version 2 on a win2k machine, 2.5 on XP, and 4 on win7 home.
Duane |
|
 | TH the registry entries I posted were for BITS 4.0 (WHS), so if you like the "terms" those should work on your W7Home machine anyway. I'm not sure which version of BITS introduced the bandwidth-limiting feature. But AFAIK the only risk to using this methodology is that if an update download is in progress when 6am rolls around, the allotment goes to zero and I dunno frankly what happens to the incomplete download. But honestly there is no set-of-updates that I know of that wouldn't DL in 4.5 hours anyway (the updates don't start at exactly 100am, but within 30min I believe).
I wish I'd know the magic of BITS a long time ago--would have made Windows life a lot simpler around here knowing Updates would only download during FAP-free time. |
|
 dbirdmanPremium,MVM join:2003-07-07 usa kudos:5 | Do you know which of the GPE options you chose to produce the registry entries you show above?
The options show like this, with these levels of BITS required:
Limit the maximum network bandwidth for BITS background transfers. Requires Windows XP SP2 or Windows Server 2003 SP1, or computers with BITS 2.0 installed.
Limit the maximum network bandwidth used for Peercaching. Requires At Least Windows Vista.
Set up a maintenance schedule to limit the maximum network bandwidth used for BITS background transfers. Requires Windows 7 or computers with BITS 3.5 installed.
Set up a work schedule to limit the maximum network bandwidth used for BITS background transfers. Requires Windows 7 or computers with BITS 3.5 installed.
The two reg files I show above are from the 3rd and 4th choices. I'm guessing you used the first choice. If that is the case your reg file is much better, as it would work on many more machines. -- Motosat self-pointing dishes: 1.2-meter XF-3 on 127W, .74 meter G74 on 127W, SL-5 HD DirecTV|idirect 3100|Hughes HN7000S|Verizon UMW190 Air Card|1990 Blue Bird Wanderlodge Bus "Blue Thunder"|Author of hnFAP-Alert, PC-OPI and DSSatTool |
|
 Reviews:
·HughesNet Satell..
| reply to TexasHippie Microsoft Security Essentials always runs my windows update automatically for what so ever reason. So I made a bat file to auto apply the register to disable windows update. I added the bat to my startup list so everytime I login to windows. I am sure its disable. :)
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update]
"AUOptions"=dword:00000001
"AUState"=dword:00000007
So I check and install updates manually.
my bat file..
Regedit /s C:\DisableWindowsUpdate\WindowsUpdate.reg
-- HN7000S 5.8.0.82 - 99 West 1370 MHz - .74m Dish - 1.5mbps down 196kbps up with 425MB CAP - installed October 2007 - Repair September 20011 - Linksys N3000 DD-WRT & WRT54G DD-WRT at neighbors house |
|
 | reply to dbirdman said by dbirdman:Do you know which of the GPE options you chose to produce the registry entries you show above?
The options show like this, with these levels of BITS required:
Limit the maximum network bandwidth for BITS background transfers. Requires Windows XP SP2 or Windows Server 2003 SP1, or computers with BITS 2.0 installed.
Limit the maximum network bandwidth used for Peercaching. Requires At Least Windows Vista.
Set up a maintenance schedule to limit the maximum network bandwidth used for BITS background transfers. Requires Windows 7 or computers with BITS 3.5 installed.
Set up a work schedule to limit the maximum network bandwidth used for BITS background transfers. Requires Windows 7 or computers with BITS 3.5 installed.
The two reg files I show above are from the 3rd and 4th choices. I'm guessing you used the first choice. If that is the case your reg file is much better, as it would work on many more machines. You guessed exactly right dbirdman, and indeed the dialog box shows "Supported on...computers with BITS 2.0". My selected Options are: Limit background transfer rate (Kbps) to: 0 From 6AM to 1AM At all other times Use all available unused bandwidth (checked)
I did just this A.M. select a bunch of updates to download, which stopped-dead at 6AM--I assume they will restart tonight/tomorrow at 100AM again, and in the meantime my BITS log is getting hit with warnings every 10 minutes.
I can live with that--I do wonder, why has BITS not been shouted from rooftops before???  |
|
 dbirdmanPremium,MVM join:2003-07-07 usa kudos:5 | OK, I'm officially recommending laserfan's version of the .reg file, repeated below. Simpler, and works across most versions of Windows. Copy everything between the lines and paste into Notepad, adjust the time if you are not in the Central time zone, SaveAs (change to type "All Files") bits.reg or similar (save to your desktop or somewhere easy to find), then run it.
Times for Pacific would be "MaxBandwidthValidFrom"=dword:00000004 "MaxBandwidthValidTo"=dword:00000017
(17 is hexadecimal for 23, or 11pm)
Times for Mountain would be "MaxBandwidthValidFrom"=dword:00000005 "MaxBandwidthValidTo"=dword:00000000
Times for Eastern would be "MaxBandwidthValidFrom"=dword:00000007 "MaxBandwidthValidTo"=dword:00000002
----------------- Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS] "EnableBITSMaxBandwidth"=dword:00000001 "MaxTransferRateOnSchedule"=dword:00000000 "MaxBandwidthValidFrom"=dword:00000006 "MaxBandwidthValidTo"=dword:00000001 "UseSystemMaximum"=dword:00000001 "MaxTransferRateOffSchedule"=dword:00000014 ----------------- -- Motosat self-pointing dishes: 1.2-meter XF-3 on 127W, .74 meter G74 on 127W, SL-5 HD DirecTV|idirect 3100|Hughes HN7000S|Verizon UMW190 Air Card|1990 Blue Bird Wanderlodge Bus "Blue Thunder"|Author of hnFAP-Alert, PC-OPI and DSSatTool |
|
 | Good stuff. For any who may not be clear about this, BITS is Windows' Background Intelligent Transfer Service and affects ONLY Windows updates (I'm quite certain anyway), i.e. it doesn't affect any other download activities (which is why I still use FreeDownloadManager to schedule big downloads).
Further, in at least Windows 7 there is an Operational Log one can refer to which lists the what/whens of BITS--goto Computer Mgmt and under Event Viewer find Applications and Services Logs>Microsoft>Windows>Bits-Client and in there is a complete listing of download activities for WU.
You CAN get control of MS downloads!  |
|
 | reply to TexasHippie I just set-up W7 SP1 to download the other night (a GB in size) along with some other stuff and observed that BITS ended the SP1 download the first night with about 200MB remaining to complete, and last night resumed the download and completed the transfer (all within the FAP-free hours of course). While I'd EXPECTED it would work this way, it was nice to see a perfect example of "what happens when the FAP-free period expires" given the interest in this thread.
 |
|
 DaveL join:2005-11-12 Urbana, IL | reply to TexasHippie Forgive me for being dim. I don't see a folder called BITS within the Windows folder. Am I supposed to create one, then drop the code into it? |
|
 dbirdmanPremium,MVM join:2003-07-07 usa kudos:5 | No, there is no BITS folder, only registry entries. What we have posted here is the contents of a .reg file. What you need to do with the code is to put it into a blank Notepad, make any time changes appropriate for your location, then save it as a file with a .reg extension. I suggested bits.reg, but the name doesn't matter. After you save it, run it by double-clicking, then you can delete it because it is no longer needed.
The biggest "gotcha" is that Notepad will, by default, add a .txt extension to the file name. If that happens then when you double-click it Notepad will open and that will tell you that you got it wrong. When you save with Notepad, there is a dropdown to change from files of type TXT to "All Files" and that's what you should do.
If you have everything right, you will get a warning from the Registry Editor that you are about to make changes to the Registry. OK it and it will tell you that it successfully made the changes. -- Motosat self-pointing dishes: 1.2-meter XF-3 on 127W, .74 meter G74 on 127W, SL-5 HD DirecTV|idirect 3100|Hughes HN7000S|Verizon UMW190 Air Card|1990 Blue Bird Wanderlodge Bus "Blue Thunder"|Author of hnFAP-Alert, PC-OPI and DSSatTool |
|
 DaveL join:2005-11-12 Urbana, IL | Win7 sp1 Ok, I copied Lazerfan's code since I am on CST. Saved as bits.reg in Notepad. It turned me down and said it wasn't a proper registry script. Here is what I tried. What did I miss? [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\BITS] "EnableBITSMaxBandwidth"=dword:00000001 "MaxTransferRateOnSchedule"=dword:00000000 "MaxBandwidthValidFrom"=dword:00000006 "MaxBandwidthValidTo"=dword:00000001 "UseSystemMaximum"=dword:00000001 "MaxTransferRateOffSchedule"=dword:00000014 -- 7000s, 99W, 1370, 77sig, pro plan "Notice how clear the skies were after 9/11 due to lack of con trails?" »www.koehlerinjection.com |
|
 dbirdmanPremium,MVM join:2003-07-07 usa kudos:5 | You are missing the top line. It has to be everything between, but not including, the dashed lines. |
|
 | reply to DaveL DaveL you probably need to Restart your PC after making this change. And if I were you I'd double-check it was working before trusting that my bandwidth doesn't get blown, e.g. attempt a Windows Update and observe that no files are being downloaded or some such. |
|
 DaveL join:2005-11-12 Urbana, IL | Thanks Dbird and Lazer.
Do I go back in and change the windows update choices? At the present I have it set to notify me so I can download when I want. -- 7000s, 99W, 1370, 77sig, pro plan "Notice how clear the skies were after 9/11 due to lack of con trails?" »www.koehlerinjection.com |
|
 dbirdmanPremium,MVM join:2003-07-07 usa kudos:5 | Yes, with this system you would want automatic downloads. Did you get the .reg file to work? |
|