Pre-booting an endpoint before patching

Pre-booting an endpoint before patching

Can anyone tell me if its possible to add a Pre-boot step to an endpoint (pc) before patching? I often run into patch failures due to the user leaving their PC on with the software I'm trying to patch running. 

I'd like to be able to set the job to reboot the PC if its on before patching as a part of the job. 

Ideas?