usb cable charges but does not connect

It’s not possible to un-install it in device manager, because it needs to be plugged into the computer and recognized in order to remove the driver.