Not necessary anymore, found the solution, it's described very well in:
http://myousufali.wordpress.com/2012/05/21/scheduled-task-error-0x1/
Cheers
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'm trying to run a .cmd file from Task Scheduler so that I can schedule it daily. The .cmd file runs fine when I run it manually, and uses cURL to relate to a website and download a file.
I've tried many options, obviously to start a program "cmd.exe" or "cmd" and parameters/start in C:\path\to\file and many variations to this. Also, I've tried C:\path\to\file directly in the "start a program" box. The errors that i'm getting range from 0x1 to 0xc000013a. Sometimes a shell opens up, but the file is not executed since no download is resulting (like when performed manually).
If you could give me a hint which are the steps (what to enter where) to schedule a .cmd file that would be great, i'm rather newbie to this...?
Users' autorisations should not be an issue as i'm the only one operating the computer with admin rights. also i've set all the autorisations to "permitted' in the properties of the .cmd file.
Thanks and regards
Valentino
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Not necessary anymore, found the solution, it's described very well in:
http://myousufali.wordpress.com/2012/05/21/scheduled-task-error-0x1/
Cheers
Hi Valentino,
Thank you for sharing the information here, this might help others if they come across same issue.
Hi Valentino,
Please post your question on TechNet Forums, Where we have support professionals who are well equipped with the knowledge on these kind of issues, to do that please visit the below provided link.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=w7itpro
Hope this information helps you. Please do let us know if you need further assistance, we’ll be happy to help you.