I assume you mean you have an ESP32 development module that has a USB port that, when connected to your PC, Windows 11 Device Manager doesn't recognize it?
If that's the case, your ESP32 module uses a particular USB to UART bridge chip and Windows 11 may not have a native driver for it. Check your device manager for an unknown device when you plug it in and search for the driver. In my case, I use the ESP32 Pico Devkit and it uses
CP210x USB to UART Bridge so Windows 11 needs a driver for that particular chip. That may or may not be the one your module uses. You need to check.