locked
Task Scheduler wont run when set to "Run whether user is logged on or not" RRS feed

  • Question

  • Hi

    I have two 2008 R2 servers with the same task and pretty much the same powershell script the schedule is running.  The powershell just runs a daily snapshot of the server.  One server it runs fine with  "Run whether user is logged on or not" selected.  But when selected on the second server it won't run.  I mean, the schedule says its run, but the poweshell doesn't launch and do its job.  Everything is the same on each server apart from what is being snapshotted.  Even the location of where the snapshot is going is the same.  Same domain account, same password.  When I change it to "Run only....." it runs fine.  But the server may not be logged in all the time, so I need it to run whatever.

    Any help would be greatly appreciated.

    Thanks

    Matt 

    Friday, February 28, 2014 5:28 PM

Answers

  • I'd check in the windows system and application event logs. Also check the task log.

    Event Viewer\Applications\Microsoft\Windows\TaskScheduler\Operational

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by Andy Qi Monday, March 3, 2014 10:42 AM
    • Marked as answer by Andy Qi Tuesday, March 11, 2014 2:06 AM
    Friday, February 28, 2014 6:07 PM