If you're sure its the hardware having issues it will require opening the actual laptop and doing fine soldering work on the board itself to the connection points for your ports. Not recommended. Try messing with your drivers first.
Check in the device manager and make sure all the ports are in working order. If they are make sure the proper driver is installed for the motherboard. If it is, attempt to do all the windows updates for the operating system. The software may be messing up.
First make sure the problem is not with the USB device, by seeing if it works on another computer. If you have a "write-only tab", push it into an unlocked position. Go into device manager and update your drivers.