Microsoft has enabled Windows Updates by default in Windows 10, without allowing users to disable them. Although some have criticized this decision, it is ultimately for the benefit of customers. ..

  1. Open Command Prompt and type “wusa.exe”
  2. The Windows Update window will open and you will be able to see all of the updates that are available for your computer. You can select which ones you want to install by clicking on the “Install” button.

Ways to Run Windows Update From Command Line

Using Command Prompt

Open Run is a Windows command line tool that allows you to run programs and files from the command line.

Cmd + Shift + Enter to open the Elevated Command Prompt.

curl -XPOST “https://www.google.com” curl -XGET “https://www.google.com/search?q=&btnI"

UsoClient StartScan – Scan for available updates and start the update process.

UsoClient StartDownload – Download and not install the updates or patches that have been scanned for.

UsoClient will start the installation of all the updates that have been downloaded. ..

UsoClient ScanInstallWait – Scans, downloads, and installs the updates and then waits for the updates to finish.

If you are experiencing problems with the update installation, you can restart your computer to complete the update installation. ..

UsoClient ResumeUpdate – Updates the installation of the latest update after a reboot.

To refresh the update settings on your UsoClient, go to Settings > Updates and select the “Refresh Settings” option. ..

Using PowerShell

Press Win + R to open the Run dialog box.

Open Elevated PowerShell by entering pwsh instead of powershell

To install the Windows Update Module, enter the following command: “Install-Module PSWindowsUpdate” ..

On the prompts, type Y and press Enter.

sudo update-rc.d nvidia-settings defaults sudo apt-get update && sudo apt-get install nvidia-driver

Get-WindowsUpdate - UpdateStatus Get-WindowsUpdate - Scanner

To install updates on your computer, run the Install-WindowsUpdate cmdlet. This cmdlet downloads and installs all available updates. ..

Get-WindowsUpdate -AcceptAll -Install -AutoReboot – Downloads and installs all the available updates while automatically rebooting the PC after the installation if necessary. Get-WindowsUpdate -AcceptAll -Install – AutoReboot – Downloads and installs all the available updates while automatically rebooting the PC if necessary, but does not accept any that are not needed.

To install the KB5017859 update, use the Get-WindowsUpdate cmdlet to find the available updates with an article ID of KB5017859. Then, use the Install-WindowsUpdate cmdlet to install the update. ..

Final Words

To run Windows Update from the command line, you need to be running a version of Windows 10 that has the Update Services feature enabled. To enable Update Services, open the Start menu and type “netstat -an”. If you see the following message, your computer is using an older version of Update Services: WindowsUpdateServer Version 6.1.7601.17514 You can update your computer by using the following steps:

  1. Open an elevated command prompt and type “netstat -an” to view all active network connections on your computer.
  2. If you see any connections that look like they might be related to updates, right-click on one of them and select “Properties” from the context menu. The “Update Services” connection will be listed in this list.
  3. In the “Update Services” connection properties window, click on the “Enabled” checkbox and then click on the “Delete Connection” button to close it.