the power cable in usb might be shorted so the pc is restating as said try using friends cable of the same type and install usb driver properly, if probem still persists, then the culprit may be your pc try uing the cable with other pc hope problem may solve. good day.