Scheduled task error 0x1

I have seen many users facing a problem to run a (.bat) batch file using Windows Server 2008 R2 task scheduler returns with an error code 0x1.


First thing to remember, instead of giving full path in the program/script textbox, use the Start in (Optional) field to put the folder that the .bat file.

Second thing, make sure you select the ‘Run with highest privileges‘ check box.

Hope this trick will be helpful.