Skip to content

Commit a905f66

Browse files
committed
update article
1 parent c1d92bb commit a905f66

File tree

3 files changed

+26
-21
lines changed

3 files changed

+26
-21
lines changed

content/Software Support/IDE Settings/Arduino-IDE-wont-open-The-cloud-file-provider-is-not-running.md

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,52 @@ title: "Arduino IDE won't open; The cloud file provider is not running"
33
id: 360021557299
44
---
55

6-
The Microsoft OneDrive On-Demand and the back up features can result in essential files not being available or synchronized. This can lead to issues when starting Arduino IDE on Windows (the initialization window appears and disappears without showing any error message or warning), or to errors during compilation. Learn more about possible solutions.
6+
The [Microsoft OneDrive Files On-Demand](https://support.microsoft.com/en-au/office/save-disk-space-with-onedrive-files-on-demand-for-windows-0e6860d3-d9f3-4971-b321-7092438fb38e) feature allows access to cloud storage files in OneDrive from the File Explorer without downloading them. Since this feature requires an internet connection to synchronize files, it can lead to essential files not being available, creating issues when starting Arduino IDE on Windows (e.g. the initialization window appears and disappears without showing any error message or warning), or errors during compilation (e.g. `The cloud file provider is not running`). Learn more about possible solutions.
77

88
---
99

10-
<a id="disable-on-demand"></a>
10+
<a id="keep-on-device"></a>
1111

12-
## Disable the On-Demand feature
12+
## Disable Files On-Demand for Arduino files
1313

14-
1. Make sure that your internet connection is stable.
15-
2. Open Microsoft OneDrive (look for the OneDrive icon inside the system tray at the bottom-right of the taskbar):
14+
The [sketchbook is located](https://support.arduino.cc/hc/en-us/articles/4412950938514-Open-the-Sketchbook) inside the "Documents" folder by default. Using OneDrive to back up your "Documents" folder with "Files On-Demand" active can lead to sketch or library files not being available when compiling, resulting in the `The cloud file provider is not running` error. To keep OneDrive backup active but disable "Files On-Demand" for the desired files:
1615

17-
![Microsoft One Drive icon inside system tray](img/one-drive-system-tray.png)
16+
1. Go to the File Explorer and navigate to the "OneDrive" folder
1817

19-
3. Click on the settings icon and go to "Settings":
18+
![File explorer OneDrive folder](img/one-drive-folder.png)
2019

21-
![Microsoft One Drive settings selected](img/one-drive-settings.png)
20+
2. Right-click the folder and select **Always keep on this device**.
21+
22+
![OneDrive "Always keep on this device" option selected](img/one-drive-always-keep-on-device.png)
2223

23-
4. Go to "Sync and back up" and click on "Advanced settings":
24+
<a id="move-ide-files"></a>
2425

25-
![Microsoft One Drive with "Sync and back up" and "Advanced settings" highlighted](img/one-drive-advanced-settings.png)
26+
## Move Arduino IDE files to a non-OneDrive folder
2627

27-
5. Scroll down to "Files-On-Demand" and choose "Download all files":
28+
You can also move Arduino IDE files to a folder not synced with OneDrive (note that the files will not be backed up).
2829

29-
![Microsoft One Drive with "Sync and back up" and "Download all files" highlighted](img/one-drive-on-demand.png)
30+
### Sketchbook
3031

31-
6. Allow some time for OneDrive to download the files.
32+
1. Open Arduino IDE.
33+
2. Go to **File > Preferences**.
34+
3. Change the sketchbook location to a folder not synced with OneDrive. For example:
35+
* `C:\Users\username\Arduino`
36+
* Avoid paths like: `C:\Users\username\OneDrive\Documents\Arduino\...`
3237

33-
<a id="install"></a>
38+
### Application files
3439

35-
## Re-install IDE outisde the OneDrive folder
40+
1. [Uninstall Arduino IDE](https://support.arduino.cc/hc/en-us/articles/360021325733-Uninstall-Arduino-IDE) from your computer.
41+
2. [Install Arduino IDE](https://support.arduino.cc/hc/en-us/articles/360019833020-Download-and-install-Arduino-IDE) outside the OneDrive folder. For example:
42+
* `C:\Program Files\Arduino IDE` or `C:\Users\username\AppData\Local\Programs\Arduino IDE`
43+
* Avoid paths like: `C:\Users\username\OneDrive\Documents\Arduino\...`
3644

37-
1. [Uninstall Arduino IDE](https://support.arduino.cc/hc/en-us/articles/360021325733-Uninstall-Arduino-IDE) from your computer.
38-
2. [Install Arduino IDE](https://support.arduino.cc/hc/en-us/articles/360019833020-Download-and-install-Arduino-IDE) outside the OneDrive folder. For example:
39-
* `C:\Program Files\Arduino IDE` or `C:\Users\username\AppData\Local\Programs\Arduino IDE`
40-
* Avoid paths like: `C:\Users\username\OneDrive\Documents\Arduino\...`
45+
If you are using an Arduino IDE [portable installation](https://docs.arduino.cc/software/ide-v1/tutorials/PortableIDE), move the folder to a location outside the OneDrive folder.
4146

4247
<a id="disable-backup"></a>
4348

44-
## Disable back up for the IDE location
49+
## Disabling OneDrive back up
4550

46-
Having the IDE installed in a folder that is backed up by OneDrive (e.g. "Documents") can result in essential files not being available or synchronized. Follow these steps to disable automatic back up:
51+
If you don't want to use OneDrive to back up a specific folder, you can disable it by following the next steps:
4752

4853
1. Make sure that your internet connection is stable.
4954
2. Open Microsoft OneDrive (look for the OneDrive icon inside the system tray at the bottom-right of the taskbar):
35 KB
Loading
39.5 KB
Loading

0 commit comments

Comments
 (0)