I actually am a Windows user and always have been but I've never been a Windows fanboy. I use it because that's the most common operating system and I feel that a developer can most effectively test when they are using the same environment as the users. However, with every new version of Windows I get more and more disgruntled. I just upgraded to Windows 10 and I think that may be the last straw. I'll use it until it's obsolete and then I'll probably be switching to Linux. I don't use OneDrive. It might be a useful feature but I don't really trust anything Microsoft. I just want the basic Windows OS, not all the bloat they force on you with it. I would like to have the option of installing things like OneDrive. Even though I have turned the feature off, I still have this special OneDrive folder that I can't delete. Even worse is this "3D Objects" folder. Ok, maybe that program is useful to some people but there's absolutely no reason for there to be some special Windows folder for it, just let people put their 3d objects in any folder they like! Just because 3d printing is the hype right now they had to screw up my file system.
OK, rant over.
You can set your sketchbook folder to any location you like in the Arduino IDE at File > Preferences > Sketchbook location. You can copy the contents of your current sketchbook folder to that location. It's unfortunate that the default location chosen by the Arduino IDE is in the OneDrive folder since there is this bug with Go and OneDrive and the errors it causes are not obviously caused by OneDrive.