banner



How To Update Your Microsoft Computer From Command Line

Download PC Repair Tool to speedily find & fix Windows errors automatically

Windows Updates can exist run from PowerShell and Command Prompt in Windows 11/10. In this article, we will be checking out how to do it. Windows Update is ane of the most highlighted features of Windows ten. Because with the release of Windows 10, Windows was offered to the customers as a service rather than a product. Under the scenario of Software equally a Service, this led to the Windows Updates on Windows 10 being on by default and without an option for anyone to disable information technology.

Now, while some criticized this motility past Microsoft, ultimately this is a step towards the customer's greater good. Because Windows Update helps the users stay secured against all kinds of threats and provide them with the latest and the greatest from Microsoft. So, for those who appreciate this service, today we are going to talk about some other way to run these updates.

Run Windows Updates from Command Line

The post-obit methods will be carried out to run Windows Update from Command Line on Windows 11/10-

  1. Using Windows Powershell.
  2. Using Command Prompt.

1] Run Windows Update using Windows Powershell

Running Windows Updates on Windows Powershell will require you lot to manually Install the Windows Update module, Get Windows Updates downloaded and Install Windows Updates. And for this, open Windows Powershell by searching forPowershellin the Cortana search box and run it with Administrator level privileges.

Install the PSWindowsUpdate Module

Type in,

Install-Module PSWindowsUpdate

to install the Windows Update module for Windows Powershell.

Check for Updates

Afterward that,

Get-WindowsUpdate

to connect to the Windows Update servers and download the updates if plant.

Install Updates

Finally, type in,

Install-WindowsUpdate

to install the Windows Updates downloaded on your computer.

Cheque for Microsoft Updates

Add together-WUServiceManager -MicrosoftUpdate

Install specific updates only

Get-WindowsUpdate -KBArticleID "KB1234567" -Install

Hide specific Update

Install-WindowsUpdate -NotKBArticle "KB1234567" -AcceptAll

Skip Updates belonging to specific categories

Install-WindowsUpdate -NotCategory "Drivers","FeaturePacks" -AcceptAll

2] Run Windows Update using Command Prompt

Command Prompt on Windows Operating Systems exists since a very long time whereas Windows Powershell is comparatively new. Hence, it has similar capabilities to run Windows Updates, merely the highlighting point here is that y'all do not need to download any module for Windows Updates.

Get-go, open Control Prompt by searching forcmdin the Cortana search box and run it with Administrator level privileges.

Click onYesfor the UAC Prompt that you get.

Finally, type in the following commands and hit theEntercardinal in order to perform the respective operations,

run Windows Updates from Command Line

Outset checking for updates:

UsoClient StartScan

Start downloading Updates:

UsoClient StartDownload

Start installing the downloaded updates:

UsoClient StartInstall

Restart your device later installing the updates:

UsoClient RestartDevice

Check, Download and Install Updates:

UsoClient ScanInstallWait

It is worth noting that, the Command Prompt commands mentioned in a higher place are merely meant for Windows xi/ten only.

Related read: How to Update Drivers using Command Prompt.

Hope you find this post useful.

run Windows Updates from Command Line

Ayush has been a Windows enthusiast since the day he got his first PC with Windows 98SE. He is an active Windows Insider since Day 1 and is now a Windows Insider MVP. He has been testing pre-release services on his Windows 10 PC, Lumia, and Android devices.

Source: https://www.thewindowsclub.com/how-to-run-windows-updates-from-command-line-in-windows-10

Posted by: mccoolregaserig.blogspot.com

0 Response to "How To Update Your Microsoft Computer From Command Line"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel