If using a corporate pc, it security may prohibit usb memory storage class. Mbed boards or rpi pico wouldn't work as well if thus is the case. I think STLink has 2 driver versions, ine with mass storage disabled. Try it to compare. As it is a composite device pc allows all ar none....