Windowsupdate: Difference between revisions

From Piszczynski
piszczynski>Aleks
piszczynski>Aleks
Line 34: Line 34:
Run the following command to install new updates
Run the following command to install new updates
*wuauclt /updatenow
*wuauclt /updatenow
Get current windows build
*Get-CimInstance -Class win32_operatingsystem | fl

Revision as of 12:53, 10 July 2020

Windows Update

View update logs - useful sometimes - go to this location:

%windir%\Windowsupdate.log


Updates stored in Software distribution folder, stop windows update service and delete this folder to get windows to check and download updates again.


If updates still fail do sfc /scannow to check system files


Check for any updates that are required for the updates that you are installing.


Website to download specific update packages:

https://catalog.update.microsoft.com


Registry keys for configuring Automatic Updates & WSUS:

  • HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  • HKEY_LOCAL_MACHINE\SYSTEM\Internet Communication Management\Internet Communication
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate
  • HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU

Run Updates from CMD: Go to Run –> cmd Run the following command to check for new updates:

  • wuauclt /detectnow

Run the following command to install new updates

  • wuauclt /updatenow

Get current windows build

  • Get-CimInstance -Class win32_operatingsystem | fl