win11pro, 22h2
In brief.
I have a batch file with robocopy commands which seems works fine when launched manually; but, if I have it launch from the task scheduler, it seems to fully run and disappears (expected behavior), but according to the system scheduler, it keeps running.
Details
I have what should be a simple thing to do.
I want to mirror some of my AppDATA onto a folder on another internal HDD. This is to backup the appdata in case of a system failure.
I am running Robocopy commands in a batch file:
(probably not relevant: The target folder is monitored by SyncThing, and then synced with another PC on my LAN. This target folder is internal to my system, via SATA. The c drive is on an NVMe drive.
I have changed to highest privileges, no change.
I have changed the run as to Win10, no change.
I have added the location of the bat file in the "action" section ("start in"), no change.
It seems to complete it's run in the scheduler, but it says it's still running. This is to be scheduled to run once a day, but if it's still running, I am unsure that it will start up again.
thanks
In brief.
I have a batch file with robocopy commands which seems works fine when launched manually; but, if I have it launch from the task scheduler, it seems to fully run and disappears (expected behavior), but according to the system scheduler, it keeps running.
Details
I have what should be a simple thing to do.
I want to mirror some of my AppDATA onto a folder on another internal HDD. This is to backup the appdata in case of a system failure.
I am running Robocopy commands in a batch file:
Code:
Robocopy AppDATA_folder Target_folder /MIR /E /R:0 /DCOPY:T
exit
(probably not relevant: The target folder is monitored by SyncThing, and then synced with another PC on my LAN. This target folder is internal to my system, via SATA. The c drive is on an NVMe drive.
I have changed to highest privileges, no change.
I have changed the run as to Win10, no change.
I have added the location of the bat file in the "action" section ("start in"), no change.
It seems to complete it's run in the scheduler, but it says it's still running. This is to be scheduled to run once a day, but if it's still running, I am unsure that it will start up again.
thanks
My Computer
System One
-
- OS
- Win11pro
- Computer type
- PC/Desktop