banner



How Do I Start Windows Update Service In Windows 7

In Microsoft Windows 10, Windows Update can be constitute in Settings –> Update & Security –> Windows Update. Commonly Windows Update keeps on running in the groundwork and volition install new updates automatically.

Windows Update checks for new updates randomly every 22 hours. The reason behind the random check is that if all the systems in the world start checking for updates at the exact same fourth dimension, this would put extreme load on Microsoft servers. That's why Microsoft came upwardly with the idea of checking for updates randomly every day.

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

Table of contents

  • Strength Windows Update check using Run command dialog
  • Run Windows Update from PowerShell (Control-line)
    • Deploy updates on remote computers
    • Install specific updates simply
    • Prevent specific updates from installing
  • Run Windows Update from Control 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 control line tool
  • How to fix corrupted Windows Update

Strength Windows Update check using Run command dialog

I found out that the easiest style to strength Windows update cheque is to utilise a control in the Run dialog. There are other commands from CMD and PowerShell as well, only let's start with the easiest way to do it.

Open the Run dialog (Windows key + R) or open Windows Search and run the following command:

          control update        

This will trigger the Windows Update graphical user interface which will kickoff checking for new updates. This method works on all versions of Windows including Windows 10 and Windows 11.

There is another command that will trigger the same effect but only works in Windows 10 and Windows 11:

          ms-settings:windowsupdate        

Run Windows Update from PowerShell (Command-line)

There is no official Windows PowerShell module for Windows Update. PSWindowsUpdate is a third-party module that can exist used to configure Windows updates in Windows. This module is not installed in Windows by default but you tin download it from PowerShell gallery, install and run the module to check for new updates.

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

          Install-Module PSWindowsUpdate        
Install Module PSWindowsUpdate
Install Module PSWindowsUpdate

This will install the Windows Update module in PowerShell.

          Become-WindowsUpdate        
Get WindowsUpdate
Get-WindowsUpdate

This command will bank check for updates.

          Install-WindowsUpdate        
Install WindowsUpdate
Install WindowsUpdate

This control will install the bachelor updates (which were listed in pace two)

The above mentioned command volition only install Windows updates. If you want to update other Microsoft products equally well, you'll demand to enable the Microsoft Update Service as well. Information technology'south pretty piece of cake to enable it using PowerShell:

          Add-WUServiceManager -MicrosoftUpdate        

If you desire to automatically restart your computer after installing all the updates, you tin can run the following command:

          Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot        

Deploy updates on remote computers

The PowerShell module tin as well be used to deploy Windows updates on remote computers. In that location are two commands involved in this process:

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

          $computer = "comp1, comp2, comp3"        

2- Now run the following control to start checking for Windows updates on remote computers:

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

Install specific updates only

If you already know the Commodity kb no. of the specific update you want to install, y'all can run the following command:

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

Replace the KB number with the one you want to install.

Prevent specific updates from installing

You tin prevent specific updates from installing on your computer using the following PowerShell control:

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

Run Windows Update from Command Prompt (Command-line)

Windows Update tin can also be run through legacy CMD to get the latest updates. The only limitation running Windows Update through the control prompt is that it won't evidence any progress. Only results are shown when the process is complete. Let's run into how to run it:

RestartDevice – Restart Windows subsequently updates are installed

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

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

Since the command prompt does not show whatever progress, a meliorate arroyo would be to cheque and install updates at the aforementioned time. Here's the control for this:

          wuauclt /detectnow /updatenow        

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

StartScan – Beginning checking for updates

StartDownload – Start downloading updates

StartInstall – Start installing downloaded updates

Check for Windows updates using Windows Settings

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

  1. Open up Windows Settings (Windows fundamental + i).
  2. Cull Update & Security.
  3. Cull Windows Update from the left hand menu.
  4. Press the Check for updates push on the right manus 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 lot tin exercise this using the steps beneath. There will exist times when the updates become corrupted or for other reasons, you lot merely don't want to install the downloaded updates. In that situation, you lot tin can easily delete the already downloaded updates which will for Windows Update to run again and check for and download the updates once 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 volition detect it every bit installed and will not download information technology again. In that case, you will demand to uninstall the update offset and then force Windows Update to run once again.

Step ane: Open File Explorer and go to This PC.

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

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

Footstep four: Run Windows Update again using the in a higher place mentioned methods. This will strength Windows Update to cheque for the same updates and download them again. The download and install procedure for new updates is completely automatic. You don't need to do annihilation during the download and installation process.

Manage Windows updates using Wuinstall control line tool

Using WuInstall, Information technology 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 system direction tool that tin can be used in a WSUS based or standalone surroundings. To download the latest updates using Wuinstall, you will need to download and install Wuinstall kickoff. Follow the steps below:

Go to http://www.wuinstall.com/ and install the latest complimentary version of Wuinstall on your calculator. Open Command Prompt in administrative mode

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

          wuinstall /search        

This will not simply look for new updates but will too list them in the command window.

To download the updates, run the following command:

          wuinstall /download        

This will download all the bachelor updates from Microsoft servers.

To install the updates, run the following command:

          wuinstall /install        

In that location are a few more switches that you tin use with the install command

/quiet – volition install updates without showing annihilation.

/disableprompt – Disable any input from Windows

/autoaccepteula –  Car-accept any agreement during update installation

/rebootcycle – Install updates on the side by side computer reboot.

How to fix corrupted Windows Update

Sometimes Windows Update files get corrupted and the user is not able to download the files again or install the corrupted update files. In that instance, we need to run a dism control to ready corrupted Windows Update. Here are the steps:

Open the Command Prompt (Run –> cmd) and run the following command:

          dism.exe /Online /Cleanup-image /Restorehealth        

Afterwards successfully running this command, effort force downloading the updates again and the Windows Update should showtime working again.

Other things yous tin exercise with Windows Update:

Disable or bypass awaiting updates on Windows 10 (and Windows 11)

How to forestall a specific update from installing while assuasive all others

How to view and relieve a listing of installed updates in Windows 10 (and Windows 11)

View updates sizes in Windows ten (and Windows xi)

Download any Windows x cumulative update

How to disable automatic restart subsequently installing the updates

How to add update packages to Windows x 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 you want to automate certain Windows functions. What other purposes do you want to employ command line options to run Windows Update?

Also see:

How Do I Start Windows Update Service In Windows 7,

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

Posted by: basssignitere.blogspot.com

0 Response to "How Do I Start Windows Update Service In Windows 7"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel