This happened for the second time with the same ESP-32 board.
The first time I worked with the board without problems for a long time, then I decided to make a project on Arduino Cloud.
I found a sketch, uploaded it to the board via ArduinoIDE and created all the necessary Things and Devices.
Everything worked great and I decided to install the Arduino Create Agent to make working with sketches easier.
The program did not detect my board, although it was displayed in the COM ports. I tried reconnecting the board, and this time the board didn't show up anywhere at all.
I thought the controller had failed and ordered a new board of the same type. At first it also worked, but after doing the same actions as with the first board, it also stopped being detected in the computer.
That is, as soon as it came to Arduino Create Agent, the board stopped communicating via USB. But it worked on its own, transmitted data via Wi-Fi and the light was on. But now only charging comes from USB.
I tried reinstalling the driver, changing the cord, changing the computer, resetting via the RST button, but nothing helped at all.
Before the project in ArduinoCloud, the board worked for a long time and properly.