I found the system requirements saying that it is compatible with Windows 10 not 11, but I can use ST-LINK on the windows11 system. However, I cannot run ST-LINK on a windows11 virtual machine with an M2 chip?
ST-Link variants are standard USB devices compatible with Windows in-box winusb driver, on any architecture. ST could publish clearer instructions considering ARM PCs and Win11.
If there is a driver installation error, please look in your C:\Windows\INF\setupapi.dev.log file.