Guest SteveJHU Posted February 15, 2008 Posted February 15, 2008 Hi, I think I've come accross a bug in the SCHTASKS command on 64-bit versions of Windows Server 2003 (standard and enterprise) R2 SP2. When I try to use SCHTASKS to create a scheduled task, and the task name contains the letter "D", the command fails with an error message that states: "Reason: The Task Name may not contain the characters: <, >, :, /, \,|." If I remove the letter "D" from the task name, the task is created fine. Has anyone else experienced this or can verify this? I've only seen this on at least two 64-bit servers, but not on any 32-bit servers. ===== Here was the syntax of my command: This one did not work- SCHTASKS /Create /TN "D" /TR "notepad.exe" /RU SYSTEM /SC WEEKLY /MO 1 /D FRI /ST 21:30 This one did work- SCHTASKS /Create /TN "E" /TR "notepad.exe" /RU SYSTEM /SC WEEKLY /MO 1 /D FRI /ST 21:30 ===== Thanks, Steve
Recommended Posts