Quist

New Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Quist

  1. Does anyone knows if this issue has been solved in newer versions of Resilio? I evaluated V2.3.? some years ago but couldn't get it to work properly due to the reasons that PCman describes above. When an updated file was synchronized from one server to another it was first copied to the .sync folder and then moved to its final destination meaning that it would not inherit the permissions from the destination folder but rather keep the permissions of the .sync-folder. For this to work in a setup with many subfolders with different permissions a sync task had to be created for each individual folder to get separate .sync folders to which correct permissions could be set. I found this to be way to painful to administer and abandoned Resilio although I liked almost everything else with the program.
  2. Just realized that sc.exe doesn't work if the exe wasn't programmed to run as a service (which BTSync apparently isn't). As has been explained early in this thread the trick is to use srvany.exe (found in the Windows Server 2003 resource kit on Microsofts homepage, it works also with newer versions of Windows) Use "sc " to create a new service that launches "srvany " (e.g. sc create MyService binPath= C:\Windows\System32\srvany.exe DisplayName= "MyService" ) Using RegEdit : create a "Parameters " key for your service (e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyService\Paramaters\ ) Using RegEdit : within the newly created "Parameters " key , create a string value called "Application " and enter the full path to the BTSync application. (No quotes required.) In the Service manager right click on your new service, choose properties and enter the user credentials for the user which BT Sync is installed under. Start your service and cross your fingers!
  3. Predefined hosts can only be used when syncing folders but not when syncing devices. Is there any special reason for this? If not I think the feature of finding devices from predefined hosts should be added. In corporate networks proxies, firewalls etc. will most likely block tracker- and relay servers leaving predefined hosts as the only option.
  4. I'm on 2.1. Where is 1.4.111 installed, is it under program files? My IT department will defenitely not like NSSM to be installed on the machine (hard enough with BTSync) since this is a corporate server so I hope to find a solution with sc.exe. I will try with 1.4.111. Thanx!
  5. Reviving this thread since it seems as if a built in solution for runing BTSync as a service still is missing. I need to start BTSync as a service on Windows Server 2008 where normally no user is loged in. My plan is to use sc.exe (included in Windows) to create the service and as far as I understand the command should then be: sc create BTSync binpath= "C:\Users\xxxxx\AppData\Roaming\BitTorrent Sync\BTSync.exe" start= auto This creates the service but it is not started. When I try to start the service from the Windows "Services GUI" I get a message saying: "Windows could not start the BTSync service on Local Computer. Error 1053: ...." I see that the service is run as "Local System" and not as my user. The best way to solve this would be to get BTSync installed somewhere else than under %USERPROFILE% for example under Program Files so Local System can reach it but I haven't manage to do this. Does anyone knows if it is possible. The other option seems to be to let the service log on as my user. I have supplied user name and password in the Log On Tab in the service properties but it still dosn't work. Same error as above. Any ideas?
  6. On Windows for me the program automatically installs to "%USERPROFILE%\AppData\Roaming\BitTorrent Sync" and I have found no way to change this. Is it possible? It feels a bit strange to have a program installed in the user profile path and not in "Program Files". My real problem is that I try to run the program as a service on a Windows Server 2008 (using SC.exe) but since the program is located under my user profile the service that is run from "Local System" can't access it.