Windowsupdate: Difference between revisions

From Piszczynski
piszczynski>Aleks
piszczynski>Aleks
Line 6: Line 6:
%windir%\Windowsupdate.log
%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.
Updates stored in Software distribution folder, stop windows update service and delete this folder to get windows to check and download updates again.


Line 27: Line 27:
*HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate
*HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate
*HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
*HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
 
----
Run Updates from CMD:
Run Updates from CMD:
Go to Run –> cmd
Go to Run –> cmd
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 current windows build
*Get-CimInstance -Class win32_operatingsystem | fl
*Get-CimInstance -Class win32_operatingsystem | fl
 
----
Get list of all installed updates and pipe to the clipboard:
Get list of all installed updates and pipe to the clipboard:
*dism /online /get-packages | clip
*dism /online /get-packages | clip

Revision as of 17:27, 4 August 2021

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

Get list of all installed updates and pipe to the clipboard:

  • dism /online /get-packages | clip