It is recommended that you run ServerSync as a service.
-
Synchronization of a local Windows File Server with a FileCloud Server or FileCloud Online (hosted by CodeLathe) is usually unattended and is configured to run automatically
-
If a file server is unattended, it can restart without an administrator, and unless ServerSync is a service, it will not start when the server restarts.
Note the following limitations when running ServerSync as a service:
-
Quick Edit does not work when ServerSync is run as a service.
-
Only password authentication is effective when ServerSync is run as a service; device authentication and other methods do not work.
Install ServerSync to Run as a Service
To register ServerSync as a service:
-
Download and install ServerSync as usual.
-
Start it up and enter the URL and user name (or email address) and password as usual.
-
Configure ServerSync to run as needed.
-
Uncheck the Option for Automatic Startup on Login.
-
After settings are done, exit out of ServerSync.
-
Open the following file for editing:
%APPDATA%\FileCloudServerSync\syncclientconfig.xml -
Make the following changes:
Option
Changes
Notes
syncclientlocation
Change DEFAULT to absolute paths.
Make sure it matches the sync client folder that sync has already setup or things won't work.
-
Your code should look similar to the following example:
<?xml version="1.0" encoding="UTF-8" ?> <variantrow> <rowentry> <name>syncclientlocation</name> <type>string</type> <value>C:\Users\Administrator\AppData\Roaming\FileCloudServerSyncData\client</value> </rowentry> </variantrow> -
Save your changes and close the file.
-
Copy the syncclientconfig.xml file you just edited to the following location
C:\Program Files\FileCloudServerSync -
To register the ServerSync client as a service, run the following command prompt in Administrator Mode. Note the space after each "=" in each parameter.
sc create serversync binpath= "C:\Program Files\FileCloudServerSync\fssyncservice.exe" displayName= "FileCloud ServerSync Service" -
Start the sync app normally using the Services Control Panel applet.
-
If the app doesn't startup properly, please check the c:\windows\temp\fsservicestartup.log file.
Stop ServerSync from Running as a Service
If you are troubleshooting or need Quick Edit to work, you can stop running ServerSync as a service.
To unregister ServerSync as a service:
-
Run the following command prompt in Administrator Mode. Note the space after each "=" in each parameter.
sc delete serversync