For the past couple of days, I have been trying to code a simple script in VB for Windows 7/10, to create a scheduled task in Task Scheduler.
The only working code I can find is this one: https://msdn.microsoft.com/en-us/library/windows/desktop/aa446862(v=vs.85).aspx
My only issue is I need the task to run at "Startup" that code works on a timer.