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 program
Add arguments (optional)=
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
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.