Want to eliminate the automatic reboot of a system after it has done downloading and installing patches?
Go To run and type gpedit.msc This will bring up the Local Group Policy Editor
Select Computer Configuration
Select Administrative Templates
Select Windows Components
Select Windows Updates
On the right side where the Setting Keys are select and double click
No auto-restart for scheduled Automatic Update installation”
Check Disable and press OK.