New
#21
Matthew,
In this particular case,
1 You have provided the script for the OP already so that aspect has been taken care of.
2 Elevated Shortcut without UAC - TenForumsTutorials provides the explanation of how to set up the task in Task scheduler so that the script can be called without an admin prompt being provoked.
3 My article Make Task scheduler run a batch file minimised and with a specific icon - TenForums can therefore focus on the matter of running minimised & with a specific icon - if, that is, the OP wants to have these enhancements [the OP might be happy to tolerate the brief flash of the script's command window appearing].
If you or the OP have any problems working through my article then you can post your queries here and I'll deal with them.
All the best,
Denis