You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/Software Support/IDE Settings/Arduino-IDE-wont-open-The-cloud-file-provider-is-not-running.md
+26-21Lines changed: 26 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,47 +3,52 @@ title: "Arduino IDE won't open; The cloud file provider is not running"
3
3
id: 360021557299
4
4
---
5
5
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.
7
7
8
8
---
9
9
10
-
<aid="disable-on-demand"></a>
10
+
<aid="keep-on-device"></a>
11
11
12
-
## Disable the On-Demand feature
12
+
## Disable Files On-Demand for Arduino files
13
13
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:
16
15
17
-

16
+
1. Go to the File Explorer and navigate to the "OneDrive" folder
18
17
19
-
3. Click on the settings icon and go to "Settings":
18
+

20
19
21
-

20
+
2. Right-click the folder and select **Always keep on this device**.
21
+
22
+

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

26
+
## Move Arduino IDE files to a non-OneDrive folder
26
27
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).
28
29
29
-

30
+
### Sketchbook
30
31
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:
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`
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`
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.
41
46
42
47
<aid="disable-backup"></a>
43
48
44
-
## Disable back up for the IDE location
49
+
## Disabling OneDrive back up
45
50
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:
47
52
48
53
1. Make sure that your internet connection is stable.
49
54
2. Open Microsoft OneDrive (look for the OneDrive icon inside the system tray at the bottom-right of the taskbar):
0 commit comments