onedrive problem

IDE Preference file drive paths are being altered on Windows 10 to the OneDrive. Is there an explanation for this mechanism ?

I am using Windows 10.
Onedrive is disabled, but was enabled for a few days.
Arduino sketches are NOT under a Onedrive folder.
I am not using a portable version of the IDE.
The sketch folder path, and all other paths, have all been edited to point at the Arduino folder.
Each time I launch the IDE the preference file is changed internally so all folder paths again point at the Onedrive. I have repeated this experiment 5 times, and it continues to alter the preferences file.
The preference file location has been confirmed as the file source, i.e. it isn't reverting to some other directory.

I have reloaded the IDE, now running 1.8.10, the latest.

Something in the IDE seems to be remembering the Onedrive, or it is using a stored directory path from the Windows environment to re write the preference file on every IDE launch.

Any ideas would be appreciated. I have read through quite a few threads here and tried some ideas, nothing seems to prevent this over writing.