I have created a batch file to mirror my WD MyCloud Home drive (Z) to a local external drive (F). When I manually click on the batch file (on desktop), everything works well, and the mirroring takes place.
I followed the directions to create a task for this in Windows 10 Task Scheduler. For the action, I pointed to the FreeFileSync exe file, and for the Argument I pointed to the batch file. When I run the task, however, I get the following error code (in FreeFileSync):
"Cannot find the following folders: Z:\________" and under it
"Cannot read file attributes of Z:\." and also
"ERROR_PATH_NOT_FOUND: The system cannot find the path specificed. [GetFileAttributes]"
I can manually click on the batch file immediately after getting this error, and it works perfectly. This erro only happens when running the task.
What am I doing wrong?
Error with Task Scheduler
- Posts: 2
- Joined: 13 Jul 2021
- Posts: 2
- Joined: 13 Jul 2021
Thank you. Based on the article you provided, I removed the "run with highest privileges" check from the Task Scheduler checkbox, and it appears to work well now. I appreciate your help.