Windows Scheduled task succeeds but returns result 0x1
It seems many users are having issues with this. Here are some fixes:
Right click on your task > "Properties" > "Actions" > "Edit" | Put ONLY the file name under 'Program/Script', no quotes and ONLY the directory under 'Start in' as described, again no quotes.
-
Right click on your task > "Properties" > "General" | Test with any/all of the following:
- "Run with highest privileges" (test both options)
- "Run wheter user is logged on or not" (test both options)
- Check that "Configure for" is set to your machine's OS version
- Make sure the user account running the program has the right permissions
I found that I have ticked "Run whether user is logged on or not" and it returns a silent failure.
When I changed tick "Run only when user is logged on" instead it works for me.