Chosen Solution
all usb ports not working , i can not use mouse or keyboard
On almost every desktop PC, there is a connector that hooks all of the USB ports to the board.
It looks like this, or similar. Check that it is connected. Also, if you are using a wireless keyboard/mouse combo, check that they are working and that there is a fresh battery in each, as they often share 1 USB connector.