Batch file not running w/ Task Scheduler

Get help for specific problems
Posts: 2
Joined: 18 Mar 2019

nettech_gt04

I have created a batch file to sync (mirror) from a local HD to a HD on my NAS. When I double click the batch file it runs and there are no errors. However when I run it via "Scheduled Task" it never runs... The errors in the Free File Sync logs change depending on how the path to the NAS drive is formatted.
Attachments
Task.docx
(89.1 KiB) Downloaded 73 times
Local_backup_to_Safe 2019-03-17 212133.226 [Error].log
(1.21 KiB) Downloaded 61 times
Local_backup_to_Safe 2019-03-17 211934.782 [Error].log
(1.13 KiB) Downloaded 57 times
User avatar
Posts: 2524
Joined: 22 Aug 2012

Plerry

The log-message "Cannot find the following folders: \\192.168.1.14\SageBackup" suggests you may be running your Scheduled Task under user credentials that have no access to your NAS location \\192.168.1.14\SageBackup.
By default, Scheduled Tasks are run as the "System" user, which almost certainly does not have access to \\192.168.1.14\SageBackup. You should select to run your Scheduled Task under Windows user credentials for which in the Credential Manager proper network credentials are stored under which your NAS will allow access to its SageBackup share.
Posts: 2
Joined: 18 Mar 2019

nettech_gt04

I added a new user on my NAS that matches the account being used with the Task Scheduler. The batch file now runs via the Task Scheduler. Thanx!