Skip to end of metadata
Go to start of metadata

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 Server Sync is a service, it will not start when the server restarts.


Configuring Server Sync to run as a service will not allow the 'Quick Edit' to work.


Install Server Sync to Run as a Service

To register Server Sync as a service:

  1. Download and install Server Sync as usual.
  2. Start it up and enter the URL and credentials as usual.
  3. Configure Server Sync to run as needed.
  4. Uncheck the Option for Automatic Startup on Login.
  5. After settings are done, exit out of Server Sync.
  6. Open the following file for editing:

    %APPDATA%\FileCloudServerSync\syncclientconfig.xml
  7. Make the following changes:

    OptionChangesNotes
    syncclientlocationChange DEFAULT to absolute paths.Make sure it matches the sync client folder that sync has already setup or things won't work.
    skipdelete approvalSet to 1If you don't set this to 1, when files are removed, the Server Sync service will not be able to show the UI prompt.



  8. 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>
    	  <rowentry>
            <name>skipdeleteapproval</name>
            <type>bool</type>
            <value>1</value>
        </rowentry>
    </variantrow>
     
  9. Save your changes and close the file.
  10. Copy the syncclientconfig.xml file you just edited to the following location

    C:\Program Files\FileCloudServerSync
  11. To register the server sync 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 Server Sync Service"
  12. Start the sync app normally using the Services Control Panel applet.
  13. If the app doesn't startup properly, please check the c:\windows\temp\fsservicestartup.log file.


 Stop Server Sync from Running as a Service 

If you are troubleshooting or need Quick Edit to work, you can stop Server Sync from running as a service.

To unregister Server Sync as a service:

  1. Run the following command prompt in Administrator Mode. Note the space after each "=" in each parameter.

sc delete serversync


  • No labels