Disable Windows 10 Automatic Restarts after Updates

  1. Click on the Start button and type gpedit.msc, press Enter.
  2. In the Local Group Policy Editor, go to Computer Configuration -> > Administrative Templates -> Windows Components -> Windows Update
  3. Double-click on No auto-restart with automatic installations of scheduled > updates.
  4. Select Enabled, and then click OK.
  5. Close the local group policy editor.

Source