ESP32-DevKitC Error 2

I am trying to learn to use an ESP32-WROOM-32E board I just received. I installed the board in the IDE and a Blink sketch seems to compile OK but when upload is tried I get:

A fatal error occurred: Could not open COM5, the port is busy or doesn't exist.
(could not open port 'COM5': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2))

Hint: Check if the port is correct and ESP connected
esptool v5.1.0
Serial port COM5:

Failed uploading: uploading error: exit status 2

Does anyone know what I should do?

I'm not an ESP32 user so I can't be of much help.

  1. Does COM5 disappear from the IDE if you disconnect the board? If not, it's not your board.
  2. What does Windows device manager think of your board?
  3. If serial plotter and/or serial monitor are open or any other application is using the port, close them.

Post the complete verbose upload log in code tags.
Post a screen grab of the board and port selector like this