Maybe try with this

https://www.sync.com/help/how-do-i-stop-windows-firewall-or-defender-from-blocking-sync-from-syncing/

Did you tried to reinstall fivem?