Port monitor error: command 'open' failed: Invalid serial port. Could not connect to COM serial port

Yes, when I disconnect the board the ports disappear but it should disappear when nothing is connected, right?

I am using clone with CH340. Although there is nothing written on the component the driver says CH340.

I also tried to use old computer with Windows 10 and everything works. Computer recognise the COM port, can connect and I am able to upload. So it is something with the computer but I don't really know. I am using Windows 11.