Quote from The OneSync EAP and you :
You’re not meant to add +set onesync_enabled 1
into your .cfg but in your .bat like this :
C:\Users\wew\this\is\your\server\path\run.cmd +exec my_cfg.cfg +set onesync_enabled 1
Try this and report if you still handle issues.