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
+48-24Lines changed: 48 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,42 +3,66 @@ title: "Arduino IDE won't open; The cloud file provider is not running"
3
3
id: 360021557299
4
4
---
5
5
6
-
If the Arduino IDE doesn't start on Windows (the initialization window appears and disappears without showing any error message or warning), try running `arduino_debug.exe` from the Command Prompt. The `arduino_debug.exe` is located in the Arduino installation folder, which is in C:\Program Files (x86)\Arduino\ by default.
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
-
1. Press Win+R.
8
+
---
9
9
10
-
2. Type in 'cmd' and press enter.
10
+
<aid="keep-on-device"></a>
11
11
12
-
3. Navigate to the installation folder with the `cd` command.
12
+
## Disable Files On-Demand for Arduino files
13
13
14
-
```
15
-
cd <path>
16
-
```
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:
17
15
18
-
You may be able to copy the path into CMD by dragging the folder onto the CMD window.
16
+
1. Go to the File Explorer and navigate to the "OneDrive" folder containing your sketchbook (e.g. `OneDrive\Documents\Arduino`).
19
17
20
-
4. Run the executable.
18
+

21
19
22
-
```
23
-
arduino_debug.exe
24
-
```
20
+
2. Right-click the folder and select **Always keep on this device**.
25
21
26
-
5. Observe the output. If you happen to get the following message
22
+

27
23
28
-
```
29
-
java.io.IOException: The cloud file provider is not running
30
-
```
24
+
<aid="move-ide-files"></a>
31
25
32
-
there is most likely a problem with the OneDrive On-Demand synchronization. Proceed with the steps below.
26
+
## Move Arduino IDE files to a non-OneDrive folder
33
27
34
-
## Arduino IDE and Microsoft OneDrive On-Demand
28
+
You can also move Arduino IDE files to a folder not synced with OneDrive (note that the files will not be backed up).
35
29
36
-
The OneDrive On-Demand feature can result in essential files not being available or synchronized, which can stop the IDE from working.
30
+
### Sketchbook
37
31
38
-
---
32
+
1. Open Arduino IDE.
33
+
2. Go to **File > Preferences**.
34
+
3. Change the sketchbook location to a folder not synced with OneDrive.
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.
46
+
47
+
<aid="disable-backup"></a>
48
+
49
+
## Disabling OneDrive back up
50
+
51
+
If you don't want to use OneDrive to back up a specific folder, you can disable it by following the next steps:
52
+
53
+
1. Make sure that your internet connection is stable.
54
+
2. Open Microsoft OneDrive (look for the OneDrive icon inside the system tray at the bottom-right of the taskbar):
55
+
56
+

57
+
58
+
3. Click on the settings icon and go to "Settings":
59
+
60
+

61
+
62
+
4. Go to "Sync and back up" and click on "Manage back up":
63
+
64
+

39
65
40
-
There are numerous ways to fix this issue.
66
+
5. Disable the back up option for the folder containing Arduino IDE and click "Save changes":
41
67
42
-
* Disable On-Demand for the IDE location.
43
-
* Install the IDE somewhere else (that does not have On-Demand enabled).
44
-
* Using the portable version will make the above easier, as it's all contained in one folder. But if that folder has On-Demand enabled, there could still be issues.
68
+

0 commit comments