Windows Update flow which will automatically download and install relevant patches from Windows web site/WSUS server .
1. Verify if Windows update service is running, if not will start it.
2. Copy the windows update script from repository (Script attached , you need to rename it to VBS).
3. Verify if restart is require in order to finish the patches installation , and will restart the server if needed.
4. Check if more updates are needed once the server start up again , if needed new updates will be installed.
Continue Windows update until no more updates are available.
This document was generated from the following discussion: Nolio Official KB: Windows Automatic Update Flow