Windows Vista onwards scheduled tasks fail to run if the path in "Start in (Optional)" field has quotes

Article ID: 2452723 - View products that this article applies to.
Support for Windows Vista Service Pack 1 (SP1) ends on July 12, 2011. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows.
Expand all | Collapse all

SUMMARY

In Windows Vista and onwards, scheduled tasks fail to run if the path in Start in (Optional): field for the task is enclosed within quotes.To workaround this problem, please do not enclose the path in Start in (Optional): within quotes. The quotes are not required even if the path includes spaces.

The Start in (optional): entry is found on the Actions tab of a scheduled task by clicking the Edit button.

MORE INFORMATION

The following events are logged in the "TaskScheduler/Operational log" when the task fails to run:

Note: You can also view these events in the History tab for the task.

Log Name:      Microsoft-Windows-TaskScheduler/Operational
Source:        Microsoft-Windows-TaskScheduler
Date:          <date and time>
Event ID:      103
Task Category: Action start failed
Level:         Error
Keywords:      (1)
User:          <username>
Computer:      <system name>
Description:
Task Scheduler failed to start instance "<instance guid>" of "<task name>"  task for user "<username>" . Additional Data: Error Value: 2147942667.

Log Name:      Microsoft-Windows-TaskScheduler/Operational
Source:        Microsoft-Windows-TaskScheduler
Date:          <date and time>
Event ID:      203
Task Category: Action failed to start
Level:         Error
Keywords:     
User:          <username>
Computer:      <system name>
Description:
Task Scheduler failed to launch action "<action for the task>" in instance "<instance guid>" of task "<task name>". Additional Data: Error Value: 2147942667.

The error code - 2147942667 translates to ERROR_DIRECTORY.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2452723 - Last Review: June 10, 2011 - Revision: 1.1
APPLIES TO
  • Windows Vista Service Pack 1
  • Windows Vista Service Pack 2
  • Windows 7 Professional
  • Windows 7 Enterprise
  • Windows 7 Ultimate
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Service Pack 2
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Datacenter
Keywords: 
KB2452723

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com