• 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 win10/2016+

# 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

for Win Vista/2008 - Win8.1/2012R2

New-Item c:\drv
Set-Location c:\drv


(New-Object System.Net.WebClient).DownloadFile("https://repo.sxl.net/win/01.install/pswindowsupdate.2.2.0.2.nupkg", "pswindowsupdate.nupkg"

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.1638220263.txt.gz ยท Last modified: 2021/11/29 21:11 by derek