command for "check for updates from Microsoft"

Vij 306 Reputation points
2021-09-01T14:34:56.213+00:00

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

128371-checkforupdatesfrommicrosoft.jpg

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,199 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2021-09-01T14:50:50.617+00:00

    wuauclt.exe /detectnow /updatenow

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

    5 people found this answer helpful.

  2. Limitless Technology 39,661 Reputation points
    2021-09-01T16:50:03.457+00:00

    Hello @Vij

    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,

    2 people found this answer helpful.

  3. Limitless Technology 39,661 Reputation points
    2021-09-01T17:45:59.677+00:00

    Hello @Vij

    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,

    2 people found this answer helpful.

  4. MotoX80 34,346 Reputation points
    2021-09-01T21:53:35.96+00:00

    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/

    2 people found this answer helpful.

  5. Alsaeed Mohammad Saleh 0 Reputation points
    2023-10-07T01:16:30.19+00:00

    How can I check from CMD?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.