• Trace:

This is an old revision of the document!


windows update

windows 11

windows 10 update

CMD update

wuauclt /detectnow /updatenow

Powershell update (PSWindowsUpdate)

  • for win7/2008r2 install SP1 and WMF 5.1 first
# win 7 - enable TLS 1.2 first
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Register-PSRepository -Default
 
# install 3rd party module
Install-Module PSWindowsUpdate 
 
# also install other microsoft products
Add-WUServiceManager -MicrosoftUpdate
 
# scan for updates
Get-WindowsUpdate
 
# install updates and reboot
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot
 
Install-WindowsUpdate  # do not reboot

Abc-update

mkdir c:\drv\abcupdate & cd /d c:\drv\abcupdate
wget https://abc-deploy.com/Files/ABC-Update.zip
7z x ABC-Update.zip
echo abc-update.exe /a:install /r:5 > auto-winupdate.bat
nircmd shortcut "c:\drv\abcupdate\auto-winupdate.bat" "~$folder.desktop$" "auto winupdate"

WuMgr (obsoleted)

choco install wumgr
echo wumgr -update > %USERPROFILE%\Desktop\Wumgr-Update.bat

windows update problems

Fix Windows Update errors by using the DISM or System Update Readiness tool

windows 7/2008R2

  • install SP1
  • install KB3042058 Update to default cipher suite priority order
  • install KB3020369 Windows Update Client for Windows 7 and Windows Server 2008 R2: March 2016
  • install KB3138612 Fix slow Windows update
  • install KB3125574 Convenience rollup

clean up

  • stop Windows Update service
  • delete %windir%\SoftwareDistribution\DataStore
pub/windows_update.1638257322.txt.gz ยท Last modified: 2021/11/30 07:28 by derek