windows10的普通用户使用Task Scheduler的问题
在Create Task 窗口的General选项卡中,在Security options 里有几个单选项,分别是 Run only when user is logged on ,Run whether user is logged on or not。
当选择 Run whether user is logged on or not ,在保存时会提示:This task requires that the user account specified has Log on as batch job rights. For more information about setting this policy, see the Task Security Context topic in Help.
解决方案:
Control Panel -> Administrative Tools -> Local Security Policy -> Local Policies -> User Rights Assignment -> 找到 Log on as batch job 的policy ,
将普通用户加入进去就行了。
以上。
啦啦啦!!!