Having issues to get the platform installed

Hi,

I am quite new with Arduino, I got an Arduino Uno already connected and was even able to compile code and upload it. Now with an Arduino MKR Zero Wifi 1010 I am having issues to get it working or better install the platform. When I tried (anyway if I use the administrator account or my own user) I get the following issue:

... snip
Failed to install platform: arduino:samd.
Error: 13 INTERNAL: Plattform konnte nicht installiert werden: installing platform arduino:samd@1.8.13: moving extracted archive to destination dir: rename C:\Users\stefan\AppData\Local\Arduino15\tmp\package-2427159355\ArduinoCore-samd C:\Users\stefan\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.13: Access is denied.

When I check at the filesystem I notice that files below Arduino15 folder are write protected and even when I try to unprotect it, it is impossible to reach that. Ah, nearly forgot to say, I am using Windows 11. Below find my IDE and CLI version:

Version: 2.0.1
Datum: 2022-10-27T13:26:40.924Z
CLI Version: 0.28.0 [06fb1909]

Copyright © 2022 Arduino SA

I hope anybody can help, I searched at google already but did not find solutions for it.

Thanks and kind regards

Stefan

Today a message at my IDE appeared that I can update the IDE. After I completed this, I was able to choose the board and install the "driver"! At the end I was able to connect to the board with this version:

Version: 2.0.2
Datum: 2022-11-17T11:54:56.612Z
CLI Version: 0.29.0 [76251df9]

Copyright © 2022 Arduino SA

Regards

Stefan

Thanks for taking the time to post an update @wolpi35. I'm glad it is working now.

This error was usually caused by the on access scanning by an antivirus software interfering with the installation process by having a lock on the file at the time the IDE was attempting to move it.

@rangercd contributed an awesome fix that makes Arduino IDE resilient to that condition. That fix was included in the Arduino IDE 2.0.2 release.

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