Task Scheduler
https://technet.microsoft.com/en-us/library/cc748993(v=ws.11).aspx#BKMK_winui
If Task Scheduler is not open, start Task Scheduler. For more information, see Start Task Scheduler.
Find and click the task folder in the console tree that you want to create the task in. For more information about how to create the task in a new task folder,see Create a New Task Folder.
In the Actions Pane, click Create Basic Task .
Follow the instructions in the Create Basic Task Wizard.
配置user account,以system启动
设置trigger
设置conditions
设置settings