I'm a new user to free file sync. I like the features, but I have one issue. I
run this freefilesync in a batch script that does some file backup copy
commands and then calls freefilesync in batch mode. I remain logged in as a
user and the batch file run every day automatically. If I remain logged in or
maintain a remote terminal session (rdtsc) with the account free file sync
seems to works fine. However if the PC screen is locked, then the batch script
hangs at the free file sync command. Interestingly if I remote terminal to the
PC and even after the PC locks the screen, if I keep the remote(rdtsc) window
open, free file sync works fine. Any ideas?
Hangs when logged off
- Posts: 4
- Joined: 12 Jun 2007
- Site Admin
- Posts: 7279
- Joined: 9 Dec 2007
Is the FreeFileSync batch script running in "silent" mode is error handling
set to "ignore error" or "exit immediately"? If not, in both cases a popup
will stop the progress flow which usually is not desired when called from a
.cmd file.
set to "ignore error" or "exit immediately"? If not, in both cases a popup
will stop the progress flow which usually is not desired when called from a
.cmd file.
- Posts: 4
- Joined: 12 Jun 2007
Hi,
>Is the FreeFileSync batch script running in "silent" mode is error handling
set to "ignore error" or "exit immediately"?
I tried both silent and ignore, but the hang still happens. Another data
point, when it hangs the file sync operation itself completes successfully
because when it happens I do a file compare have never seen any files out of
sync. But the process is still in task manager, and batch file is stuck at the
freefile sync line.
>Is the FreeFileSync batch script running in "silent" mode is error handling
set to "ignore error" or "exit immediately"?
I tried both silent and ignore, but the hang still happens. Another data
point, when it hangs the file sync operation itself completes successfully
because when it happens I do a file compare have never seen any files out of
sync. But the process is still in task manager, and batch file is stuck at the
freefile sync line.
- Posts: 4
- Joined: 12 Jun 2007
Sorry, I meant to say I have set the batch file settings to silent and tried
both ignore and exit immediately with same affect. I will try to look at the
event viewer log for details.
both ignore and exit immediately with same affect. I will try to look at the
event viewer log for details.
- Site Admin
- Posts: 7279
- Joined: 9 Dec 2007
The only explanation I can think of right now is that some popup dialog stops
the progress. With FFS running in silent mode and having error handling set
appropriately there shouldn't be any left.
Anyway, if you can describe some specific steps so that I can reproduce the
issue, I can fix it (if it is related to FFS).
the progress. With FFS running in silent mode and having error handling set
appropriately there shouldn't be any left.
Anyway, if you can describe some specific steps so that I can reproduce the
issue, I can fix it (if it is related to FFS).
- Posts: 4
- Joined: 12 Jun 2007
Hi,
I got some more clues on my issue. I looked at the event viewer logs when the
error happened. Around the time when my batch file runs, the event
viewer->application shows errors reported by LANDESK. My workplace uses
LANDESK which is used by IT to manage computers. I suspect there is some kind
issue with my setup. The error message was not helpful:
"The description for Event ID ( 1 ) in Source ( LANDesk Custom Data Forms )
cannot be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer...."
My workaround seems to be working fine. If I leave an remote desktop session
to the PC (rdtsc) the sync works fine.
I got some more clues on my issue. I looked at the event viewer logs when the
error happened. Around the time when my batch file runs, the event
viewer->application shows errors reported by LANDESK. My workplace uses
LANDESK which is used by IT to manage computers. I suspect there is some kind
issue with my setup. The error message was not helpful:
"The description for Event ID ( 1 ) in Source ( LANDesk Custom Data Forms )
cannot be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer...."
My workaround seems to be working fine. If I leave an remote desktop session
to the PC (rdtsc) the sync works fine.