When plugging devices into the USB port, the USB devices are not detected, and when a phone is plugged in for charging normally, the phone does not charge!
There are several possible reasons that the USB ports on a system may not be working. This article recommends checking the more common causes such as BIOS settings first, and then covers a somewhat infrequently occuring circumstance involving print spooler settings:
Ensure USB is enabled in BIOS
Try doing a reset factory default on BIOS.
If problem persist follow step provided below
Search for Services
Open the Services application
Search for Print Spooler and ensure that the Startup Type is set to Automatic.