Spark and roaming profiles

Hello guys. I am using Spark 2.5.8 in a domain where user profile folder is syncronized with the server. So Spark settings are stored in \server\profile$%username%\spark. When user moves to another machine multiple versions of spark.settings are being created on the server which then causes Spark to crash. What would be an easy way to fix it? Thank you.