I have two pieces of software and the sequence of install is as followed:

1. Install software 1
2. Restart
3. Install software 2

A restart is a requirement otherwise software 2 will not install. However I do not want the system to restart randomly because someone may be using the machine and even if it did restart I need a way to automatically kick off the second install.

My plan is to use SCCM to run a script to install software 1 then set a scheduled task to do a one time install of software 2 on the next restart. However I cannot get the scheduled task to work correctly.

I have tried using the SYSTEM account however from what I understand, the SYSTEM account does not have permission to launch anything. I have tried using a domain account but the command is not accepted with an error of not being supported.

Can someone help!