今日需要在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,問題解決。