Move Appdata for educational lab setup with roaming users

in the context of practical work, we have problems saving work..
Windows stations are configured in such a way that Windows profiles are deleted each time you log off.
As a result, the work saved in .arduinoIDa and the settings and downloads in appdata\roaming\arduino-ide are lost.
Students have a network disk H: which follows them from one session to the next.

How can they keep their work on the arduino ide?
I tried with the portable version of ide, it behaved the same way.

1 Like

Hi @lebrun22

Work is not saved in the %HOMEDRIVE%%HOMEPATH%\.arduinoIDE\ folder. This folder is only used to store configuration data.

It is true that includes any custom preferences the user set via the File > Preferences dialog.

Whether that is a problem would depend on how the students are using Arduino IDE. If they are using it in a structured manner, the default preferences might be sufficient, or else the system administrator might be able to set up a system that automatically adds whatever custom configuration is required by the course when the user's profile used for the session is generated.

If you are interested in doing the latter, I could provide some assistance in that.

Some internal configuration data is stored there. No downloads are stored there. The IDE will automatically generate the configuration data over again and nothing terribly significant is lost if you delete that folder.

Probably the only thing of concern is that on the first run after a fresh installation, Arduino IDE automatically installs the "Arduino AVR Boards" platform and some fundamental Arduino libraries if they are not already installed. The flag that tells it whether it already attempted that installation is part of the data stored in this folder. So if you delete the folder, Arduino IDE will attempt to install those things the next time you start it. If they are already installed, it will just skip the installations, but it does show some information about the installation attempt in the "Output" panel of the IDE, which maybe could be confusing to some students.

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