Arduino and OneDrive

A couple of years ago, there was a discussion of OneDrive causing problems with the Arduino IDE. I'm running Windows 11. My experience is that even after deleting the OneDrive app, the OneDrive folder persists and subsumes some Arduino files. Trying to move those files and then deleting the OneDrive folder fails to solve the problem because the OneDrive folder gets recreated. Anyone else encountering this issue?

I moved your topic to an appropriate forum category @mike1648 .

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

1 Like

Hi @mike1648.

This problem might be caused by Arduino IDE being configured to use that location for your "sketchbook" folder. If so, the solution will be to change the location in the IDE preferences:

  1. Select File > Preferences from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Check the path that is configured in the "Sketchbook location" preference in the "Preferences" dialog.
    If it is set to a path under the OneDrive folder, change the preference to any other convenient location on your computer.
  3. Click the "OK" button in the "Preferences" dialog.
  4. Move any files of value from the OneDrive folder.
    Any Arduino files can be moved to the new sketchbook location.
  5. Delete the OneDrive folder.

After that, the OneDrive folder should no longer be recreated by Arduino IDE.

Great suggestion, and I believe it is working! Many thanks.

You are welcome. I'm glad it is working now.

Regards,
Per

You succeeded where Microsoft failed!

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.