Uninstalled IDE. Deleted "C:\users\username\AppData\Local\Arduino15" folder. Reinstalled Arduino IDE in a folder that does not require admin access (I used Documents). In the "Arduino" folder I created a folder named "portable". Then opened the IDE, this creates a sketchbook inside the portable folder. Copied my programs over to that folder, re-installed my libraries I was using (which now install in the portable folder). And am now able to successfully compile and upload.
Hello all. I do research at a university and am using Arduino's for my research. Today, I was compiling / uploading fine, and then was informed there was an update (by the IDE). After I updated, I could no longer compile.
As of the most recent update, when compiling, I get the error:
fork/exec C:\Users\username\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.3-arduino2/bin/avr-g++.exe: This program is blocked by group policy. For more information, contact your system administrator.
Error compiling for board Arduino/Genuino Uno.
I contacted the system administrator and was told that .exe files are not able to run from AppData "since many viruses run from here - you need to copy the program to a different folder and run it from the new folder." So, how can I update the makefile or whatever needs updated for Arduino to know where to run the avr-g++ executable so I can get programs to compile? I can move the folder to wherever and have Admin access to this computer.
What I have tried: looking up how to do this, with no results. Uninstalling and reinstalling. Uninstalling and installing 1 version prior.
Thanks in advance.