1. 程式人生 > >windows10的普通使用者使用Task Scheduler的問題

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 ,

將普通使用者加入進去就行了。

 

以上。