During a Patch installation or SD deployment, a prompt appears (under some specific scenarios) offering some actions to the End User:
This can be disabled.
Client Automation - All versions
In order to disable the Reboot prompt, it's required to change a specific Configuration Policy, which can be found under:
DSM > Common components > CAF > General.
Here, you can find the policy called: CAF Dialog: Enable dialog
Change the Above Setting to False.
More details of this policy can be found here: