windows server 2008 task scheduler issue

I try to create task scheduler to run a dtexec.exe. It returns though last run code (0X1), invalid function. However the same string runs fine from a comand prompt. And it is the same user as I  run in task scheduler. Any ideas what is wrong?
Who is Participating?
Mike ThomasConsultantCommented:
Create a batch file to run the .exe then link the batch file to the sechduler.
If you are running that whole command from task scheduler, maybe try encapsulating it in a batch file and running the batch file. Hope this helps
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.