Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Schtask command may be unable to create a task in Windows Server 2003 or in Windows XP Professional x64 Edition


View products that this article applies to.

Symptoms

When you try to run the Schtasks /create command to create a task in Windows Server 2003 or in Windows XP Professional x64 Edition, you may receive the following error message:
ERROR: The creation of the scheduled task failed.
Reason: The Task Name may not contain the characters: <, >, :, /, \,|.
However, the task name that you specify has no invalid characters.

↑ Back to the top


Cause

The Schtasks command verifies the task name by comparing the task name with an invalid character set. If the task name contains one or more characters from the invalid character set, the Schtasks command denies the task creation request.

However, in race conditions, the invalid character set may contain a valid character. Therefore, the Schtasks command cannot create some tasks even if the task names contain only valid characters.

↑ Back to the top


Resolution

Hotfix for Windows Server 2003

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must be running Windows Server 2003 R2 on the computer.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Server 2003 with Service Pack 1, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sctasks.exe5.2.3790.3253158,72024-Nov-200813:41x86
Windows Server 2003 with Service Pack 1, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Sctasks.exe5.2.3790.3253208,38428-Nov-200801:51x64SP1Not Applicable
Wsctasks.exe5.2.3790.3253158,72028-Nov-200801:51x86SP1WOW
Windows Server 2003 with Service Pack 1, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Sctasks.exe5.2.3790.3253356,86428-Nov-200801:51IA-64SP1Not Applicable
Wsctasks.exe5.2.3790.3253158,72028-Nov-200801:51x86SP1WOW
Windows Server 2003 with Service Pack 2, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Sctasks.exe5.2.3790.4418158,72026-Nov-200811:24x86
Windows Server 2003 with Service Pack 2, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Sctasks.exe5.2.3790.4418208,38428-Nov-200801:58x64SP2Not Applicable
Wsctasks.exe5.2.3790.4418158,72028-Nov-200801:58x86SP2WOW
Windows Server 2003 with Service Pack 2, Itanium-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Sctasks.exe5.2.3790.4418356,86428-Nov-200801:55IA-64SP2Not Applicable
Wsctasks.exe5.2.3790.4418158,72028-Nov-200801:55x86SP2WOW

Hotfix for Windows XP Professional x64 Edition

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

To apply this hotfix, you must be running Windows XP Professional x64 Edition on the computer.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows XP Professional x64 Edition
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Sctasks.exe5.2.3790.3253208,38428-Nov-200801:51x64SP1Not Applicable
Wsctasks.exe5.2.3790.3253158,72028-Nov-200801:51x86SP1WOW
Windows XP Professional x64 Edition with Service Pack 2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Sctasks.exe5.2.3790.4418208,38428-Nov-200801:58x64SP2Not Applicable
Wsctasks.exe5.2.3790.4418158,72028-Nov-200801:58x86SP2WOW

↑ Back to the top


Workaround

To work around the issue, use the AT command to create tasks. For more information about the AT command, visit the following Microsoft Web site:

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base: -
824684� Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbexpertiseadvanced, kbfix, kbautohotfix, kbsurveynew, kbqfe, kbhotfixserver, KB960608

↑ Back to the top

Article Info
Article ID : 960608
Revision : 1
Created on : 12/12/2008
Published on : 12/12/2008
Exists online : False
Views : 239