avrdude: ser_open(): can't open device "\\.\COM11": Access Denied

Hello I've gotten avrdude: ser_open(): can't open device "\.\COM11": Access Denied plenty of times now, I've tried changing COM in device manager and I've also tried different cable and when I don't get Access denied then I get can't read file.

I've been looking at multiple fourms and threads and I can't find a solution on those so if anyone have any suggestions how I might be able to fix it I'd appricate it very very much.

(deleted)