question

Vijay-3828 avatar image
0 Votes"
Vijay-3828 asked DSPatrick commented

command for "check for updates from Microsoft"

is there any command line to run "Check for updates from Microsoft updates"

128371-checkforupdatesfrommicrosoft.jpg


windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick commented

wuauclt.exe /detectnow /updatenow

--please don't forget to upvote and Accept as answer if the reply is helpful--



· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking if there's any progress or updates?

--please don't forget to upvote and Accept as answer if the reply is helpful--



0 Votes 0 ·

Hi @DSPatrick

Thanks for your support, is there any way to find what are the KBs scanned or running now?

0 Votes 0 ·

Glad to hear, you're welcome.

any way to find what are the KBs scanned or running now?

Simplest may be to run this PowerShell

(Get-HotFix | Sort-Object -Property InstalledOn)

--please don't forget to upvote and Accept as answer if the reply is helpful--









0 Votes 0 ·

The command wuauclt.exe is scan with WSUS whatever required KBs will install right ? or the command will connect with Microsoft and the required KBs will install?

0 Votes 0 ·
Show more comments
LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered Vijay-3828 commented

Hello @Vijay-3828

I found out that the easiest way to force Windows update check is to use a command in the Run dialog. There are other commands from CMD and PowerShell as well.

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 start 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


Please don't forget to upvote and accept as an answer if the reply is helpful.

Regards,

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


Hi @LimitlessTechnology-2700

Using this command ( ms-settings:windowsupdate), any parameter / switches are there which is equal to "check for update from microsoft"

0 Votes 0 ·
LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @Vijay-3828

Additionally,

There are lot of commands to check and run particular update or find exact update. Few of them discussed in the below forum,

https://social.technet.microsoft.com/Forums/lync/en-US/edaac7af-d67f-4162-85ec-c24a78edaf03/commandprompt-to-check-installed-windows-updates?forum=winserverManagement

--please don't forget to upvote and Accept as answer if the reply is helpful--

Thanks,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MotoX80 avatar image
0 Votes"
MotoX80 answered

is there any command line

You can install this module from the gallery and use Powershell.exe from a command line to list and install updates.

https://marckean.com/2016/06/01/use-powershell-to-install-windows-updates/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.