One of the most annoying features of Windows is its ability to restart your machine automatically once you've installed Windows updates. This issue becomes even more annoying if for instance you leave things running overnight to continue next morning, or leave your machine running while you go grab some lunch. Thankfullly it really quick and easy to fix.
- Open Local Group Policy Editor by typing gpedit.msc in the Start Search and hit Enter.
- Now go to Computer Configuration > Administrative Templates > Windows Components > Windows Update on the left sidebar.
- Now in the main window, select "No auto-restart with logged on users for scheduled automatic update installations" and enable that setting.
All done, you should no longer have to worry about Windows restarting itself!