Table of Contents

WSUSOfflineUpdate

Homepage | Download

Linux

Installation (Debian)

(Quelle)

aptitude install xmlstarlet tofrodos samba samba-common smbclient smbfs samba-doc md5deep dos2unix
useradd wsus
passwd wsus
smbpasswd -a wsus
wget http://download.wsusoffline.net/wsusoffline81.zip
unzip wsusoffline81.zip
chown -R wsus:wsus wsusoffline
chmod +x wsusoffline/sh/*

Konfiguration

wsusoffline/client/UpdateInstaller.ini
[Installation]
backup=Disabled
updatercerts=Enabled
instie7=Disabled
instie8=Enabled
instie9=Enabled
updatecpp=Enabled
updatedx=Enabled
instmssl=Disabled
updatewmp=Enabled  
updatetsc=Enabled
instdotnet35=Enabled 
instdotnet4=Enabled 
instpsh=Disabled
instmsse=Disabled
instwd=Disabled
instofc=Disabled
instofv=Disabled
all=Enabled 
excludestatics=Disabled
skipdynamic=Disabled
[Control]
verify=Enabled
autoreboot=Disabled
shutdown=Disabled  
[Messaging]
showlog=Disabled

Windows 7 Updates täglich um 0 Uhr herunterladen:

crontab
0 0 * * * /bin/bash /wsusoffline/sh/DownloadUpdates.sh w61 deu /dotnet /msse /wddefs >/dev/null 2>&1

Syntax

DownloadUpdates.sh [system] [language] [parameter]
systems:
wxp (Windows XP 32bit)
wxp-x64 (Windows XP 64bit)
w2k3 (Windows Server 2003 32bit)
w2k3-x64 (Windows Server 2003 64bit)
w60 (Windows Vista 32bit)
w60-x64 (Windows Vista 64bit)
w61 (Windows 7 32bit)
w61-x64 (Windows 7 64bit)
w62 (Windows 8 32bit)
w62-x64 (Windows 8 64bit)
all-x86 (alle Windows 32bit)
all-x64 (alle Windows 64bit)
o2k3 (Microsoft Office 2003)
o2k7 (Microsoft Office 2007)
o2k10 (Microsoft Office 2010)
o2k13 (Microsoft Office 2013)
ofc (alle Microsoft Office)
 
languages:
enu, deu, nld, esn, fra, ptg, ptb, ita, rus, plk, ell, csy
dan, nor, sve, fin, jpn, kor, chs, cht, hun, trk, ara, heb
 
parameter:
/excludesp - do not download servicepacks
/makeiso   - create ISO image
/dotnet    - download .NET framework
/msse      - download Microsoft Security Essentials installation files
/wddefs    - download Windows Defender definition files
/nocleanup - do not cleanup client directory
/proxy     - define proxy server (/proxy http://[username:password@]<server>:<port>)

Samba

/etc/samba/smb.conf
[wsus]
   available = yes
   comment = Windows Updates (ro)
   path = /wsusoffline
   writeable = no    
   invalid users = root
   valid users = wsus

Windows Client

wsus.bat
@echo off
net use U: \\192.168.1.252\wsus\client password /USER:wsus /PERSISTENT:no
%systemdrive%\wsusupdate\hidden32.exe U:\cmd\DoUpdate.cmd
exit