After creating a scheduled task after following this Superuser question, I can successfully start a service without the UAC prompt. The options selected were:
Start a programProgram\script=C:\Windows\System32\net.exeAdd arguments (optional)=start "SERVICE-NAME"
Then in a batch file I call schtasks /run /tn TASK-NAME. After testing this, I created a shortcut to the batch file and set the Run option to Minimised.
This all works except that when the actual service is started, a maximised command prompt window pops up with the single line The SERVICE-NAME service is starting. This then disappears after a few seconds.
How do I tell Task Scheduler to start the target program silently (or minimised) without the pop-up? If the pop-up command prompt were minimised that would be fine.
Run whether user is logged on or notis selected as well which I didn't see mentioned in the linked post... check here for common troubleshooting guidance as well: https://superuser.com/questions/1005192/problems-scheduling-a-task-on-windows7/1005216#1005216 – Vomit IT - Chunky Mess Style Oct 03 '17 at 04:16