banner



How Do I Run Windows Update

In Microsoft Windows 10, Windows Update can be found in Settings –> Update & Security –> Windows Update. Unremarkably Windows Update keeps on running in the background and will install new updates automatically.

Windows Update checks for new updates randomly every 22 hours. The reason behind the random cheque is that if all the systems in the world get-go checking for updates at the exact aforementioned time, this would put extreme load on Microsoft servers. That's why Microsoft came upwards with the thought of checking for updates randomly every day.

You can also run Windows Update manually to cheque for new updates at any time. Here are three means to check for new Windows updates.

Table of contents

  • Force Windows Update check using Run command dialog
  • Run Windows Update from PowerShell (Command-line)
    • Deploy updates on remote computers
    • Install specific updates only
    • Forestall specific updates from installing
  • Run Windows Update from Command Prompt (Command-line)
  • Check for Windows updates using Windows Settings
  • How to force Windows Update to download already downloaded updates
  • Manage Windows updates using Wuinstall command line tool
  • How to fix corrupted Windows Update

Force Windows Update check using Run command dialog

I found out that the easiest mode to force Windows update check is to use a control in the Run dialog. In that location are other commands from CMD and PowerShell as well, just let's start with the easiest mode to practice it.

Open up the Run dialog (Windows key + R) or open Windows Search and run the post-obit command:

          control update        

This will trigger the Windows Update graphical user interface which will commencement checking for new updates. This method works on all versions of Windows including Windows x and Windows eleven.

In that location is another command that will trigger the same effect just merely works in Windows x and Windows 11:

          ms-settings:windowsupdate        

Run Windows Update from PowerShell (Control-line)

At that place is no official Windows PowerShell module for Windows Update. PSWindowsUpdate is a tertiary-party module that can be used to configure Windows updates in Windows. This module is non installed in Windows past default but you lot can download it from PowerShell gallery, install and run the module to check for new updates.

In that location are 3 steps to running Windows Update through PowerShell. Run the following commands step past step:

          Install-Module PSWindowsUpdate        
Install Module PSWindowsUpdate
Install Module PSWindowsUpdate

This volition install the Windows Update module in PowerShell.

          Become-WindowsUpdate        
Get WindowsUpdate
Get-WindowsUpdate

This command will check for updates.

          Install-WindowsUpdate        
Install WindowsUpdate
Install WindowsUpdate

This control will install the available updates (which were listed in pace 2)

The above mentioned control will just install Windows updates. If yous want to update other Microsoft products too, you'll need to enable the Microsoft Update Service too. Information technology's pretty easy to enable information technology using PowerShell:

          Add-WUServiceManager -MicrosoftUpdate        

If you want to automatically restart your computer afterward installing all the updates, you can run the post-obit control:

          Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot        

Deploy updates on remote computers

The PowerShell module can also be used to deploy Windows updates on remote computers. There are two commands involved in this process:

1- Create a list of computers and laissez passer the list as a variable string:

          $estimator = "comp1, comp2, comp3"        

ii- Now run the following command to commencement checking for Windows updates on remote computers:

          Invoke-WUJob -ComputerName $computer -Script {ipmo PSWindowsUpdate; Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot} -RunNow -Ostend:$fake | Out-File "\server\share\logs\$computer-$(Get-Date -f yyyy-MM-dd)-MSUpdates.log" -Force        

Install specific updates only

If yous already know the Article kb no. of the specific update yous want to install, you can run the following command:

          Go-WindowsUpdate - KBArticleID "KB5002324", "KB5002325" -Install        

Supersede the KB number with the ane you desire to install.

Preclude specific updates from installing

Y'all can forbid specific updates from installing on your figurer using the following PowerShell command:

          Install-WindowsUpdate -NotKBArticle "KB5002324, KB5002325" -AcceptAll        

Run Windows Update from Command Prompt (Command-line)

Windows Update can besides be run through legacy CMD to become the latest updates. The only limitation running Windows Update through the command prompt is that it won't show any progress. Only results are shown when the process is complete. Let'southward run into how to run it:

RestartDevice – Restart Windows subsequently updates are installed

ScanInstallWait – Check for updates, download available updates and install them

  • Printing the Windows key + R to open Run dialog.
  • Type cmd and then press Ctrl + Shift + Enter to open the command prompt in administrative fashion.
  • Run the following command to check for new updates:
    wuauclt /detectnow
  • Run the following command to install new updates
    wuauclt /updatenow

Since the command prompt does not show whatever progress, a meliorate approach would exist to check and install updates at the aforementioned fourth dimension. Hither's the command for this:

          wuauclt /detectnow /updatenow        

The above-mentioned control will work in all versions of Windows, including Windows 7 and Windows Server 2008 R2. But if you are using Windows 10 or Windows Server 2016, you can use UsoClient command which has more than options than wuauclt. You lot can run UsoClient with the following switches:

StartScan – Commencement checking for updates

StartDownload – Outset downloading updates

StartInstall – Start installing downloaded updates

Check for Windows updates using Windows Settings

To cheque for new updates and configure your Windows Update settings, follow the steps below:

  1. Open up Windows Settings (Windows central + i).
  2. Cull Update & Security.
  3. Cull Windows Update from the left manus menu.
  4. Press the Cheque for updates button on the right hand pane.
Check for updates
Check for updates

How to force Windows Update to download already downloaded updates

If you want to force Windows Update to re-download all the updates once more, you tin can do this using the steps beneath. There will be times when the updates become corrupted or for other reasons, you just don't want to install the downloaded updates. In that situation, y'all can hands delete the already downloaded updates which will for Windows Update to run again and cheque for and download the updates again.

The only caveat in this situation is that the update must not have been installed on your reckoner. If the update is already installed, Windows will detect it as installed and will not download it over again. In that example, y'all will need to uninstall the update first and and then strength Windows Update to run again.

Pace 1: Open File Explorer and go to This PC.

Step 2: Open C:\Windows\SoftwareDistribution\Download
This folder contains all the update files that Windows Operating Organisation is currently downloading or recently downloaded and installed.

Footstep three: Delete all the files from the above mentioned folder.

Step 4: Run Windows Update again using the above mentioned methods. This will force Windows Update to check for the same updates and download them once more. The download and install process for new updates is completely automated. Y'all don't need to do anything during the download and installation procedure.

Manage Windows updates using Wuinstall command line tool

Using WuInstall, It Administrators can automate Windows updates. Wuinstall can be used to enforce Windows Updates inquiries, downloads, and installations at times when they deem them appropriate, enabling them to make the unabridged update process more controlled and user friendly.

WuInstall is a strong and flexible arrangement management tool that tin can be used in a WSUS based or standalone environs. To download the latest updates using Wuinstall, y'all will demand to download and install Wuinstall first. Follow the steps beneath:

Get to http://www.wuinstall.com/ and install the latest free version of Wuinstall on your computer. Open Command Prompt in authoritative mode

To search for the latest updates, run the post-obit control:

          wuinstall /search        

This volition not simply expect for new updates but will likewise listing them in the control window.

To download the updates, run the post-obit command:

          wuinstall /download        

This will download all the available updates from Microsoft servers.

To install the updates, run the following command:

          wuinstall /install        

There are a few more than switches that you can use with the install command

/quiet – volition install updates without showing anything.

/disableprompt – Disable any input from Windows

/autoaccepteula –  Machine-take any agreement during update installation

/rebootcycle – Install updates on the next estimator reboot.

How to set corrupted Windows Update

Sometimes Windows Update files get corrupted and the user is non able to download the files again or install the corrupted update files. In that case, we need to run a dism command to fix corrupted Windows Update. Here are the steps:

Open the Command Prompt (Run –> cmd) and run the post-obit command:

          dism.exe /Online /Cleanup-image /Restorehealth        

Later on successfully running this command, try force downloading the updates once more and the Windows Update should showtime working over again.

Other things you can do with Windows Update:

Disable or bypass pending updates on Windows 10 (and Windows xi)

How to prevent a specific update from installing while allowing all others

How to view and save a listing of installed updates in Windows ten (and Windows 11)

View updates sizes in Windows 10 (and Windows 11)

Download any Windows 10 cumulative update

How to disable automatic restart subsequently installing the updates

How to add together update packages to Windows ten ISO image

How to disable automatic updates

How to limit Windows Update bandwidth usage

How to install updates offline using CAB and MSU files

Hopefully this will be useful in situations where y'all want to automate certain Windows functions. What other purposes do you desire to use command line options to run Windows Update?

As well see:

Source: https://www.itechtics.com/run-windows-update-cmd/

Posted by: branchthaverse.blogspot.com

0 Response to "How Do I Run Windows Update"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel