How to know wusa is finished to install the update

ping yang 1 Reputation point
2021-12-16T15:28:27.97+00:00

I want to using wusa to install update

but I can't get the finished state

How to get the state or signal?
I want get more detail.

Tks a lot!

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 36,401 Reputation points
    2021-12-17T14:26:53.53+00:00

    I suspect that the "finished state" depends on what update you are installing and what command line switches you use. If the update requires a reboot, then the update isn't really complete until after the reboot.

    Like all executables, the program will exit with some code. From a command prompt this can be viewed with the %errorlevel% variable.

    https://serverfault.com/questions/576154/is-there-the-full-list-of-return-codes-for-wusa-exe

    If you want more details, then specify a log file on the command line. You can then query that file for messages.

    158599-capture.jpg

    1 person found this answer helpful.
    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.