# Avrdude: ser\_open(): can't open device "\\\\.\\COM1": The system cannot find the file specified

**URL:** <https://forum.arduino.cc/t/avrdude-ser-open-cant-open-device-com1-the-system-cannot-find-the-file-specified/998730>\
**Category:** IDE 1.x\
**Created:** [June 2, 2022, 7:49pm UTC](https://forum.arduino.cc/t/avrdude-ser-open-cant-open-device-com1-the-system-cannot-find-the-file-specified/998730 "2022-06-02T19:49:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cor2](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cor2/32/264926_2.png) [@Cor2](https://forum.arduino.cc/u/Cor2)\
**Post date:** [June 2, 2022, 7:49pm UTC](https://forum.arduino.cc/t/avrdude-ser-open-cant-open-device-com1-the-system-cannot-find-the-file-specified/998730/1 "2022-06-02T19:49:34Z")

</div>

During uploading a sketch this message "avrdude: ser\_open(): can't open device "\.\COM1": The system cannot find the file specified." is often mentioned.  
It happened also when I was uploading a sketch to an Arduino UNO which was connected to an USB-3 port of a Windows 11 laptop.  
I saw in first instance that Tools-Port (Arduino-IDE) was greyed out.  
After some trials I found that connecting the Arduino UNO to the USB-2 port of the laptop was the solution. I now could select an USB port with Tools-Port. Only COM4 was available. Problem solved.  
Then after connecting an Arduino Nano to this USB-2 port of the Windows 11 laptop then COM1 and COM4 could be selected.  
After connecting again an Arduino Uno to that USB-3 port now it became possible to select a COM port. In this case COM4 only.  
Finally I connected an Arduino Nano to USB-3 and now COM1 or COM4 could be selected.  
Obviously a Nano is less critical than an Uno.  
Perhaps this experience may be useable/useful.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [November 29, 2022, 7:50pm UTC](https://forum.arduino.cc/t/avrdude-ser-open-cant-open-device-com1-the-system-cannot-find-the-file-specified/998730/2 "2022-11-29T19:50:12Z")

</div>

Closed on November 29, 2022, 7:50pm UTC

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