I was hoping to get a reply earlier, but since I didn’t, I want to leave a note for anyone else facing the same issue with the ESP32 on Windows 11. I am using this module
https://www.theengineeringprojects.com/2020/12/esp32-pinout-datasheet-features-applications.html . For driver installation, ensure you download the correct drivers: CP210x USB to UART Bridge VCP drivers from Silicon Labs or CH340 drivers from WCH.cn, depending on your board. After installation, check Device Manager under "Ports (COM & LPT)" to see if the ESP32 appears as a COM port. If not, try reinstalling the drivers, using a data-capable USB cable, or running the driver installer in compatibility mode for Windows 10. Testing with the Arduino IDE can also confirm whether the drivers and board are working. I hope this helps anyone encountering the same issue! I learn some points about the Arduino IDE through the study and saw some tutorials online.