Recently, I encountered an error (0x4) when executing a task with a computer’s task plan. It’s OK to run the script alone, but I will report an error (0x4) in the task plan and it’s not executed. Let’s talk about my solution
1. First of all, your script can be executed successfully under DOS command,
2. Then right click“Create basic tasks”In particular:no“New task”, many people’s problems are in this place, and then according to the steps to complete the setting!
3. Then right click the task to “run” and try to see if it is successful. If a friend has a different solution, please introduce it to Xiaobian in the comments, and we will update it in time.