Starting with 12.0, it is possible to run the sync app as a Windows Service.
Make sure it matches the sync folder and the data folder that sync has already setup or things won't work. Also make sure skipdelete approval option is set to 1. Otherwise if files are removed, sync service will not be able to show the UI prompt.
<?xml version="1.0" encoding="UTF-8" ?> <variantrow> <rowentry> <name>syncclientlocation</name> <type>string</type> <value>C:\Users\Administrator\AppData\Roaming\FileCloudSyncData\client</value> </rowentry> <rowentry> <name>syncfolderlocation</name> <type>string</type> <value>C:\Users\Administrator\Documents\FileCloud</value> </rowentry> <rowentry> <name>skipdeleteapproval</name> <type>bool</type> <value>1</value> </rowentry> </variantrow> |
Register the sync client as a service using a command prompt (Administrator Mode). Note the space after each "=" in each param.
sc create cloudsync binpath= "C:\Program Files (x86)\FileCloudSync\cloudsyncservice.exe" displayName= "FileCloudSync Service" |
sc delete cloudsync |