Task Scheduler jobs now failing with error 0x1

The Scenario

I have Windows Server 2012 R2 Standard installation. I have a requirement for PowerShell scripts to be run automatically, for this I use the Windows Task Scheduler to launch the powershell.exe program.


The Problem

Recently my scheduled tasks have been failing with a last run result error 0x1, and very little other details.

The Solution

Task Scheduler no longer seems to recognise what “powershell.exe” is or what application to launch, hence why the jobs are failing.

To resolve the problem in the program/script field replace “powershell.exe” with the full path name “C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe” and click OK.


In my scenario no other change was required.

Disclaimer: provided “AS IS” with no warranties and confer no rights


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s