usb cable charges but does not connect

Have you tried un-installing ( not dis-enabling, thst’s something different) it in Device Manager, re-booting the computer, and plugging it in again?