Task scheduler says task ran successfully but task doesnt run

0 comments

Posted on 25th July 2013 by Mike in Windows 2008 |Windows 2008 R2

, , , , ,

Hi,

We had a task that executed a custom powershell on several servers. It was working fine on all but one server. The task was the exact same on every server. The scheduler said the task completed successfully but when ran manually it was “successful” in less than a couple of seconds.

The action we were executing looked like this:
taskscheduler

Again this worked fine on other servers but one server it didnt work on.

To fix we gave the action the full path to powershell.exe:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
taskscheduler

No comments yet.

Sorry, the comment form is closed at this time.