Group PolicyConfigure Windows Updates using Group Policy EditorUpdated August 13 2024
Disable auto-reboot for Windows Updates:
Computer Configuration > Administrative Templates > Windows Component > Windows Update
Set "No auto-restart with automatic installations of scheduled updates" to Enabled.