Batch for runing Windows update

Deivid 6 Reputation points
2020-07-31T05:24:04.143+00:00

Hi.
I am trying to run Windows 10 updates with a batch file, but I seem to have hit a wall. There used to be wuauclt.exe that did the job but apparently it has been replaced with UsoClient.exe that seems to do nothing what so ever.

So, I ask you (Microsoft), how do you get updates runing from command line?

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,947 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Teemo Tang 11,416 Reputation points
    2020-07-31T06:57:58.007+00:00

    Welcome to Microsoft Q&A Platform.
    This batch may help you.
    How to use Batch file to download & install Windows Updates on Windows 10
    https://www.thewindowsclub.com/batch-file-to-download-install-windows-updates

    Besides, there is a good script from StuartGeeves for feature upgrade.
    Windows 10 Feature update via cmd, Powershell or GPO
    https://social.technet.microsoft.com/Forums/windows/en-US/51104081-4ed7-4fdd-8b12-5d1f5be532ae/windows-10-feature-update-via-cmd-powershell-or-gpo?forum=win10itprogeneral
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    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.