当我使用具有管理员权限的域帐户登录服务器并在任务计划程序中创建任务时,我选择以下选项后无法成功保存任务:“运行用户是否登录”和“以最高权限运行“我被提示输入”输入用于运行此任务的用户帐户信息.“当我这样做时,我收到以下消息:
Task Scheduler cannot apply your changes. The user account is unknown,the password is incorrect,or the account does not have permission to modify the task.
This policy is accessible by opening the Control Panel,Administrative Tools,and then Local Security Policy. In the Local Security Policy window,click Local Policy,User Rights Assignment,and then logon as batch job.
听起来这个设置是在组策略的控制之下.您需要在适用于服务器的现有GPO中添加该帐户,或者如果这种情况过于笼统,则可以创建一个仅通过安全过滤应用于该服务器的新GPO.