Koozali.org: home of the SME Server

How to Handle Windows Updates ?

Offline Drufazz

  • *
  • 23
  • +0/-0
How to Handle Windows Updates ?
« on: March 13, 2008, 01:36:26 AM »
Hi all,

What do you guys do with windows updates ?

We have 20+ windows xp & vista workstations and having them all patch uses up a lot of our bandwidth.

Is there a way to make sme server a windows update cache ? I did find something on Sleepy's site but I can't read french :)

Cheers,

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: How to Handle Windows Updates ?
« Reply #1 on: March 13, 2008, 01:22:22 PM »
You could try this tip: http://forums.contribs.org/index.php?topic=34812.0
Let me know if it works for you, so I´ll put it on Wiki.


...

Offline Drufazz

  • *
  • 23
  • +0/-0
Re: How to Handle Windows Updates ?
« Reply #2 on: April 02, 2008, 12:00:08 PM »
Finally got a round to trying this, and it seems to be working. Downloaded about 90mb or so of updates off microsoft update, including some large downloads (net framework 2 & 3 service packs) on one machine.

Done the same on the next machine and at first thought "it's not working", then I noticed it was downloading -extremely- fast.... obviously pulling it from the cache :)

I just added what bjoyce said in his post, done a "squid -k reconfigure", and a squid restart, and away it went.

this is all I added:

******************************************************
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
maximum_object_size 1280096 KB
cache_dir ufs /var/spool/squid 3000 16 256

# various windows versions
refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://.*\.update\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://download\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://windowsupdate\.microsoft\.com/ 0 80% 20160 reload-into-ims
refresh_pattern http://office\.microsoft\.com/ 0 80% 20160 reload-into-ims
**************************************************************

Now I just need to work out how to add avast! anti-virus and java :)

Cheers,