none
Updating task on Windows 2008 R2 produces reference account lockout

    Question

  • We are trying to create a scheduled task on.

    Reference account is a user id which has local admin rights on the server. The task is set to "Run whether user is logged in or not" and the actions includes running a .vbs file

    Initial instances of the tasks were running fine.

    Now,we updated a trigger setting of the task post which task is running successfully but not working as expected.

    VB Script file is made to copy attachments from a specific mail id to a local folder.

    VB Script is running properly using command prompt but not with task scheduler though same .vbs file is used under action tab.

    Log file for this task shows "Task Completed" status but the attachments are not copied to the destination folder which is working perfectly using Command prompt.

    The very next instance, when we tried updating the task and clicked apply , it gave below error:-

    "An error has occurred for task Test. Error message: The following error was reported: The referenced account is currently locked out and may not be logged on to.."


    We are stuck as

    (1) We don't understand why the task was not working when the same vbs file was working with Command prompt.

    (2) Even on entering correct password, why task gave the "reference account locked" error.

    Any insights on how to resolve this would be very much appreciated.


    Tuesday, March 14, 2017 11:06 AM

All replies