今日需要在Windows 2008上面修改一个schedule task,将Security options里面的Run only when user is logged on改为Run whether user is logged on or not, 保存密码的时候收到一个错误:
specified logon session does not exist. it may already have been terminated
新建task也不行。感觉和组策略有关系,上网查找,果然和Computer Configuration - Windows Settings - Security Settings - Local Policies - Security Options下面的Network access: Do not allow storage of credentials or .NET Passports for network authentication"有关,将其disable,问题解决。
转载于:https://blog.51cto.com/itsupp/764177