Com Port Access Denied Problem when trying to upload

HI,

I am using Arduino IDE on Windows 10. When I try to upload the Blink sketch from examples, it always give COM port access denied. I have tried with 2 different boards Uno R3 and Mega2560 R3. I tried using different USB cables. I tried changing the COM port no in Device Manager.

I can reset the board So I guess Bootloader is working fine.

Error Message

Arduino: 1.6.8 Hourly Build 2016/01/19 08:42 (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 1,066 bytes (3%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: ser_open(): can't open device "\.\COM3": Access is denied.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Please help.

Thanks

Perhaps you should get rid of the "hourly build" version and install the regular, tried-and-tested, version 1.6.7 of the IDE.
Hourly builds often have issues.
See vaclav's post here:- 21 January 2016 hourly won't compile - Installation & Troubleshooting - Arduino Forum

Hi

I had this problem and it was because the driver was looking at COM4 which was the other USB port and not COM 3

sorry if this is not the answer but mine was cured by just plugging the USB cable into COM4

regards

Steve

Hola amigo, lo que puedes hacer es irte al menú Tools y en la parte de Ports seleccionar el puerto COM donde está conectado tu arduino, después vuelve a tratar de cargar tu código.

You Have to change The com port from tools>Port>(It will show up in the exact port the arduino/Genuino connected with)