How to reboot computer and install updates while rebooting?

62 views Asked by At

I know that one can use ExitWindowsEx API with the EWX_REBOOT flag to reboot computer, but how do you instruct Windows to install updates while rebooting (if any are pending)?

Like this option:

enter image description here

0

There are 0 answers