= Windows Updates = [[PageOutline]] = Online = * wsus * wuauctl.exe * included in WinXP, Win7, Win8, ... * http://technet.microsoft.com/en-us/library/cc720477%28v=ws.10%29.aspx * http://ss64.com/nt/wuauclt.html * http://www.wsus.de/wuauclt * Logfile: c.\windows\WindowsUpdate.log * wsus ClientDiag.exe commandline tool * http://technet.microsoft.com/en-us/windowsserver/bb466192.aspx * vb script * http://gallery.technet.microsoft.com/scriptcenter/83af5829-9ee3-4296-9e22-1617ad878f86 * http://www.wuinstall.com/ * command line tool * connects against windowsupdate or wsus * can use a local cache == wuinstall == * http://www.wuinstall.com/ * command line tool * connects against windowsupdate or wsus * can use a local cache see wiki:windows/update/wuinstall = Offline = * wsusoffline: nur kritische Fixes (und ein paar andere Komponenten), basiert auf den Patch/Download-Listen von MS * AutoPatcher: keine Deutschen Update-Listen * wud: Listen basiert. Veraltet. Enthält ebenfalls nicht die Pakete, die wsusoffline Update noch offen sind == wsusoffline == * http://www.wsusoffline.net === Server === http://forums.wsusoffline.net/viewtopic.php?f=7&t=120 Downloads can be performed from Windows or Linux. === Client === {{{ client\cmd\DoUpdate.cmd /instdotnet35 /instdotnet4 }}} Parameter: {{{ Hier eine Liste aller Parameter /nobackup (erstellt kein Backup; gültig nur für Windows XP) /verify (Prüft die Dateien auf Korrektheit) /instie7 (Installiert den Internet Explorer 7; gültig nur für Windows XP) /instie8 (Installiert den Internet Explorer 8; gültig nur für Windows XP & Vista) /instie9 (Installiert den Internet Explorer 9; gültig nur für Windows Vista & 7) /updatercerts (Aktualisiert die Stammzertifikate; gültig nur für 32bit/x86 Systeme) /updatecpp (Aktualisiert Microsoft C++) /updatedx (Aktualisiert Microsoft DirectX) /updatewmp (Installiert den Windows Media Player 11; gültig nur für Windows XP) /updatetsc (Aktualisiert den Remotedesktop; gültig nur für Windows XP :?: ) /instdotnet35 (Installiert das Microsoft .NET Framework 3.5 SP1; gültig nur für Windows XP & Vista) /instdotnet4 (Installiert das Microsoft .NET Framework 4) /instpsh (Installiert die Microsoft Powershell; gültig nur für Windows XP & Vista; benötigt .NET 3.5 SP1) /instmsse (Installiert Microsoft Security Essentials) /instwd (Installiert den Windows Defender; gültig nur für Windows XP) /instofc (Installiert die Office Dateikonverter; benötigt Office 2003; gültig nur für Office 2003) /instofv (Installiert die Office Dateiüberprüfung; benötigt Office 2003 oder 2007; gültig nur für Office 2003 & 2007) /autoreboot (Startet den Computer nach dem Update automatisch neu, falls benötigt) /shutdown (Fährt den Computer nach dem Update herunter) /showlog (Zeigt nach dem Update das Log an) /all (Installiert alle Updates, einschliesslich bereits installierte; nur bei Problemen mit bereits installierten Updates verwenden) /excludestatics (Installiert keine statisch festgelegten Updates; betrifft nur Vista) /skipdynamic (Installiert nur statisch festgelegte Updates, überspringt die dynamische Ermittlung; nicht empfohlen) }}} see http://forums.wsusoffline.net/viewtopic.php?f=7&t=2691 Logfile: ? {{{ UPDATE_LOGFILE=%SystemRoot%\wsusofflineupdate.log }}} ==== Return Values ==== at least without {{{/autoreboot}}}: 0:: Success 3010:: Reboot nötig 3011:: Reboot und erneuter Aufruf von DoUpdate.cmd nötig === restlichen Updates herausfiltern === {{{ grep microsoft /var/log/squid/access.log | sed -r -n 's|.* (http://download.microsoft.com/.*exe) .*|\1|p' }}} {{{ grep windows.*kb* /var/log/squid/access.log | sed -r -n 's|.* (http://\S*kb\S*) .*|\1|p' }}} == AutoPatcher == * http://www.autopatcher.com (only forum left) Erlaubt viele Komponenten von MS herunter zu laden, aber nur englisch und ital., keine deutsche Paket-Listen. Nutzung von Answer-Files etwas unklar. === Server === run {{{ apup.exe }}} Shortcuts: {{{ Ctrl + A Select all Ctrl + D Deselect all Ctrl + N Select none (same as above) Ctrl + L Load selection from answer file Ctrl + S Save selection to answer file Ctrl + R Restore defaults }}} === Client === Answer Datei muss erstellt werden und der Silent Installation übergeben. Ansonsten werden nur Critische Updates installiert. {{{ autopatcher.exe /? autopatcher.exe /verbose /unattend /noreboot }}} ==== Return Values ==== ??? {{{ -1 Crashed (!) 1 User exit 2 User exit, avoiding reboot 5 Installation finished, reboot not required 10 Installation finished, reboot required, but supressed via commandline }}} == windowsupdatesdownloader == http://www.windowsupdatesdownloader.com/ Listen basiert. Listen veraltet? 2010? Nach einem Lauf von wsusoffline werden auch hiermit keine weiteren Patches installiert. = Infos = * 10-tools-for-creating-custom-windows-installation-discs * http://www.techradar.com/news/software/operating-systems/10-tools-for-creating-custom-windows-installation-discs-679477 * get installed hotfixes * {{{wmic qfe get hotfixid}}} * check if windows installer is running (information, no solution): * http://stackoverflow.com/questions/9125966/checking-if-windows-update-or-any-installer-instace-is-running-before-starting-m * regex exists: {{{HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\InProgress}}} * Update Third-Party Application (contains a list of 3000) (similar to Shavlik) * http://secunia.com/vulnerability_scanning/personal/ * system profile is sent to psi.secunia.com * Log File: http://blog.rootshell.be/tag/secunia/ * == Pending Updates == * http://support.microsoft.com/kb/2509997/en-us