One of the most crazy , bad , high blood pressure error

avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Users\admin\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

     Using Port                    : COM4
     Using Programmer              : arduino
     Overriding Baud Rate          : 115200

avrdude: ser_open(): can't open device "\.\COM4": Access is denied.

avrdude done. Thank you.

Failed uploading: uploading error: exit status 1

thats really ......................

Which version of the IDE?
Which board? Original or clone?
Does the COM4 disappear from the IDE when you disconnect the board?
Any pointers in Windows device manager?

Your topic has been moved to a more suitable location on the forum. Please read the sticky topics in Uncategorized - Arduino Forum.

IDE 2.2.1
Arduino UNO
Original
no ports has seen in device manager just this port of arduino
i install driver so many times but could not fix
1

The port in the screenshot is not the port of an original Arduino Uno.

Does the port disappear when you disconnect the board?

yes it disappear and also when i connect arduino to another port , the port in arduino not change , just port 4 everytime

Antivirus blocking access?

The below would, in my opinion, result in a "port busy", not in an "access denied".

Do you have serial monitor open? Although I haven't heard of the "access denied" problem in combination with the CH340, it is worth a try closing the serial port.

Any other applications that can have that port open? E.g. a terminal program?

serial monitor was open solved