Can't upload arduino code on the board due to some programmer issues

Check device manager; does COM5 disappear when you disconnect the Arduino?

Do the loopback test described near the top of this section of the forum. Result?